[jboss-user] [Beginner's Corner] - using hidden variables: different behaviour windows/linux
davide galax
do-not-reply at jboss.com
Wed Jan 18 04:47:47 EST 2012
davide galax [https://community.jboss.org/people/dave51] created the discussion
"using hidden variables: different behaviour windows/linux"
To view the discussion, visit: https://community.jboss.org/message/647318#647318
--------------------------------------------------------------
I'm developing my Java struts application with Netbeans 7.0 Ide.
I'm using some hidden variables to pass variable value from one jsp to another ( I don't wanna exagerate with session scope's variables )
<logic:iterate property ="lines" name="SuccessForm" id="riga" indexId="nriga" >
<tr>
<td align="right"><bean:write name="riga" property="codiceProc" /></td>
<td align="right"><bean:write name="riga" property="descProc" /></td>
<td align="right"><bean:write name="riga" property="impAvere"/> </td>
<td align="right"><bean:write name="riga" property="impDare" /></td>
<td align="right"><bean:write name="riga" property="impDiff" /></td>
<html:hidden property="codiceProc" value="${SuccessForm.lines[nriga].codiceProc}" />
<html:hidden property="descProc" value="${SuccessForm.lines[nriga].descProc}" />
<html:hidden property="impAvere" value='${SuccessForm.lines[nriga].impAvere}' />
<html:hidden property="impDare" value='${SuccessForm.lines[nriga].impDare}' />
<html:hidden property="impDiff" value='${SuccessForm.lines[nriga].impDiff}' />
</tr>
</logic:iterate>
When I call the next servlet action I retrieve the hidden variable's value and I display it on successive jsp page.
This running fine with Jboss installed locally on my pc in windows xp operating system, but when I deploy the application on our linux server the value of hidden variables textually:
${SuccessForm.lines[nriga].codiceProc} ...
${SuccessForm.lines[nriga].descProc} ...
the Jboss I've installed on my pc is jboss5.1.0 , the version installed on our company server is jboss-4.0.5.GA.
maybe the valorization of hidden variables is deplorable?
Many thanks in advance
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/647318#647318]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120118/f80584c1/attachment-0001.html
More information about the jboss-user
mailing list