This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Servlets and the fly likes How to get values html from servlet ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to get values html from servlet ?" Watch "How to get values html from servlet ?" New topic
Author

How to get values html from servlet ?

Gustavo Siqueira
Ranch Hand

Joined: Jun 15, 2011
Posts: 97

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

Joined: Jan 10, 2002
Posts: 63231
    
  69

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?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Gustavo Siqueira
Ranch Hand

Joined: Jun 15, 2011
Posts: 97

Hello,
Yes.. The data not are being sent through from request.getParameter.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63231
    
  69

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.
 
Have you checked out Aspose?
 
subject: How to get values html from servlet ?
 
It's not a secret anymore!