I'm actually reading a ref. book by marty hall. I still don't know were to define the parameter ? Could you be more specific please. Is it possible to embed the parameter definition, instead of create a text item and etc... thanks. [ June 26, 2002: Message edited by: Ayman Jaffar ]
So what would happen if you used the first URL to view your jsp page? When you try to retrieve the value of testParam from the querystring (by calling request.getParameter() ), you will get 'null' printed out. This is only appropriate, since you didn't send a querystring containing that parameter.
There is no real way to 'fake' a request parameter (ie: you can't declare it as a variable in your JSP, and then expect request.getParameter to find it). But for 'quick and dirty', you can make it a hidden field in the form that submits to the jsp in question. [ June 26, 2002: Message edited by: Mike Curwen ]