Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doPost in struts2

 
MaheshS Kumbhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is a html file with form tag with method=post/get and action="some class" but till date i havent seen any doPost/doGet method in struts2 as i used to see in j2ee servlet
So how the struts action is going to handle this scenario?
 
MaheshS Kumbhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody please reply
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
doGet/doPost are used in servlets, but Struts is based on Action classes - are you familiar with those? If not, I suggest to work through a Struts tutorial.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic