Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

requestScope Querry  RSS feed

 
Yati Tan
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
${requestScope["inty"]}
 
Yati Tan
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!