Some pages can receive a certain request parameter called "P1":
page.do?P1=value1
Right now a scriptlet is testing the existence of the request parameter, and if P1 is "value1" some information is rendered on the page .
Instead of using a scriptlet I want to rewrite this using Struts tags .
Can you please give me some hints on what to use ?
The alternative scriptlet is something like this:
<%
String p1 = request.getParameter("P1");
if ("value1".equals(p1)) {
//do something
}
%>