It is a limitation on the JSP API, you can't embed them. You will have to use FreeMarker or Velocity or any other decent template lib.
musachy On Thu, Jul 9, 2009 at 12:47 PM, stanlick<stanl...@gmail.com> wrote: > > Thanks Dale -- > > I hear what you are saying, and this seemed a little foreign to me too! > 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? 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/ > http://www.struts2.org/category/struts2-plugins/ > > 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... > > Peace, > Scott > > > > DNewfield wrote: >> >> 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: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >> > > -- > View this message in context: > http://www.nabble.com/Struts-2-Plug-in-and-JSP-404-tp24415564p24416650.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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 carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org