I have taken to heart everyone's suggestions and have placed my JSPs
under the
WEB-INF/pages directory. So far, no problem. When I use ANT's war
task I can't
seem to get the directory structure to remain intact.
e.g.:
WEB-INF/pages/mypage.jsp
WEB-INF/pages/mypage2.jsp
becomes:
Jeff Oberlander wrote:
You need to move your input directory up a level like:
webinf dir=${deploy.home}/WEB-INF/ /
If that upper dir has extra things you don't want in the distribution, use
includes:
webinf dir=${deploy.home}/WEB-INF/
include name=pages/*.jsp/
Did you ever figure out how to do this? I have seen many messages
about how great it is to use /do/ but haven't seen anyone mention how
to. I'm just starting with struts and have been modifying Ted's
sample (this same thing) but I'm been unable to get anything back from
the browser but a blank
Matt Raible wrote:
I did convert the struts-example to use this mapping. It can be found at
http://www.icsynergy.com/downloads/index.html#struts-example
Online documentation can be found at
http://www.icsynergy.com/downloads/struts/strutsHowTo.html
Hope this helps.
Matt
Thanks!
Matt Raible wrote:
I did convert the struts-example to use this mapping. It can be found at
http://www.icsynergy.com/downloads/index.html#struts-example
Online documentation can be found at
http://www.icsynergy.com/downloads/struts/strutsHowTo.html
Hope this helps.
Matt
I
5 matches
Mail list logo