Hi Antonio,
The way you wrote it right now, getServletContext() should be a method of
your current jsp and it isn't. That's what the error is telling you.
The correct way to access the servlet context is to use the implicit object
'application'. This is a predefined variable in every jsp.
For
,
the elephantwalker
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Marcel Schutte
Sent: Friday, June 01, 2001 1:50 AM
To: Orion-Interest
Subject: Re: Problem with jsp pages
Hi Antonio,
The way you wrote it right now, getServletContext() should be a method
try:
request.getAttribute(STH);
page.getServletContext().getAttribute(STH);
in JSP pages you have severial classes such page, request, session from them
you have access to what you want.
- Original Message -
From: Antonio Vazquez [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Hi.
I guess by the err log, that you are
trying to use this method in a JSP page.
As by the specs in a JSP to get a
reference to the cotext you should use the "pageContext" object, that is found
in every JSP page.
Why not give it a try?
TRY:
Vector vectorUsuarios =