Hey, I am using a map-backed ActionForm and so in my JSP code I have a <html:text> tag that looks like this:
<html:text property="value(<%=value.getUserId()%>)" readonly="true" size="2" />


The reason I have a scriplet in there is because I have a dynamic form and the value of the key changes all the time. I want the value of the key to be the "id" of the user logged in.

However, this is giving me problems because the value of the key is being taken literally as <%=value.getUserId()%> rather than the value of the userId. The scriplet <%= value.getUserId %> is correct because I have tested it with System.out.println(value.getUserId). So it looks like I cannot put my scriplet in there. Has anyone experienced this before? Or does anyone know why it won't et me do this? Any way to get around this?

I'd appreciate any help. I've been stuck on it for two days now.

Cheers,

B

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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



Reply via email to