This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Servlets and the fly likes JSP Servlet Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP Servlet Problem" Watch "JSP Servlet Problem" New topic

JSP Servlet Problem

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Hello All,
I have logon.jsp in c:\jakarta-tomcat\webapps\examples\jsp\
and 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">
Kapil Agrawal

Joined: Nov 03, 2000
Posts: 11
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:
subject: JSP Servlet Problem
jQuery in Action, 3rd edition