This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

jsp with servelet execution in tomcat

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
reply
    Bookmark Topic Watch Topic
  • New Topic