Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: How to invoke a JSP page from servlet ?


Message #1 by "Naresh Ganatra" <ndc@v...> on Thu, 4 Jan 2001 13:44:23 -0000
study request dispatcher ,  it can be used to invoke another servlet,jsp or
any other resource

----- Original Message -----
From: Naresh Ganatra <ndc@v...>
To: Servlets <servlets@p...>
Sent: Thursday, January 04, 2001 5:44 AM
Subject: [servlets] How to invoke a JSP page from servlet ?


> Hello Everybody,
>
> I want to invoke a JSP page through a Servlet by
> Request Lifetime method using setAttribute() of the
> interface javax.servlet.http.HttpServletRequest.
>
> But, at compilation time i am getting the error as the
> Method setAttribute(java.lang.String, model1.Foo) not found in
> interface javax.servlet.http.HttpServletRequest.
>
> I am using JSP v1.1 and Servlet v2.2 API Reference.
>
> Thanks in advance for helping me out.
> Naresh

--- 
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS?  Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development, 
Web Development, Networking & Communications, and Hardware & Systems.  
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to servlets as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-servlets-$subst('Recip.MemberIDChar')@p2p.wrox.com

  Return to Index