I am trying to run the following code in my jsp. I have imported the java classes in my jsp page. but i am not able to pass the request objects in the java method when I am calling the java method from within the scriptlets.
Can anyone please help me as soon as possible.
Below is a code snippet from my jsp.
Thank you for the quick response.
Can you please elaborate abit more. I am working on a struts application and do not have a servlet. I need to do this from the scriptlet itself.
Please let me know how can i correct this peice of code.