« Return to Thread: Struts 2 Plug-in and JSP 404

Re: Struts 2 Plug-in and JSP 404

by Musachy Barroso :: Rate this Message:

Reply to Author | View in Thread

Or if you are very brave, and using java 6, you can use jasper to
compile the jsp to java, then use the java api compile to compile to a
class file, load it and then execute it, but yeah FreeMarker would be
easier :)

musachy

On Thu, Jul 9, 2009 at 1:06 PM, Dale Newfield<dale@...> wrote:

> stanlick wrote:
>>
>> However, for a plug-in to be a drop-n-go deal, I sort of think the goods
>> should all be in the plug-in jar itself?  Make sense?
>
> Agreed, but I believe I've been told that can't be done with jsp templates.
>  This is why plugins that I've seen have been implemented in freemarker.
>
>> I was looking at this
>> article, and it appears this cat has a JSP working in his plug-in?
>>
>> http://www.struts2.org/category/struts2-plugins/
>
> I downloaded that zip, and looked inside the .jars:  no .jsps.
>
>> The reason for this plug-in is to eliminate a couple pages of
>> configuration
>> steps for the adopter of my application.  I'd rather not say just drop the
>> plug-in in your WEB-INF/lib folder and then copy JSP files here...
>
> I'm simply reporting hear-say here, but I believe you've already hit the
> roadblock that'll prevent you from getting farther w/o using a different
> template engine.
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
>



--
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: Struts 2 Plug-in and JSP 404