You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Musachy Barroso <mu...@gmail.com> on 2009/08/05 02:16:24 UTC

Re: Struts 2 Plug-in and JSP 404

You might want to take a look at this:

http://cwiki.apache.org/confluence/display/S2PLUGINS/Embedded+JSP+Plugin

fresh from the oven, early adopters wanted ;)

musachy

On Thu, Jul 9, 2009 at 1:11 PM, stanlick<st...@gmail.com> wrote:
>
> Thanks brother!  Do you know of a decent JSP ---> Freemarker converter? I
> sort of wondered why the config-browser plug in was using Freemarker.  It
> really sucks when something like this rears it ugly head and brings
> productivity to a screeching halt!
>
> P.S. And I really thought I was going to have time this evening for that
> Harley ride up the river road!
>
> Peace,
> Scott
>
>
> DNewfield 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@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
> :rules::rules:%-|%-|%-|
> --
> View this message in context: http://www.nabble.com/Struts-2-Plug-in-and-JSP-404-tp24415564p24417005.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



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

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


Re: Struts 2 Plug-in and JSP 404

Posted by Musachy Barroso <mu...@gmail.com>.
yes, it is intentionally not documented as we don't want people to
experiment with it much, but xwork will sort the plugins according to
the "order" attribute, the default is Integer.MAX_VALUE.

musachy

On Wed, Aug 5, 2009 at 8:28 AM, Wes Wannemacher<we...@wantii.com> wrote:
> Yeah, I can't remember when it was added, but the 'struts' element in
> struts-plugin.xml can take an attribute called 'order'
>
> Take a look at the osgi and convention plugin, they are the only two
> using it... But, I think they were the problem before, OSGi needed to
> be loaded before convention for the two to work together properly.
>
> -Wes
>
> On Wed, Aug 5, 2009 at 11:16 AM, Dale Newfield<da...@newfield.org> wrote:
>> Musachy Barroso wrote:
>>>
>>> You might want to take a look at this:
>>>
>>> http://cwiki.apache.org/confluence/display/S2PLUGINS/Embedded+JSP+Plugin
>>>
>>> fresh from the oven, early adopters wanted ;)
>>
>> Did we ever come up with a way to order the loading of plugins so that
>> interdependencies can be properly resolved?  I.E.:  Can one write a plugin
>> that uses the capabilities of this plugin and ensure that it will be loaded
>> only after the dependency?
>>
>> -Dale
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>
>
> --
> Wes Wannemacher
>
> Head Engineer, WanTii, Inc.
> Need Training? Struts, Spring, Maven, Tomcat...
> Ask me for a quote!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



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

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


Re: Struts 2 Plug-in and JSP 404

Posted by Wes Wannemacher <we...@wantii.com>.
Yeah, I can't remember when it was added, but the 'struts' element in
struts-plugin.xml can take an attribute called 'order'

Take a look at the osgi and convention plugin, they are the only two
using it... But, I think they were the problem before, OSGi needed to
be loaded before convention for the two to work together properly.

-Wes

On Wed, Aug 5, 2009 at 11:16 AM, Dale Newfield<da...@newfield.org> wrote:
> Musachy Barroso wrote:
>>
>> You might want to take a look at this:
>>
>> http://cwiki.apache.org/confluence/display/S2PLUGINS/Embedded+JSP+Plugin
>>
>> fresh from the oven, early adopters wanted ;)
>
> Did we ever come up with a way to order the loading of plugins so that
> interdependencies can be properly resolved?  I.E.:  Can one write a plugin
> that uses the capabilities of this plugin and ensure that it will be loaded
> only after the dependency?
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

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


Re: Struts 2 Plug-in and JSP 404

Posted by Dale Newfield <da...@newfield.org>.
Musachy Barroso wrote:
> You might want to take a look at this:
> 
> http://cwiki.apache.org/confluence/display/S2PLUGINS/Embedded+JSP+Plugin
> 
> fresh from the oven, early adopters wanted ;)

Did we ever come up with a way to order the loading of plugins so that 
interdependencies can be properly resolved?  I.E.:  Can one write a 
plugin that uses the capabilities of this plugin and ensure that it will 
be loaded only after the dependency?

-Dale

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