Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Send data from jsp to a class using a form

 
Isaac Ferguson
Ranch Hand
Posts: 922
2
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
Pie
Posts: 65225
95
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