Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp with servelet execution in tomcat

 
dhanil das
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hiii , this is ma jsp code , "Authentication.jsp"


This is ma java code "Authentication.java"



This is ma xml file "web.xml"



I have stored the "Authentication.jsp" and "web.xml" under "JSPMultipleForms" folder, which is under "webapps" folder
The class file stored in the "classes" folder which is under "JSPMultipleForms".

url used for runninng is "http://localhost:8080/JSPMultipleForms/Authentication.jsp" , when i press the "check button" i got these errors

HTTP Status 404 - /JSPMultipleForms/Authentication5

type Status report

message /JSPMultipleForms/Authentication5

description The requested resource (/JSPMultipleForms/Authentication5) is not available.

Apache Tomcat/6.0.20

Please help me how to solve this hurdle....
 
dhanil das
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got the solution now

"classes" folder and "xml" file stored under "WEB-INF" which is under "JSPMultipleForms"

"Authentication.jsp" stored under "JSPMultipleForms" folder

use the url "http://localhost:8080/JSPMultipleForms/Authentication.jsp"

perfect it's working now .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic