Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将执行特定工作的 java 文件中的参数发送到 index.jsp 文件。如何实现?基本上,我的应用程序从 wsdl 链接获取数据,然后 java 文件对其进行处理。我想将java文件的输出传递给jsp。
提前致谢。
request.setAttribute("value",valueFromWSDL);
这个可以在java中设置。
在 index.jsp 你可以使用
request.getAttribut("value");
获得价值