Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet

 
Geethai Jain
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Malli Raman
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic