permaculture playing cards*
The moose likes JSP and the fly likes jsp with servelet execution in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp with servelet execution in tomcat" Watch "jsp with servelet execution in tomcat" New topic
Author

jsp with servelet execution in tomcat

dhanil das
Greenhorn

Joined: Sep 04, 2009
Posts: 7
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

Joined: Sep 04, 2009
Posts: 7
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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp with servelet execution in tomcat
 
Similar Threads
authentication page
Login Servlet
problem with inserting data using Jsp and Servlet
404 file not found error
How to call the servlet without form action