| Author |
Redirect *.jsp to custom servlet?
|
Rick Beaver
Ranch Hand
Joined: Dec 14, 2004
Posts: 464
|
|
Hi All calls to *.faces are working OK with Faces Servlet. If a client requests a JSF jsp directly (with .jsp instead of .faces) the server shows an exception stack trace. What I want to do is to send all direct requests to jsp to an error servlet. The problem I have is that when I set up a servlet mapping in the web.xml file I am redirected to my Error Servlet even when calling a file with the .faces extension. Has anyone done anything similar or know of a way around this? Many thanks
|
ph34r my 133t j4v4 h4><0r1ng sk177z
|
 |
Varun Khanna
Ranch Hand
Joined: May 30, 2002
Posts: 1400
|
|
|
Can you show your web-xml file to know how are you managing URL mapping.
|
- Varun
|
 |
 |
|
|
subject: Redirect *.jsp to custom servlet?
|
|
|