Hello everybody,
I'm programming a webpage, and I currently have some problems, of which I would like to share one with you
The problem is that I'd like to have one
servlet which processes all requests. Not really a problem, but I wanted to use a servlet mapping for this. The web.xml looks something like this (btw, I'm using Jrun 3.1):
Now if I type
http://localhost/index.html, my servlet grabs this request, and if I do a System.out on request.getRequestURI(), it prints out: /index.html. Exactly what I expected, and exactly according to plan.
Now, the problem is, I'm (almost) not working with html, but with
jsp. But if I access (e.g.) index.jsp on my localhost (so I type:
http://localhost/index.jsp) my servlet does NOT grab the request. No system.out, nothing.
I have really no idea why this happens, and now my head hurts, and the only smart thing I could come up with was posting my question here. So if you please could help me, it would really save me on the medication.
Thanks for your help,
Greetings, Erik
[ November 14, 2002: Message edited by: Erik Pragt ]
[ November 14, 2002: Message edited by: Erik Pragt ]