You can't mix jsp and scriptlet those manner. Scriptlet generates the
output, and the output can't modify the scriptlet code.
Instead of using scriptlets try to use c:set tag from jstl library.
El lun, 15 de 05 de 2006 a las 09:04, J Gotsch escribió:
> Any idea how I can set a local JSP variable with the value of a bean
> property in a JSP?
>
> In the example below, I want to set tempRole to the value of the
> securityRoleName prperty. But This is not working.
>
>
> <% String tempRole = null; %>
>
> <logic:present name="securityRoleTO" property="securityRoleName">
>
>
>
> <% if (tempRole==null) { tempRole = %> securityRoleName <% ;} %>
>
>
>
> ---------------------------------
> Get amazing travel prices for air and hotel in one click on Yahoo! FareChase
--
;-)
____________________________________
Jorge Martin Cuervo
Analista Programador
Outsourcing Emarketplace
deFacto Powered by Standards
email <[EMAIL PROTECTED]>
voz +34 985 129 820
voz +34 660 026 384
____________________________________