File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 321
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: 60049
    
  65

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
 
Similar Threads
how can i compare a session parameter value with variable value?
Automatic flushing of response
404 file not found error
problem with jsp for reset() method
Login Servlet