Implicits are only available within _jspService so you'll have to rethink.

Time to consider using beans or in your case possibly custom tags as you
have access to the pageContext from within a Custom Tag.

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Gerard Menezes
> Sent: Monday, July 17, 2000 1:37 PM
> To: [EMAIL PROTECTED]
> Subject: Prob of Servlet objects in JSP functions
>
>
> Hi all,
>
> I have a problem while defining JSP functions in the
> Declarative tag <%!  %>.
> I cannot access the pre-defined servlet objects,
> like request,response,session,application etc.
> It gives errors such as :
> *** Error: "request" is either a misplaced package name or a non-existent
> entity.
>
> It becomes very difficult to include all code in the scriptlets without
> using
> functions. Please Help !!!!!
>
> Thanx a lot
>
> Gerard.M/..
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.j

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to