Article:
  Deploying Web Applications to Tomcat
Subject:   problem with accessing servlets in subfolders
Date:   2003-05-26 02:33:42
From:   anonymous2
Response to: problem with accessing servlets in subfolders

Do you have your directory structure under classes declared as a package in your java class?


In your example, you should have the classes under cal being devlared as a package called cal.


I hope this helps. Good luck.

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • problem with accessing servlets in subfolders
    2003-05-26 03:38:32  anonymous2 [View]

    hi,

    thank u for the reply.

    yes, the package is declared in the java program. even then i am not able to run the built in examples of tomcat and in all the examples, packages has been declared.

    is there anything to do with web.xml where u have to add <servlet-mapping>.

    thanking u

    santy (santosh_b_p@yahoo.com)