• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet deployment problem

 
shawn kennedy
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i do not understand how to deploy my servlet to ther J2EE server.
I have a htm file whose form output is redirected to a servlet now what i dont understand is what should my action form fields url be so that the output is reditected to the servlet and also how can i deploy the servlet to the j2ee server.Thanx in advance
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which J2EE Server would that be?
 
shawn kennedy
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
j2ee application server 1.3.1
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are only doing servlet development (no EJBs) then I'd suggest using Tomcat, which is the Reference Implementation (RI) of a servlet container. Much like your J2EE server is the RI from Sun.

There are several good examples in Tomcat's example web application of how to code your HTML/JSP pages to access the servlet.

For the J2EE RI though, there is an online tutorial here: http://java.sun.com/j2ee/tutorial/1_3-fcs/index.html

Click the 'Getting Started' link for details on deploying to the J2EE RI.
 
shawn kennedy
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot mike
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!