Question: java In a JSP, we want to compare two integers stored in the URL parameters using JSTL. Assume that these two integers are stored under
java
In a JSP, we want to compare two integers stored in the URL parameters using JSTL. Assume that these two integers are stored under the parameter names num1 and num2. If these two numbers are equal, print out the string same; otherwise, print out the string different.
Ans:
In a JSP, we want to compare two integers stored in the request scope using JSTL. Assume that these two integers are stored under the attributes num1 and num2. If these two numbers are equal, print out the string same; otherwise, print out the string different.
Ans:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
