File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Servlet Problem

 
Dilip kumar
Ranch Hand
Posts: 360
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I have logon.jsp in c:\jakarta-tomcat\webapps\examples\jsp\
and VerifyUser.java and VerifyUser.class ( servlet ) in c:\jakarta-tomcat\webapps\examples\web-inf\classes
I deleted VerifyUser.class from the above folder and clicked on the submit button in JSP. Strange... It's still loading servlet and displaying latest data entered in JSP screen. What could be the reason ? Hidden copy of class file ?
Below is the code from JSP to call servlet.
<form method="post" name="logon" action="http://localhost:8080/examples/servlet/VerifyUser">
Thanks
 
Kapil Agrawal
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The server loads all the servlets at initialization and your server might already have an old copy of class file. Restart the server and try again.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic