aspose file tools*
The moose likes Struts and the fly likes doPost in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "doPost in struts2" Watch "doPost in struts2" New topic
Author

doPost in struts2

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
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?

I am slow but sure
MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
Can anybody please reply
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: doPost in struts2