Can any one help me to solve this please
<%@page import="myutil.*" %>
<%String input = request.getParameter("s1");%>
<%String occur = request.getParameter("s2");%>
<%int output=B.repeatCount("input","occur");%>
<%=input%>
In the above code , i want to pass the variable of Strings input and occur to the method repeatCount.. can any one suggest how to do it
for example if i get input = abc and occur =qwe
i want to get in the generated servlet as follows:
int output=B.repeatCount("abc","qwe");