Devam Ediyor

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

Beceriler: J2EE, Java

Daha fazlasını görün: writing world, writing file java, java writing file, at just, servlets java, web java servlet, test applications, servlets, servlet, reto, infos, in world, hello world, find inf, fedora, excellent web world, ch, world server, running error, xml quot, add opt, java configuration, find files directory, realized, please sdk directory

İşveren Hakkında:
( 0 değerlendirme ) Sirnach, Switzerland

Proje NO: #188996

Seçilen:

skipper13

It's easy. Can you give me java source and web.xml?

0 gün içinde 30$ USD
(0 Değerlendirme)
0.0

3 freelancer bu iş için ortalamada 30$ teklif veriyor

innovativeWork

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

1 gün içinde 30$ USD
(23 Değerlendirme)
5.5
synergicware

Hi, I checked the url you have provided, and I found the error you have is related with your web.xml file. Your are saying the servlet class is: test.HelloServlet but your servlet class really is: test.HelloWorld. Daha fazlası

1 gün içinde 30$ USD
(0 Değerlendirme)
0.0