It's not a secret anymore!*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


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

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 377
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: 61298
    
  66

Angus Ferguson wrote:Is it a correct approach

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: Send data from jsp to a class using a form