This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get values html from servlet ?  RSS feed

 
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
Posts: 66041
140
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
Posts: 66041
140
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
Boost this thread!