Hi Guys!I have a question on
struts, here's the scenario.I had an application,
servlet -
jsp.
I used the servlet as the controller and jsp as the viewer. the servlet doGet method is used for query the database and forwarding the data to the specified viewer, while its doPost method i used it from saving records to the database(insert,edit,delete).im only using one servlet.
my problem is this, in struts how will i know if the "get" or "post" method of the form is being called in the method execute(Action class)?Should i used a separate action class for this?
thanks.
raymond