Re: accessing request attributes

2005-12-07 Thread Christopher Becker
Atta; Thanks for the response. You are correct in your assumption about the scriplet approach - it is exactly what I was attempting to avoid by using tags. I tried using the >> [EMAIL PROTECTED] 12/6/2005 11:19:42 PM >>> Chris, I'm sure you'd know scriplet way of doing it, which I'm not goin

Re: accessing request attributes

2005-12-06 Thread atta-ur rehman
Chris, I'm sure you'd know scriplet way of doing it, which I'm not going to recommend: <%=request.getAttribute("toDate") %>. Struts' bean:write should do it: Better still if you're using Servlet 2.4 compliant app server/servlet container you could use JSTL expressions: ${toDate} and it will sea

accessing request attributes

2005-12-06 Thread Christopher Becker
I am setting request attributes in an Action class such as in the following example: request.setAttribute("toDate", toDate); request.setAttribute("acctNum", acctNum); Both variables toDate and acctNum are Strings. I then process the action by returning a mapping.findForwa

Re: Accessing request attributes

2005-10-07 Thread Leon Rosenberg
? What do you mean by "get"? Nearly all struts tags handle attributes one way or another... On 10/7/05, Doug Thomas <[EMAIL PROTECTED]> wrote: > I can get an HTTP request parameter via bean:parameter. How do I get a > request attribute using the Struts taglib, without resorting to JSP > scriplet

Accessing request attributes

2005-10-07 Thread Doug Thomas
I can get an HTTP request parameter via bean:parameter. How do I get a request attribute using the Struts taglib, without resorting to JSP scriplets? Doug Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman