In Progress

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

Taidot: J2EE, Java

Näytä lisää: 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

Tietoa työnantajasta:
( 0 arvostelua ) Sirnach, Switzerland

Projektin tunnus: #188996

Myönnetty käyttäjälle:

skipper13

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

$30 USD 0 päivässä
(0 Arvostelua)
0.0

3 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

innovativeWork

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

$30 USD 1 päivässä
(23 arvostelua)
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. Lisää

$30 USD 1 päivässä
(0 arvostelua)
0.0