Hai All! What i am trying is very simple and i am not getting it.
here is my problem: I have to servlets A & B and i am doing following things. 1) dispatching request from A to B using include method 2) Storing some dummy attribute in a session Object (Using setAttribute) in Servlet B 3) When i tried to retrieve that attribute from A using getAttribute method (After dispatching request) i am getting a null val Also i donn have any clue whether B is getting invoked or not as print statements (in B )are also not reflecting.
Any help in this regard is apreciable. TIA Rgds Manohar
I don't think servlet A can retrieve the attributes set in servlet B.u said the servlet B is included in servlet A ,then the control will go to servlet B,then how can retrieve the attributes set in B.No wonder, u r getting null values.
Joined: Jul 17, 2001
Praveen! Thanks for ur reply. But i disagree with what u told. Actually i got through my problem using NamedDispatcher API. Rgds Manohar
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com