Hi,

I have an ugly situation. I have to inject some code of mine into an
existing spring mvc webapp. The code is a filter which reacts on some
urls and forwards to a jsp for presentation. The application has a
spring dispatcher servlet foo which is mapped to /*.

My problem is following:
my filter grabs the request and does some stuff.
afterwards it forwards the request to the jsp page:
req.getRequestDispatcher(forward.getPath()).forward(req, res);
where forward.getPath returns the absolute path to the jsp on disk
(from the webroot):
/net/java/dev/moskito/webui/jsp/Producers.jsp
now the request is processed by the servlet engine and is grabed by
the spring dispatcher with an error:

no mapping for context/net/java/dev/moskito/webui/jsp/Producers.jsp

is there any way to prevent this, maybe by calling the jsp servlet
directly? I know it wouldn't be nice, but i need a solution quickly,
and it can be as dirty as mud.

thanx in advance
Leon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to