Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Loosing html data into request parameter  RSS feed

 
Adrien Ruffie
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a small problem and I don't know where I can fix it.

In one jsp page, I submit a form with a message body with following html code (which is store in "MsgBody" in my request)



But when I submit my form, I received in my servlet a parameter "MsgBody" without several tag like <html>/<body> ... do you know this behavior, by default tag are delete ?



I use Tomcat 7, maybe a tomcat behavior can influence for this tag loose in request param ?

Thank and best regards
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I seem to be missing something - where is the HTML to create and submit a FORM?
Where does the request get assigned a parameter named MsgBody?
 
Vivek SharmaJi
Ranch Hand
Posts: 38
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check the import statements on your jsp page. The issue may be if tlds are not being resolved properly.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!