Results 1 to 2 of 2
  1. #1
    elizabeth is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default first J2EE application

    I just installed java webserver and its up and running,I want to practice some servlet programming but don't know where exactly to store all my files(.class). Neither do I know how to deploy a web application. I visited sun.com to and read their documentation, but it didn't help. Can you help me ?

  2. #2
    leonard is offline Member
    Join Date
    Jul 2007
    Posts
    43
    Rep Power
    0

    Default

    You'll need to create a war file that contains the components of your web application, like servlets, jsps and html files. The J2EE SDK has tools to create this kind of file. Basically it is a zipped directory structure. An important file in the war is web.xml. This file describes your application to the server: what components are there, how are servlets mapped on URLs etc. Read the J2EE tutorial and it will become much clearer.

Similar Threads

  1. How to display Tabuler Data in J2EE application on jsp page
    By AMATYA-CHANAKYA in forum Advanced Java
    Replies: 2
    Last Post: 04-23-2008, 05:54 PM
  2. Replies: 0
    Last Post: 02-16-2008, 09:31 PM
  3. Replies: 0
    Last Post: 02-16-2008, 09:29 PM
  4. JAVA and J2EE
    By rgbosque in forum New To Java
    Replies: 9
    Last Post: 12-04-2007, 06:28 AM
  5. Creating J2EE Modules For Enterprise Application
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 04-26-2007, 10:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •