This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Servlet

 
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
 
ranger
Posts: 17344
11
Mac IntelliJ IDE 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
 
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

 
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.
 
You didn't tell me he was so big. Unlike this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!