I would like to send parameters from a java file that does a specific job to index.jsp file. How to achieve it? Basically my application gets data from wsdl link and java file processes it. And I want to pass the output of java file to jsp.
Thanks in advance.
request.setAttribute("value",valueFromWSDL);
This can be set in the java.
In the index.jsp you can use
request.getAttribut("value");
to obtain the value
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.