You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rajat Pandit <ra...@centergroupinc.com> on 2003/11/07 11:58:19 UTC
HTML content
hello,
i was wondering if the javax.sql.* packages (executeQuery(String sql))
does some kind of manipulation to the content of text areas. i am
working on a CMS system where i am using the activex component from IE
(frontpage) to edit the pages, the HTML generated by this tool is saved
in the db.
but when i retrive it back, it comes out escaped HTML like <br> would
become < br > i wonder if anyone has had this problem. i am
desperately hunting for a solution(i am beginning to say this quite
often now).
anyone?
thanks in advance.
--
Rajat Pandit | rajatp@centergroupinc.com
+91 612 3117606
[ Developer and Part Time Human Being]
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: HTML content
Posted by Rajat Pandit <ra...@centergroupinc.com>.
thanks greg! silly me!! friday syndrome :P
Greg Hess wrote:
> I am not aware of any database escaping and am currently providing the
> same functionality. But if you are displaying the HTML using the
> <bean:write> make sure you set the filter="false" attribute or the
> escaping will occur.
>
> HTH,
>
> Greg
>
>
>>-----Original Message-----
>>From: Rajat Pandit [mailto:rajatp@centergroupinc.com]
>>Sent: Friday, November 07, 2003 5:58 AM
>>To: Struts Users Mailing List
>>Subject: HTML content
>>
>>hello,
>>i was wondering if the javax.sql.* packages (executeQuery(String sql))
>>does some kind of manipulation to the content of text areas. i am
>>working on a CMS system where i am using the activex component from IE
>>(frontpage) to edit the pages, the HTML generated by this tool is
>
> saved
>
>>in the db.
>>but when i retrive it back, it comes out escaped HTML like <br> would
>>become < br > i wonder if anyone has had this problem. i am
>>desperately hunting for a solution(i am beginning to say this quite
>>often now).
>>
>>anyone?
>>thanks in advance.
>>
>>--
>>
>>
>>Rajat Pandit | rajatp@centergroupinc.com
>>+91 612 3117606
>>[ Developer and Part Time Human Being]
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
--
Rajat Pandit | rajatp@centergroupinc.com
+91 612 3117606
[ Developer and Part Time Human Being]
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: HTML content
Posted by Greg Hess <gh...@wrappedapps.com>.
I am not aware of any database escaping and am currently providing the
same functionality. But if you are displaying the HTML using the
<bean:write> make sure you set the filter="false" attribute or the
escaping will occur.
HTH,
Greg
> -----Original Message-----
> From: Rajat Pandit [mailto:rajatp@centergroupinc.com]
> Sent: Friday, November 07, 2003 5:58 AM
> To: Struts Users Mailing List
> Subject: HTML content
>
> hello,
> i was wondering if the javax.sql.* packages (executeQuery(String sql))
> does some kind of manipulation to the content of text areas. i am
> working on a CMS system where i am using the activex component from IE
> (frontpage) to edit the pages, the HTML generated by this tool is
saved
> in the db.
> but when i retrive it back, it comes out escaped HTML like <br> would
> become < br > i wonder if anyone has had this problem. i am
> desperately hunting for a solution(i am beginning to say this quite
> often now).
>
> anyone?
> thanks in advance.
>
> --
>
>
> Rajat Pandit | rajatp@centergroupinc.com
> +91 612 3117606
> [ Developer and Part Time Human Being]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org