I'm using the req.getAttribute("") and setAttribute("", att) fine in JRUN3.0 and I'm
using the same commands as in
theprevious example.... but if it's not working for you why not just add it to the
session or ServletContext?
Matt Goss
Pat Quinn wrote:
> This is a known bug in JRun 3.0--request object data being lost upon
> forwarding. A fix is one the way, but for now you'll have to use a
> workaround. Some developers have suggested using other methods, like
> getParameter or getHeader("accounts"). Others have re-appended query strings
> to URLs where possible.
>
> HTH,
> Patrick Quinn
> Allaire Consulting
> [EMAIL PROTECTED]
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 11, 2001 6:57 PM
> To: JRun-Talk
> Subject: request.getAttrbute() returns null
>
> Hello,
>
> My servlet calls upon a session ejb to return an AccounList.
> However, when I do a
> request.setAttribute("accounts", accountList)
> and forward to a JSP for processing,
> request.getAttribute("accounts")
> returns null.
>
> I've verified the session ejb is returning an AccountList by iterating
> through the list and producing desired output directly from the servlet. I
> would prefer to utilize jsp for presentation.
>
> Regards,
>
> Todd
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists