Re: action mapping as /do/* rather than *.do

2001-12-05 Thread Barry L. Kline
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

Re: action mapping as /do/* rather than *.do

2001-12-05 Thread Barry L. Kline
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!

Re: action mapping as /do/* rather than *.do

2001-12-05 Thread Barry L. Kline
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

JSPs under WEB-INF/pages/ -- how to include in WAR file using ANT?

2002-01-15 Thread Barry L. Kline
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:

Re: JSPs under WEB-INF/pages/ -- how to include in WAR file usingANT?

2002-01-15 Thread Barry L. Kline
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/