Servlet/package Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elsheh
    New Member
    • Nov 2006
    • 29

    #1

    Servlet/package Problem

    I am trying to develop JavaServlet application using Apache Tomcat server. My application consists of two servlets and Java class for pooling connection. I need to include all my servlets in the same package (let’s call it, proj). The task of the first servlet is to build up an Web HTML form for gathering data. The second servlet does validation and store entry data to Database.
    The problem is:
    At first call for first servlet the application is running perfect.
    At further calls to the first class, and this stage whatever changes I apply to the second servlet, these changes don’t affect the second servlet at all. The strange thing is that, if even I delete the second servlet form my machine the application still running keeping the first image of the second servlet.

    Excluding the second servlet from the package proj will eliminate this problem immediately, but I still need to keep all my servlets and Java classes in the same package.

    Any help is appreciated in advance.
Working...