• Post Reply Bookmark Topic Watch Topic
  • New Topic

Send data from jsp to a class using a form

 
Isaac Ferguson
Ranch Hand
Posts: 1044
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Angus Ferguson wrote:Is it a correct approach

Nope. You can't just submit to any old class -- it has to be a servlet.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!