Re: Struts 2 Plug-in and JSP 404

2009-08-05 Thread Musachy Barroso
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 wrote: > Yeah, I can't remember when it was add

Re: Struts 2 Plug-in and JSP 404

2009-08-05 Thread Wes Wannemacher
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 th

Re: Struts 2 Plug-in and JSP 404

2009-08-05 Thread Dale Newfield
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 resolv

Re: Struts 2 Plug-in and JSP 404

2009-08-04 Thread Musachy Barroso
u from getting farther w/o using a different >> template engine. >> >> -Dale >> >> ------------------------- >> To unsubscribe, e-mail: user-unsubscr...@stru

Re: Struts 2 Plug-in and JSP 404

2009-07-12 Thread musomesa
: Struts 2 Plug-in and JSP 404 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 p

Re: Struts 2 Plug-in and JSP 404

2009-07-09 Thread stanlick
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > > > -- > "Hey you! Would you help me to ca

Re: Struts 2 Plug-in and JSP 404

2009-07-09 Thread stanlick
> -Dale > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > :rules::rules:%-|%-|%-|

Re: Struts 2 Plug-in and JSP 404

2009-07-09 Thread Musachy Barroso
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 wrote: > stanlick wrote: >

Re: Struts 2 Plug-in and JSP 404

2009-07-09 Thread Musachy Barroso
t be in the file system, not in jars. >> >> -Dale >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >

Re: Struts 2 Plug-in and JSP 404

2009-07-09 Thread Dale Newfield
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.

Re: Struts 2 Plug-in and JSP 404

2009-07-09 Thread stanlick
n the file system, not in jars. > > -Dale > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: h

Re: Struts 2 Plug-in and JSP 404

2009-07-09 Thread Dale Newfield
stanlick wrote: I am working on a plug-in that needs to display a JSP. The folder "pages" is in the root of my config-plugin.jar I believe jsp files must be in the file system, not in jars. -Dale - To unsubscribe, e-mail:

Struts 2 Plug-in and JSP 404

2009-07-09 Thread stanlick
config.jsp Peace, Scott -- View this message in context: http://www.nabble.com/Struts-2-Plug-in-and-JSP-404-tp24415564p24415564.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscri