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
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
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
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/
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
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