Hi,
Typically in the past when I have written my own
controller servlets, I delegate from the doPost & doGet methods to a
process() method much like the Struts ActionServlet. The difference
however is that the method signature for my process method includes a boolean to
indicate whether or not the request originated as a GET or
POST:
public void
process(HttpServletRequest req, HttpServletResponse res, boolean isPost)
...
This
way the framework does not hide that info from the user. Maybe a
future release of struts can incorporate this simple change?
JR
|
- POST and GET method kiatkin
- Re: POST and GET method Spencer Smith
- RE: POST and GET method Morris, John
- RE: POST and GET method Kevin Wang
- Re: POST and GET method kiatkin
- RE: POST and GET method GU,JAMES (HP-Corvallis,ex1)