This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply 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: 94

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: 56529
    
  14

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?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Gustavo Siqueira
Ranch Hand

Joined: Jun 15, 2011
Posts: 94

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

Joined: Jan 10, 2002
Posts: 56529
    
  14

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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to get values html from servlet ?
 
Similar Threads
Getting the div values
how to trigger a servlet from JSF
Multiple form elements with same name
jQuery load with Callback
Help with jsp beans