Organizational Research By

Surprising Reserch Topic

How to avoid Java Code in JSP-Files?

I'm new to Java EE and I know that something like the following three lines

<%= x+1 %>
<%= request.getParameter("name") %>
<%! counter++; %>

is an oldschool way of coding and in JSP version 2 there exists a method to avoid Java code in JSP files. Can someone please tell me the alternative JSP 2 lines, and how this technique is called?

asked May 21, 2015 in JSP by rajesh
0 votes

Related Hot Questions

1 Answer

0 votes
answered May 21, 2015 by rajesh