aspose file tools
The moose likes Servlets and the fly likes Send data from jsp to a class using a form Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Send data from jsp to a class using a form" Watch "Send data from jsp to a class using a form" New topic
Author

Send data from jsp to a class using a form

Angus Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 240
Hi,

I am trying to send data using a form to a class, not a Servlet.

This way:



Is it a correct approach, do you think I could do it in other better way?

Many Thanks,
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56151
    
  13

Angus Ferguson wrote:Is it a correct approach

Nope. You can't just submit to any old class -- it has to be a servlet.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
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: Send data from jsp to a class using a form
 
Similar Threads
Automatic flushing of response
404 file not found error
how can i compare a session parameter value with variable value?
Login Servlet
problem with jsp for reset() method