Results 1 to 2 of 2
  1. #1
    sujithc34 is offline Member
    Join Date
    Jan 2008
    Rep Power

    Default how to load a servlet on index.jsp page...

    can u please help me out...
    Question is ...

    i need to pass a value dyanamically on index page using a servlet.. so how do i call a servlet on start of index page....

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Bali, Indonesia
    Rep Power


    I don't really understand your question. Do you mean that you want to call the index.jsp file from a servlet and pass some value to it? Or do you want your servlet to act as the index.jsp file?

    If you want to call another jsp page from a servlet you can use a client-side send redirect or a server-side request dispatcher forward.

Similar Threads

  1. Help with Flesch Index
    By L_22 in forum Advanced Java
    Replies: 1
    Last Post: 03-31-2008, 06:30 PM
  2. Replacing at an index
    By bugger in forum New To Java
    Replies: 2
    Last Post: 01-29-2008, 07:33 AM
  3. Servlet calling JSP page
    By gapper in forum Java Servlet
    Replies: 1
    Last Post: 01-15-2008, 05:00 PM
  4. z-Index problem
    By mjdousti in forum AWT / Swing
    Replies: 1
    Last Post: 12-29-2007, 02:34 AM
  5. problems with array index
    By mary in forum New To Java
    Replies: 2
    Last Post: 08-01-2007, 05:30 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