  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | -none- | -none- 2007-08-31 - By Arup Francis
Back
Oops sorry! yes thats rite... well my requirement was getting the equivalent of <%= request.getParameter("paramname") %> in struts2 using s2 tags alone and for that we have to look into parameters object and not the request object. My understanding was tat since request parameters wud be coming under the request object I have to get it from there and so I was trying this in vain <s:property value="#request['paramName']" />
Arup
newton.dave wrote: > > --- afp <arup.francis@(protected)> wrote: >> To access the request object in the jsp using >> struts2 tags this is what we have to do > > <s:property value="#parameters['paramName']" /> > > For the sake of completeness this accesses request > parameters, not the request object. > > d. > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: user-unsubscribe@(protected) > For additional commands, e-mail: user-help@(protected) > > >
-- View this message in context: http://www.nabble.com/How-to-access-request-- -session-objects-in-jsp-using-struts2-tags-tf4354438.html#a12437397 Sent from the Struts - User mailing list archive at Nabble.com.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |