• Post Reply Bookmark Topic Watch Topic
  • New Topic

Submit button click action to JSP without a form.  RSS feed

 
WeiJie Lim
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a remove button for each table row. When the user clicks remove, the row in which the remove button is clicked should be deleted.

How do I get the onclick action to work ? =/

I tried using the 'hidden' input tag method, but I guess I messed up ..

 
Mansukhdeep Thind
Ranch Hand
Posts: 1163
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you using scriptlet to perform DB access and data retrieval? Use JSPs purely to bring up the view part of your web application. Read Bear's response in this thread. Also read this arcticle by Bear.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!