Hi! I dunno if this question has already been asked. If it has, will you pls direct me to that post?
The following code sets a variable 'str' and correctly outputs: "yoohoo"
<c:set var="str" scope="page" value = "yoohoo" />
<c
ut value = "${pageScope.str}" default = "null" />
-----------------------------------------
But the following code outputs the default value "null"
I even removed the forced reference to the page scoped .. i.e. just ${str} and it still dint work
Could you pls tell me why? I thought that the scriplet sets a variable str in page scope just like the <c:set> tag
<%
String str = new String ("yoohoo");
%>
<c
ut value = "${pageScope.str}" default = "null" />
Environment used: JBuilder6.0 on
Tomcat 4
Thanks!