• Post Reply Bookmark Topic Watch Topic
  • New Topic

howto send post request in jsp without an encoded body

 
Sandra Gans
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

please excuse my english, it is not my mother tongue.

I have a problem when trying to send a post request through a jsp page and i didn't find any answers asking my friend google, so I hope that I can find some help here (again.

In my app I have a java class which sends not encoded plain text to a servlet (it is requested like that). Similar to this:



Now I want to make a jsp page, for debugging reasons, that makes the same post request. Similar to this:



But I can see, listening to my network interface, that the content of the post request is encoded (urlencoded i guess).
So my question is:
How can I send not encoded content through jsp?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65519
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. And you shouldn't. The contents of a request should always be encoded. Otherwise, parsing it could result in errors if certain characters are used in the parameter names or values.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!