File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes handling html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "handling html" Watch "handling html" New topic
Author

handling html

Maharaj thak
Greenhorn

Joined: Jul 29, 2010
Posts: 27
Hi All
I am using fck editor plugin.If some body enters some info like

<p>This is my first time here</p>

I want to actually display it a s a paragraph.But if I do something like

texttodisplay.encodeAsHTML()
It shows me
<p>This is my first time here</p>

how can i avoid this

Regards
Mauji Thak
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

don't call encodeAsHTML() on the property.


GenRocket - A Test Data Generation Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: handling html
 
Similar Threads
Data class cached implementation
Generics Methods
how the the same operation with "pipe"...
pass the current object as a parameter to another method?
checkbox list in struts 2