Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Flow Problem

 
tejaswini vasist
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a login page..this calls a servlet for processing,then it loads another JSP page say welcome page..this again has to call another servlet which in turn has to load another JSP.But after the welcome page..it gives me server error ..the path seems to have an additional /servlet
i call the servlets as
action:servlet/package name.servlet-class name

Any idea wot the problem is?
 
VermaJitendra Verma
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check wether the the servelt has been deploye in the required contianer. Or u can define other container context for that so that the next sevlet can call the servelt context that you are calling
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so remove the /servlet/ from the call and it should work.
The call is relative to the base URI which already have /servlet/ in it.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic