"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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to