How many ways we can call servlet from jsp?

Discussion in 'Java' started by Garg, Aug 4, 2006.

  1. Garg

    Garg Guest

    Hi All,

    I have to call servlet from JSP but I cann't use beans for this. Is
    there any other of doing this.

    Thanks in advance
    Tarun Garg
    Garg, Aug 4, 2006
    #1
    1. Advertising

  2. Garg

    Dejan Lazic Guest

    Garg wrote:
    > Hi All,
    >
    > I have to call servlet from JSP but I cann't use beans for this.


    ?

    >Is there any other of doing this.


    <a href="YourServlet"...
    <form action="YourServlet"...
    request.getRequestDispatcher("YourServlet").forward(request, response)

    > Thanks in advance
    > Tarun Garg
    Dejan Lazic, Aug 4, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. circuit_breaker
    Replies:
    2
    Views:
    1,995
    Jack Jia
    Apr 4, 2004
  2. javadev
    Replies:
    5
    Views:
    12,901
    javadev
    Nov 16, 2006
  3. Replies:
    4
    Views:
    780
  4. Vijay Patel
    Replies:
    4
    Views:
    118
    Jan Svitok
    Aug 9, 2006
  5. Mark M Manning
    Replies:
    0
    Views:
    114
    Mark M Manning
    Jan 22, 2008
Loading...

Share This Page