• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Submit formatted text with JSP and TinyMCE

 
jhon masco
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65217
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing to do with JSP at all. Moved.
 
jhon masco
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, jhon masco

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

So long!
 
jhon masco
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic