wood burning stoves 2.0*
The moose likes Servlets and the fly likes Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet" Watch "Servlet" New topic
Author

Servlet

Geethai Jain
Greenhorn

Joined: Oct 08, 2003
Posts: 2
Hi
I am using j2eesdk1.4_beta2.I am having html(sign.html) and one servlet program(empsubmit.java).I am calling the servlet program from html.
I compiled my servlet program.But I donot know in which directory i need to place my servlet class file (empsubmit.class) to be accessed from Html file(sign.html).My application server is running at portnumber 1024.
Appreciate ur help.
Geethai
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Well each Application Server/Web Server have different directories for you to place your Web Application. Plus you can configure them to go to a different directory.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
Hi Jain,
As said all the application server have thereown classes directory to store the application related class files. For example in weblogic server under applications directory/Default WebApp (or) your web application name /WEB-INF you have to create the classes directory and put your classfiles. Please check your Application Server specification.
Regards,
M.S.Raman.

Originally posted by Geethai Jain:
Hi
I am using j2eesdk1.4_beta2.I am having html(sign.html) and one servlet program(empsubmit.java).I am calling the servlet program from html.
I compiled my servlet program.But I donot know in which directory i need to place my servlet class file (empsubmit.class) to be accessed from Html file(sign.html).My application server is running at portnumber 1024.
Appreciate ur help.
Geethai
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Originally posted by Malli Subramanian Raman:
Hi Jain,
As said all the application server have thereown classes directory to store the application related class files. For example in weblogic server under applications directory/Default WebApp (or) your web application name /WEB-INF you have to create the classes directory and put your classfiles. Please check your Application Server specification.

WEB-INF/classes under the application directory is actually the standard way of doing things that most appservers will support.
where the application directory is declared (or expected) differs from server to server.


42
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet
 
Similar Threads
Application server
interrupting a servlet
Java Servlets
How to make an applet signed?
jsp