Some pages may receive a specific request parameter called "P1":
page.do?P1=value1
The scriptlet is currently checking for the existence of the query parameter, and if P1 is "value1", some information is displayed on the page.
Instead of using a script, I want to rewrite this with Struts tags.
Could you give me some tips on what to use?
An alternative scriptlet looks something like this:
<% String p1 = request.getParameter("P1"); if ("value1".equals(p1)) {
Andrei Ciobanu
source share