Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get values html from servlet ?

 
Gustavo Siqueira
Ranch Hand
Posts: 97
C++ Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm trying develop a Newsletter with Javamail. So I thought in to use the ckeditor for the user send emails. However, I can't get values with servlet (request.getParameter("message");). The value is as blank.
How can to fix problem ?

Thanks you!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is much more likely with how you are using ckeditor than with the servlet. Have you checked if the data is being sent on the request?
 
Gustavo Siqueira
Ranch Hand
Posts: 97
C++ Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Yes.. The data not are being sent through from request.getParameter.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I meant have you opened the browser's debugger and checked that the data is actually being sent in the request? If not, that's the next thing you need to do.

If the data is in the request, the problem is in the servlet. If the data is not there, then the problem is on the HTML page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic