I gang

Just a "Hello, World for Servlet"

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 "default-web.xml" 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 [url removed, login to view]):

WEB-INF/

WEB-INF/[url removed, login to view]

WEB-INF/classes

WEB-INF/classes/test

WEB-INF/classes/test/[url removed, login to view]

WEB-INF/classes/test/[url removed, login to view]

Please get some additional infos on

[url removed, login to view]%21java#Servlet

Thank you.

--reto

Evner: J2EE, Java

Se mere: writing world, writing to a file java, writing to a file in java, writing classes, java writing to a file, at just, servlets in java, world, web java servlet, test applications, servlets, servlet, reto, infos, in world, hello world, find inf, find files in directory, fedora, excellent web world

Om arbejdsgiveren:
( 0 bedømmelser ) Sirnach, Switzerland

Projekt ID: #188996

Tildelt til:

skipper13

It's easy. Can you give me java source and [login to view URL]

$30 USD in 0 dage
(0 bedømmelser)
0.0

3 freelancere byder i gennemsnit $30 på dette job

innovativeWork

Can be done. Please read PMB message for more details. Thank you.

$30 USD på 1 dag
(23 bedømmelser)
5.5
synergicware

Hi, I checked the url you have provided, and I found the error you have is related with your [login to view URL] file. Your are saying the servlet class is: [login to view URL] but your servlet class really is: test.HelloWorld. Flere

$30 USD på 1 dag
(0 bedømmelser)
0.0