|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Why the heck won't this servlet mappinbg work?
Hi all,
I've got a J2EE app with a single Controller servlet, many JSPs and a fair number of helper Java classes. All works fine, except for this. In the web.xml, I map all URL's of the pattern "*.blt" to the controller servlet. However, when i try to request a .blt page, I only get a 404. Originally, this mapping was used to map all requests for "*.html" to the same servlet, and all worked great. I've recompiled all my classes and redeployed the application, restarted the server (ias 6.5), but no luck. Any ideas? |
|
#2
|
|||
|
|||
|
We need to see the web.xml and the exact link you are trying to request.
Also, are you positive the 404 is for the controller servlet or is the servlet throwing a 404 error when it tries to include say another file? |
|
#3
|
|||
|
|||
|
It never fails. As soon as I post a problem, I solve it!
In this case, the IAS web server (actually a unix box with a IAS web connector installed) needed to be rebooted. It was caching the old web.xml, so the new file extension wasn't being dealt with properly. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Why the heck won't this servlet mappinbg work? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|