Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet inside of jsp

 
diana
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I need help in invoking a servlet class from jsp.
I am using weblogic 5.1, I registered my servlet in a weblogic.property file with a virtual name.
I was trying to use
<jsp:forward page="/servlets/package name/UserAuthorization1" >
and it gives me HTTP 400 Error,
I was trying to use
<jsp:forward page="http:ip address/virtual name/server name.servlet">
(in IIS server we specified servlet as extension for servlets)
and it still does not work.
Any help will be appreciated.
Thanks
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"diana",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic