-- On Tue, 25 Feb 2003 16:42:23 Karr, David wrote: >Prepare to get a bunch of responses saying the same thing: You're >heading down the wrong path. Your ActionForms should be simple >containers, and should not be connecting to your business logic or your >session. Use the business logic in your Action class to manipulate and >coordinate these objects. >
Thanks for the response. All my ActionForms are simple containers except for this one. Considering the time constraint I have, I feel, the soultion is the easy way to implement a TREE structure and I made myself an exception. I wud appreciate if you could suggest a better and easy solution to implement a TREE structure in a JSP. -Pani. >> -----Original Message----- >> From: Pani R [mailto:[EMAIL PROTECTED] >> >> Is there anyway I can get the OBJECT from the SESSION. B'cos, >> MonkeyTreeBean is an ActionForm and REQUEST object is not availble for >the >> constructor of ACTIONFORM(correct me if 'am wrong). Initially, I tried >to >> grab the object from the SESSION(request), but, I had to change the >code >> to get it from STATIC variable as I didnt know to access the REQUEST >> object from ACTIONFORM. Let me know if there is a way I can access >> request.getSession(false) from ACTIONFORM's constructor. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]