This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
problem in html:hidden tag
Joined: Nov 27, 2005
Mar 31, 2006 02:03:00
i m sending a hidden variable inside the form.code for hidden variable is
<html:hidden property="fileName" value="<bean:write name="libDocumentInfo1" property="libDocumentName" />"/>
its givin me error :-
org.apache.jasper.JasperException: /jsp/Library/LibraryMainPage.jsp(121,76) equal symbol expected.
form name and property are right and i suppose its synatx error..
can nybody tell me how to correct it??
Joined: Mar 17, 2006
Mar 31, 2006 02:14:00
You cannot use one
tag inside another. In the above code u r using <bean:write> within the <html:hidden> tag; i.e. why u r getting such an error.
Try using this instead,
<input type="hidden" property="fileName" value="<bean:write name="libDocumentInfo1" property="libDocumentName" />" />
Hope this helps.
"What's in a name? That which we call a rose by any other name would smell just as sweet."<br />(William Shakespeare, Romeo and Juliet, Act II, Scene II)
Joined: Nov 27, 2005
Mar 31, 2006 04:56:00
thanx for helping and ur code worked bt with a slight change..
<input type="hidden" name="val" value="<bean:write name="libDocumentInfo1" property="libDocumentName" />" /> (property is nt defined).
can u tell me how to get it in javscript???
Joined: Feb 15, 2005
Mar 31, 2006 09:56:00
where myForm is the name of the form. In Struts this is the name of the ActionForm used by the action called by the form.
If you only have one form on the page, this will work also:
subject: problem in html:hidden tag
getting value in logic iterate
bean:size tag value in html:hidden field
Error: According to TLD, tag html:hidden must be empty, but is not
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014