Hi David,
Thanx it is working.
But my original problem still exists.
The request does not contain this field.
But if I am using a java scriptlet like

<%
request.setAttribute("regularPlan","true");
%>
Then it is working
I want to do a similar operation in struts.

Any idea?

Regards,
Krishna Mohan 

-----Original Message-----
From: David G. Friedman [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 07, 2005 10:37 AM
To: Struts Users Mailing List
Subject: RE: Putting a field into the REQUEST

Try a closing slash so your line:
<html:hidden property="regularPlan" value="true">

Becomes: 
<html:hidden property="regularPlan" value="true" />
................................................^^^

Regards,
David

-----Original Message-----
From: Krishna Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 11:55 PM
To: Struts Users Mailing List
Subject: Putting a field into the REQUEST



Hi all,
Could any body tell me why does this error occur?

/acctmgmt/updatePlanProfileContent.jsp(159): The TLD description for tag
'hidden' requires that the body be empty.
probably occurred due to an error in
/acctmgmt/updatePlanProfileContent.jsp line 159:
<html:hidden property="regularPlan" value="true">

I wanted to set a hidden field in the updatePlanProfileContent.jsp, so
that while submitting it is available in the request.

I tred with a simple HTML input type tag and stil it is not set in the
request.

Please somebody tell  me how to put a value into the request object
through Struts tags or via simple HTML tags.

Regards,
Krishna Mohan 


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


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




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

Reply via email to