aspose file tools
The moose likes Struts and the fly likes Text parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Text parsing" Watch "Text parsing" New topic
Author

Text parsing

M. White
Greenhorn

Joined: Dec 27, 2009
Posts: 18

Hi guys,
I already tried searching the forum for entries similar to mine. Unfortunately I only found 1 but did not work to me. So here's my problem: I getting a String from server that is formatted as a html code and put it in <td> tag. But the string was parsed only as text. I also added a <pre> tag but it still didn't work. By the way, im using struts2 property tag. Any help?



didnt render as html code.

Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8265

If you look at the Struts 2 Documentation for that tag, you'll notice a parameter called "escape" that will help you out.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
M. White
Greenhorn

Joined: Dec 27, 2009
Posts: 18

I didn't even bother to check that. Thanks a lot Joe Ess!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Text parsing
 
Similar Threads
<> preview problem
JSP with Stylesheet
Html tag content wrapping
Applet
How to show only 10 entries in a jsp-page?