Re: use an http attribute in an action

2003-06-16 Thread Lionel Crine
Here is what I did from a post (input type="file"). I don't know if this that you need!! this is the upload of an illustration : Request request = ObjectModelHelper.getRequest(objectModel); Enumeration e = request.getParameterNames(); while (e.hasMoreElements()) { String param = (String) e.nex

Re: use an http attribute in an action

2003-06-16 Thread Olivier GUCKERT
Lionel Crine a écrit : > > you can try : > > public Map act (Redirector redirector, SourceResolver resolver, Map > objectModel, String src, Parameters parameters) > throws Exception { > Request request = ObjectModelHelper.getRequest(objectModel); > String num = request.getParameter("numero"); >

Re: use an http attribute in an action

2003-06-12 Thread Lionel Crine
you can try : public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws Exception { Request request = ObjectModelHelper.getRequest(objectModel); String num = request.getParameter("numero"); String protection = request.getParameter("

use an http attribute in an action

2003-06-12 Thread Olivier GUCKERT
Hello all, Y have a HTTP request like : chargement-decision.html?numero=3805&protection=inter and y want to use the numero and protection attributes in an action. Do some one know how to do that ? Thanks - To unsubscribe, e-m