You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Lorenzo Sicilia <ar...@kemen.it> on 2004/03/31 16:17:05 UTC

jstl read raw data

hi list,

I need read some xml data in post.
I have found some example in jsp that show raw data post:
http://www.sci.usq.edu.au/courses/csc8409/src/ShowPost.jsp

Do I can with jstl read raw data?

I send xml object from flash with XML.sendAndLoad(mypage.jsp, "POST");

Thanks in advance for any idea.

Lorenzo


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


Re: jstl read raw data

Posted by Lorenzo Sicilia <ar...@kemen.it>.
Martin Cooper wrote:

> Since what you want to read is XML, you can do this as long as you actually
> want to parse the XML as well. Try this:
> 
>   <x:parse var="parsedXml" xml="${pageContext.request.reader}"/>

Great! It work fine! many thanks :)
I love Jstl. Usefull, Powerfull and easy.

Regards Lorenzo

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


RE: jstl read raw data

Posted by Martin Cooper <ma...@apache.org>.

> -----Original Message-----
> From: Lorenzo Sicilia [mailto:arnor@kemen.it]
> Sent: Wednesday, March 31, 2004 6:17 AM
> To: Tag Libraries Users List
> Subject: jstl read raw data
>
>
> hi list,
>
> I need read some xml data in post.
> I have found some example in jsp that show raw data post:
> http://www.sci.usq.edu.au/courses/csc8409/src/ShowPost.jsp
>
> Do I can with jstl read raw data?
>
> I send xml object from flash with XML.sendAndLoad(mypage.jsp, "POST");
>
> Thanks in advance for any idea.

Since what you want to read is XML, you can do this as long as you actually
want to parse the XML as well. Try this:

  <x:parse var="parsedXml" xml="${pageContext.request.reader}"/>

I'm not aware of any way of getting the raw content of the reader in JSTL,
though.

--
Martin Cooper


>
> Lorenzo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>
>



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