RE: Virtual Files

2003-10-31 Thread Silviu Marcu
In my opinion you have several choiches: - map a filter / servlet ON the url that cover the folder containing the files Or - map a struts action on that url In the filter / action you can process the request as you want. -Original Message- From: Duncan [mailto:[EMAIL PROTECTED] Sent: 3

Re: Virtual Files

2003-10-31 Thread Rodrigo Ruiz
Try to create a servlet-mapping in your web.xml that directs all requests in a directory to your servlet / JSP. For example, if you put: VirtualFileServlet /vfiles/* All URLs beginning with [context]/vfiles will be redirected to the VirtualFileServlet. Consult the servlet specification for

RE: Virtual Files

2003-10-31 Thread jakarta
You can set up mappings to jsp pages org.apache.jps.MyPage_jsp org.apache.jps.MyPage_jsp org.apache.jps.MyPage_jsp /some/dir/you/would/like/to/use/* Any page called from /some/dir/you/would/like/to/use/ Ie /some/dir/you/would/like/to/use/itwor

Re: Virtual Files

2003-10-31 Thread Rodrigo Ruiz
Well, if you don't precompile JSPs,there is another way to map a JSP: MyServlet /MyPage.jsp jakarta wrote: You can set up mappings to jsp pages org.apache.jps.MyPage_jsp org.apache.jps.MyPage_jsp org.apache.jps.MyPage_jsp /some/dir/you/would/like/to/

Re: Virtual Files

2003-10-31 Thread Christopher Schultz
jakarta, org.apache.jps.MyPage_jsp org.apache.jps.MyPage_jsp Unfortunately, this is pretty container and version-specific. -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: Virtual Files

2003-11-03 Thread Duncan
Thanks guys - works great. Rodrigo Ruiz wrote: > Well, if you don't precompile JSPs,there is another way to map a JSP: > > > MyServlet > /MyPage.jsp > > > jakarta wrote: > > >You can set up mappings to jsp pages > > > > > >org.apache.jps.MyPage_jsp > >org.apache.jps.MyPa