Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp Get and Post method  RSS feed

 
ssasi kumar
Greenhorn
Posts: 26
Chrome Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi every body,
i give one form method post thats is working fine form submit process but i change get method for give to form its not working submit processes properly....
:banghead:


thanks in advance....

Sasikumar
 
Srinivas Karthik
Greenhorn
Posts: 28
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello sasi,
Here,as per my understanding,your question is you are able to submit your form using post method but not "get" method.
So, here if you use get method then you should override doGet() method in the servlet to which the form is submitted. So, if you use "method=get" you should override doGet() and if you use "method=post" you should override doPost(). Make sure you do this and be clear with your question next time.
Hope I have answered you query.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!