----- Original Message -----
From: Asif Rajwani <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 21, 1999 2:08 PM
Subject: Using JSP and Servlets.


> Hi,
> 1. Can I call the servlet from the client side which would instantiate the
> bean based on few session variables, pick up the JSP page siting on the
server
> and send the jsp page back to the client as if JSP was called directly. If
it
> is possible can you tell me briefly how do I do it.

  I believe you can.  Glancing at the faq it shows the following code :

getServletContext().getRequestDispatcher("/samples/model1/foo.jsp").forward
(req, res);

  You can check out the faq entry for more information at
http://www.esperanto.org.nz/jsp/jspfaq.html#q10  .

>
> 2. Is there any good and comprehensive resource available about JSP (book
> etc)
>
    A new book called "Professional Java Server Programming" has just been
released.  I don't have it (yet) but it covers JSP(hopefully 1.0), Servlets,
EJB, etc.    Some "Servlet" books touch on JSP's but mostly reference the
0.92 version.  "Java Enterprise Applications" by Asbury & Weiner and
"Developing Java Servlets" by James Goodwill both include 0.92 coverage.

Good luck,
Brien Voorhees

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to