y u r using <%= fieldxyz %>.u can use <bean:write name="fieldxyz"/>
no?


> ----------
> From:         Marimuthu Saravanan[SMTP:[EMAIL PROTECTED]
> Reply To:     Struts Users Mailing List
> Sent:         Wednesday, October 01, 2003 12:00 PM
> To:   [EMAIL PROTECTED]
> Subject:      Problem using bean:define tag
> 
> <<File: ATT44709.txt>>
> Hi,
>  
> I am getting a error while using <bean:define> tag ( Struts 1.1).Here is
> the code snippets.
>  
> Action class:
>  
> Setting value in the request attribute
>  
> request.setAttribute( "field1", "countryCode");
>  
>  
> Jsp:
>  
> <%@ page language="java" %>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
>  
> <html:html locale="true">
> <bean:define id="fieldxyz" name="field1" />
> <%= fieldxyz %>
> </html:html>
>  
> Jsp is not getting compiled.
>  
> Kindly provide me solution
>  
> Regards
> Saravanan
>  
> 

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

Reply via email to