I have made a default installation of the Sun Java System Application Server 9.1 (on Fedora 5) to start writing Servlets - that worked excellent so far.
I need a running Hello World example of a Servlet. I think it's only a question of correct configuration in one the files of the directory /opt/SDK/domains/domain1/config/.
I realized so far I could add <servlet...> tags within the file [b]"default-web.xml"[/b] but then the server doesn't find the class file and an error 404 is the result.
At the "applications/" directory I have created these files (Saw this path in domain.xml):
WEB-INF/
WEB-INF/web.xml
WEB-INF/classes
WEB-INF/classes/test
WEB-INF/classes/test/HelloWorld.java
WEB-INF/classes/test/HelloWorld.class
Please get some additional infos on
http://www.infocopter.ch/index.php/%21java#Servlet
Thank you.
--reto
[Message sent by forum member 'reto2k7' (reto2k7)]
http://forums.java.net/jive/thread.jspa?messageID=241859