speiclised servlet actions
For various reasons, I'm trying to get an Action to call a method on a homemade servlet like so: servlet.getServletContext().checkoutCollection(DPPmfg_cds, trunk,cache); Which, unsurprisingly, does not compile. How does one get an action call methods on servlets? Or am I barking up the wrong tree. The servlet is trying to emulate the database servlet in the example; however, for reasons of speed, I'm trying to get each action to call methods on the servlet. What am I doing wrong? TIA. Roger
Get request and the Action servlet
I would like to use Struts with an action that is initiated by following a link, rather the form-based approach that I can see in the documentation. I would also like the ActionServlet to parse the URI and instantiate my bean with the information from the URI. Is this possible? Sorry if this is a FAQ - I've had a trawl thru the docs, honest. Cheers, Roger
Re: Get request and the Action servlet
Excellent, thanks. The information I want to submit is minimal anyway. I'll have a look at the source. At 08/08/2001 10:21:08, Gregor Rayman [EMAIL PROTECTED] wrote: # [EMAIL PROTECTED] wrote: # # I would like to use Struts with an action that is initiated by following a # link, # rather the form-based approach that I can see in the documentation. I would # also # like the ActionServlet to parse the URI and instantiate my bean with the # information from the URI. Is this possible? # # Sorry if this is a FAQ - I've had a trawl thru the docs, honest. # # Cheers, # # Roger # # # A link is for the server the same thing as a form with GET method. # It works with struts without problems. (Of course, you cannot submit # as much data as with POST. But this is a limitation of HTTP) # # -- # gR # Roger