Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
  1. #21
    Gary20 is offline Member
    Join Date
    Jan 2011
    Rep Power



    Sorry for the late reply!

    • Is there a need to play with the web.xml file? I see a lot of references to it but not sure why.
    • Where does jsp go? Not in the root directory?

    Maybe I setup Eclipse wrong. In any case, it is working in the web container, so I won't complain! :D Now to finish up with some other stuff I am playing with.

    Thanks again!

  2. #22
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power


    JSPs go in WEB-INF/jsp.
    The web.xml is need to tell the server what names in the URLs for your site map to which servlets. As well as other things, but that's a key one.

    JSPs go under WEB-INF since they are pre-processed by the server, first into a Servlet and then compiled into a class. You don't actually access them directly. The server essentially maps <myjsp>.jsp to <whatever random servlet name>.class.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Problem with loading driver
    By b01g in forum New To Java
    Replies: 7
    Last Post: 07-15-2011, 06:41 PM
  2. Loading of JDBC Driver
    By Riyaz.hk77 in forum Advanced Java
    Replies: 11
    Last Post: 11-11-2010, 09:53 AM
  3. No suitable driver found exception error
    By Crazy Caveman in forum Networking
    Replies: 1
    Last Post: 09-01-2010, 12:03 AM
  4. Compile error in Driver class, help plz
    By Battlefeldt in forum New To Java
    Replies: 3
    Last Post: 11-26-2009, 12:30 AM
  5. Database Driver Error.....Plz Help!
    By sayan751 in forum NetBeans
    Replies: 0
    Last Post: 02-19-2009, 05:59 PM

Posting Permissions

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