This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes requestScope Querry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "requestScope Querry" Watch "requestScope Querry" New topic
Author

requestScope Querry

Yati Tan
Ranch Hand

Joined: May 28, 2005
Posts: 56
I hv set following in the JSP page :

<%
Integer i = new Integer(3);
request.setAttribute("inty",i);
%>

But, Iam not able to access "inty" from requestScope in the same JSP page.

<br> Value of inty ${requestScope[inty]}

Am I being wrong somewhere ?

Pls suggest !


SCJP 1.4<br />SCJA 1.0<br />SCWCD 1.4
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

${requestScope["inty"]}


[My Blog]
All roads lead to JavaRanch
Yati Tan
Ranch Hand

Joined: May 28, 2005
Posts: 56
Thanks !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: requestScope Querry
 
Similar Threads
Use of [] in EL - Doubt
c:set var
EL Operator Query
small EL question
EL [ ] syntax - HSF page 393...