I'm realising a Java-backed WebScript GET/POST. I have already coded the GET part and I'd like to know how to get in POST the values introduced in the HTML form displayed by the GET. Is it always necessary to extend the same class (DeclarativeWebScript) or another? Which method must I use to get parameters from the form?
Processing a POST webscript works exactly like processing the GET webscript, you use the exact same inherit class and the extact same Java calls to retrieve the parameters. However, you can not access binary parameters from multi-part posts due to a bug in the webscript code … which means that for file uploads, you may have to use a javascript controller.