----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

All my servlets work 'out of the box' when they are 'standalone' and
 >placed in the
 >'servlets' directory. Now I am trying to execute a servlet(s) that was
 >developed as a package.
 >I've tried adding the external directory structure to the
 >'repositories' to no avail. I placed the folder
 >with the same name as the package (ServletTest1) into the 'servlets'
 >directory (the desired servlet is in that folder). Whether
 >attempted with a simple browser text box entry or an HTML page (FORM tag)
 >the servlet
 >inside 'ServletTest1' is never found. I have this structure on Win
98:
 >
 >c:\Apache\Apache JServ 1.1b3\servlets\ServletTest1\MainServlet
 >
 >
 >MainServlet has a package statement....Package ServletTest1....as its
first
 >code line
 >
 >I set my browser to http://localhost/servlets/ServletTest1.MainServlet
or
 > http://localhost/servlets/MainServlet
 >or
 > http://localhost/servlets/ServletTest1/MainServlet or
 >
 >any other combination I can think of. Apache always returns 'not found'
for
 >the 'MainServlet' (or 'ServletTest1' if that is in the path ahead of
 >'MainServlet' in the URL).
 >What is the secret to reaching a 'packaged' servlet.
 >



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to