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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!