-1
Good afternoon,
I am using JAVA and JSP to program. I have a JSP variable and need to pass the stored value to the JAVA code.
I need to pass the variable "X" which is in index.jsp to the variable "Y" which is in the main of the indexJava.java
Someone can help me?
Just send the parameters on the command line that will run the program in JAVA.. JSP has the Runtime class: Runtime.getRuntime(). exec('here vc executes the command.. as if it were in a terminal, command prompt'). But logically, I don’t need to comment that the program in JAVA should be ready to receive the parameters.
– Daniel Omine