dcsimg
i need a info for running a servlet
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ramesh_Kumar
Posted On:   Saturday, November 30, 2002 05:42 AM

how to run a servlet program using jsdk and jws?
for example if we have a codings in (D:/foldername/filename)
then how to run a servlet .please send me a reply.
thanku
by .
ramesh

Re: i need a info for running a servlet

Posted By:   Alex_Chaffee  
Posted On:   Wednesday, December 4, 2002 04:54 PM

RTFM.


By the way, I would advise against JSDK and JWS. Use Tomcat instead.

Re: i need a info for running a servlet

Posted By:   Chandan_Jena  
Posted On:   Sunday, December 1, 2002 11:43 PM

Let you Install the JWS in 'D' drive(i.e. path to jws is D:jws).Put your servlet file(.java) in the location d:jwsservlets(your folderyourServlet.java).Compile the .java file.
Login into the JWS. Click the "Manage" button. Click on Servlet aliases. Then two text fields come.Give the path of your .class file in appropriate place (i.e. your folder(package.)yourServlet). Then save this.
In browser type: http://localhost:8080/servlet/your folder/(package.)yourServlet

if u wanna use a html:
put the html file in the d:jwspubli_html location

hope this will help you.
good luck !
About | Sitemap | Contact