This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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


Win a copy of Head First Android this week in the Android forum!
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: 560
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: 63052
    
  69

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Send data from jsp to a class using a form
 
It's not a secret anymore!