General discussion

Locked

calling a servlet which is in different war same server

By chakri.se ·
i have two servlets which are in different wars of tomcat webapp folder.
Iam using request dispatcher's include and forward methods to call the servlet which is in another war.
But it is not working. can any one help me.give me samples.
Thank u in advance....

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Comments

Collapse -

by Lyun In reply to calling a servlet which i ...

I guess You are using request.getRequestDispatcher, which takes an url argument that must begin with a "/" and represents a path within the !!current servlet context!!. IMO try response.sendRedirect instead.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums