First of all. you must create a web-application under tomcat ( you
can use Manager to do that ), put your classes or .jar inside your
WEB-INF/classes or WEB-INF/lib. After that you can put addicional jsp files
or html under your tree. The servlet can see all filesystem, therefore, once
you have a request for you servlet, it can do its work.

        But maybe is better for take a look in those papers.

        
http://developer.java.sun.com/developer/onlineTraining/Servlets/Fundamentals
/

> ----------
> De:   R Aravind-A4524C[SMTP:[EMAIL PROTECTED]
> Responder:    Tomcat Users List
> Enviada:      quinta-feira, 13 de novembro de 2003 8:54
> Para:         Tomcat Users List
> Assunto:      a doubt!!!!anyone plz
> 
> hi,
>     i have downloaded and installed the server....i just have a doubt
> regarding the use....basically i have a program which talk to the server
> and download the java archive files from there....for that i have to
> create a directory structure in the server and put this java archive files
> and .class files....class file is a servlet....before running my
> application i have to set the path till this class file that will be
> exeecuted and pick up the files from the dirctory i created..my  program
> is based on a protocol.........i just wanto knwo will this server can be
> used for my application.............
> 
> this is the procedure iam supposed to do...
> 1]bundle should be present on a Web Server. The directory structure should
> be as follows :- --drivers/hp.usb.printer.laserjet.5.7/hpprinterdriver.jar
> 
> 2]load the FindDriverServlet.class under the servlets directory on your
> Web Server. The package structure for the servlet should be :-
> deviceaccess.servlet.FindDriverServlet 
>  Loading FindDriverServlet --This servlet itself should be loaded under
> servlets directory under deviceaccess/servlet 
> this is the propert i have to set..URL to the .class file
> >set jes.driverlocator.servletURL=http://localhost:portnum/servlet/
> FindDriverServlet 
> in this case portno:80
> 
> can you please help me out with this.where should i load the class files
> to execute?..if this can't be done with the server can you suggest some
> other
> thanking you
> yours faithfully
> arav
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to