Hi All,

I want to get one object from request of the jsp to my tapestry class.
I set object in jsp page as 
<%
        SpaceMainMenu spaceMainMenu = new SpaceMainMenu();
        request.setAttribute("spaceMainMenu",spaceMainMenu);
%>

Now i have to use this request attribute in tapestry5.
So in SpaceMainMenu Class, i tried to get it as ,
    --------
    --------
      private RequestGlobals requestGlobals;

        @BeginRender
        public void setvariable(){
        SpaceMainMenu d =
(SpaceMainMenu)requestGlobals.getHTTPServletRequest().getAttribute("SpaceMainMenu");
        System.out.println("The value  is "+d.getPersonalURL());
        
        }

But, Here I  getting the java.lang.NullPointerException, So If anybody know
How to handle request between Jsp and Tapestry 5.

I tried lot for it , And it is very necessory for me, plzz help,


Thanks In Advance,
Uday Mahajan.



-- 
View this message in context: 
http://www.nabble.com/T5-Not-getting-request-values-from-jsp-page.-tf4627243.html#a13212228
Sent from the Tapestry - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to