Re: How to do this servlet-mapping?

2001-03-21 Thread Fejes Balazs
Probably you should use /images/app/ball.gif Balazs I've tried using the servlet-mapping of /app/* and pointing this to the servlet. While this makes requests go to the servlet, if, within that servlet, I try to get a request dispatcher to /app/ball.gif and forward there, I get

How to do this servlet-mapping?

2001-03-20 Thread Gerald
Here's a challenge. It was for me. For all URLs that start with /app (e.g. /app/login, /app/mainmenu, /app/ball.gif), have all requests go to a servlet for processing. If the servlet recognizes the URL, perform an action and return the appropriate output. If the URL is not recognized, treat the

Re: How to do this servlet-mapping?

2001-03-20 Thread Tim Endres
Why not have your servlet "forward" any request that it does not recognize to another namespace. In other words, using your example, you would forward "/app/ball.gif" to "/images/ball.gif", thus eliminating the "/app" mapping. tim. I've tried using the servlet-mapping of /app/* and pointing