No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
So, I'm using two jsps: test1.jsp and test2.jsp. I'm importing the second in the first using c:import. I'm able to pass in a value to test2 using c:param. How do I a) use this value as a variable in test2 and b) pass back a variable to test1? Some example … |
|
Hi. I have two files, one HTML/Javascript and the other JSP. They run on different servers. I need the HTML/Javascript file to communicate with the JSP. Basically, I need to run the HTML/Javascript, pass in a variable to the JSP, run the JSP, and pass a variable back to the … |
|
Hello, I am having trouble getting my c:param working. I've looked all around the web for a solution. Here's some of the code that I have: test.jsp <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" language="java" errorPage="" %> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <html> <head> </head> <body> <c:import url="test2.jsp" > <c:param name="testVar" value="0" … |