Re: JSTL c:out rewrites html tags

2003-03-10 Thread Shawn Bayern
On Mon, 10 Mar 2003, Hanasaki JiJi wrote:

> Great! the c:out inside the c:set just modifies the value but doesnt
> output it to the web page? right?

Right, exactly.

-- 
Shawn Bayern
"JSTL in Action"   http://www.manning.com/bayern


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



Re: JSTL c:out rewrites html tags

2003-03-10 Thread Hanasaki JiJi
Great! the c:out inside the c:set just modifies the value but doesnt 
output it to the web page? right?

Shawn Bayern wrote:
On Mon, 10 Mar 2003, Hanasaki JiJi wrote:


Thanks to Brian and Shawn!  anyone know of a lib that will perfrom the 
escXML on a String?

goal:
take in input string that may / maynot have HTML tags
zap the html tags or turn them to pure text ala <


You can use  wrapped by  to do this, as in

 
   
 
 <%-- modify string --%>
 
--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSTL c:out rewrites html tags

2003-03-10 Thread Shawn Bayern
On Mon, 10 Mar 2003, Hanasaki JiJi wrote:

> Thanks to Brian and Shawn!  anyone know of a lib that will perfrom the 
> escXML on a String?
> 
> goal:
>   take in input string that may / maynot have HTML tags
>   zap the html tags or turn them to pure text ala <

You can use  wrapped by  to do this, as in

 
   
 
 <%-- modify string --%>
 

-- 
Shawn Bayern
"JSTL in Action"   http://www.manning.com/bayern


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



Re: JSTL c:out rewrites html tags

2003-03-10 Thread Hanasaki JiJi
Thanks to Brian and Shawn!  anyone know of a lib that will perfrom the 
escXML on a String?

goal:
take in input string that may / maynot have HTML tags
zap the html tags or turn them to pure text ala <
add some HTML tags
output via c:out escapeXml="false"
dont want any html to get used as html if it was in the original string. 
 customers enter it in a web browser window.

Brian Buckley wrote:
Set the escapeXml attribute to false.




The JSTL taglibs (c:out) re-write html tags into > so the actual text 
prints out.  Is there any way to disable this?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSTL c:out rewrites html tags

2003-03-10 Thread Shawn Bayern
On Mon, 10 Mar 2003, Hanasaki JiJi wrote:

> The JSTL taglibs (c:out) re-write html tags into > so the actual
> text prints out.  Is there any way to disable this?

Yes, the escapeXml="false" attribute of the  tag disables this
behavior.

-- 
Shawn Bayern
"JSTL in Action"   http://www.manning.com/bayern


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



Re: JSTL c:out rewrites html tags

2003-03-10 Thread Brian Buckley
Set the escapeXml attribute to false.




> The JSTL taglibs (c:out) re-write html tags into > so the actual text 
> prints out.  Is there any way to disable this?



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



JSTL c:out rewrites html tags

2003-03-10 Thread Hanasaki JiJi
The JSTL taglibs (c:out) re-write html tags into > so the actual text 
prints out.  Is there any way to disable this?

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