Get parameters from a Session Bean

Hi all. I need to pass parameters from a SessionBean to an url. This is what I do in the jsp file.

<jsp: scriptlet>

String usuario = this.getSessionBean1().getSeguridad().getUsuario();

String url = "http://192.168.2.111/SistemaSeguridad/Seguridad/iniciar.php?usuarioClave=" + usuario;

response.sendRedirect(url);

</jsp: scriptlet>

The only thing that doesn't work is the "String usuario ..." line. How do I get the usuario parameter from the Session bean?

Thanks.

[527 byte] By [linuc@] at [2007-11-26 8:15:13]
# 1
Here is a different approach that you might want to try http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/boo kmarks.htmlChris http://blogs.sun.com/roller/page/divas
jetsons at 2007-7-6 21:12:39 > top of Java-index,Development Tools,Java Tools...