What do you want to do with userName? If you just want to print the value, something like System.out.println(<xsp:expr>userName</xsp:expr>);
will work.


Patrick Hess wrote:


Can somebody tell what I'm doing wrong in this XSP (snippet):


XSP:

    for (int i = 0; i &lt; users.size(); i++) {
        UserDataBean udb = (UserDataBean) users.get(i);
        String userName = ((String) udb.getUserName());
        <xsp:expr>userName</xsp:expr>
    }



Sure it does not compile - but why is it generated this way? I've been using the same style of printing values in an other XSP which works fine...


--
---------------------------------------------------------
Jentro Technologies GmbH
John L. Webber, Software Development
---------------------------------------------------------
Rosenheimer Str. 145e 81671 M�nchen
Tel. +49 700 881 199 88 mailto:[EMAIL PROTECTED] Fax +49 700 881 199 88 http://www.jentro.com
---------------------------------------------------------





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to