File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
small EL question
c:set var
EL [ ] syntax - HSF page 393...
EL Operator Query
Use of [] in EL - Doubt