----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Do you have all the needed package directories in your repository directory?
You can't just compile javaservlets/examples/Hello.java and put it in
the root of the repository, it must be in (repository
root)/javaservlets/examples.
- Fernando
>
> Version: Apache Jserv 1.1.2 in Windows 98.
> Problem: Could not access servlets with a package name.
>
> Detail Description: For example, if I have a servlet Hello.class without
> a package name in the servlets folder, I can access the servlet by
> http://mymachine/servlets/Hello.
>
> However, if a package name such as javaservlets.examples is added into
> the Hello.java and recompile and put the new Hello.class in my servlets
> folder. I can not access the servlet by http://mymachine/servlets/Hello.
> A not found message appears in my browser. According to the Jserv
> documentation, the servlet should be accessed by
> http://mymachine/servlets/javaservlets.examples.Hello. However, this
> still does not work (Not Found message appears).
>
> Anybody has the same experience? what should I do to make the servlets
> with package name to accessible in my Jserv 1.1.2? Your response is
> greatly appreciated.
>
> Boshu Liao
> GA Tech
>
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]