That method is only for use in the JSP page. You should use the one that accepts a request object instead.

A quick tip: if you want to use lower level code like this I highly recommend that you learn about the common objects (well, interfaces really) that are part of the Servlet API and related specifications (like the JSP one).

-David


On May 13, 2009, at 1:48 PM, S K Pradeep Kumar wrote:

Hi ,

I want to use getProduct(PageContext pageContext, String attributeName) method in the productWorker.java for that i need the pageContext object.


On Wed, May 13, 2009 at 11:59 PM, David E Jones <[email protected]
wrote:


What is a "pageContext" object?

It sounds like you're thinking about something else... like a JSP or
something...

-David



On May 13, 2009, at 12:13 PM, S K Pradeep Kumar wrote:

Hi all,

How to get the pageContext object in the ftl, if it is there how to
use it?

--
With regards,
S K Pradeep kumar





--
With regards,
S K Pradeep kumar

Reply via email to