struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Cottenceau ...@mnc.ch>
Subject Re: XTag problem
Date Wed, 24 Nov 2004 08:18:06 GMT
"Nishant" <nishantp 'at' cybage.com> writes:

> hi to all,
> i am using Struts in tomcat apache server..
> i have a xml data which is stored in a form of string.
> i am using XTags
> when i use 
> <xtags:parse uri="/WEB-INF/database.xml"/>
               ^^^

> then it is completely working...
> but when this xml file i put into string and use
> <%
>  String xml = (String) request.getAttribute("xmlString");
> %>
> <%= xml %>
> <xtags:parse reader="<%= xml %>"/>
               ^^^^^^

> then it is ginving me an error as
> Found 1 semantic error compiling "C:/nishant/WEB-INF/jsp/jrun__employeelist2ejsp
> 11.java":
> 
>     85. _tag1.setReader( xml );
>         <-------------------->
> *** Error: No match was found for method "setReader(java.lang.String)".
                                               ^^^^^^

-- 
Guillaume Cottenceau

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message