This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Submit formatted text with JSP and TinyMCE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Submit formatted text with JSP and TinyMCE" Watch "Submit formatted text with JSP and TinyMCE" New topic
Author

Submit formatted text with JSP and TinyMCE

jhon masco
Ranch Hand

Joined: May 13, 2010
Posts: 93
Hi.
I am using TinyMCE editor in my web but when I submit the form the text is save in the database without format. Could you tell me please How I can submit formatted text with JSP??

NOTE:
*i am using netbeans 6.9
*the form is "multipart/form-data"
*the tinymce version is 3.4.1

Muchas Gracias
jhon masco
Ranch Hand

Joined: May 13, 2010
Posts: 93
Solved:
Just you must put the html tag <PRE> </PRE> where you want to display the data from the database.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61756
    
  67

Nothing to do with JSP at all. Moved.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
jhon masco
Ranch Hand

Joined: May 13, 2010
Posts: 93
jhon masco wrote: Solved:
Just you must put the html tag <PRE> </PRE> where you want to display the data from the database.


False alarm!!!
The real problem was that i was using a script validator that remove some characters as '<','>' and more, then it removed part of html tags before submit data to the database!
Jhon Ortiz
Greenhorn

Joined: May 28, 2009
Posts: 16
Hi, jhon masco

Can you show me how to implement TinyMCE in JSP? Thanks in advance.

So long!
jhon masco
Ranch Hand

Joined: May 13, 2010
Posts: 93
Jhon Ortiz wrote:

Can you show me how to implement TinyMCE in JSP? Thanks in advance.



Hola Ortiz.
I just followed this tutorial tutorial and saw the example example
It is so easy, It is implemented in the same way that PHP.
Let me know if you have problem. Or ask me a specific question.

Luck
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Submit formatted text with JSP and TinyMCE