forum

home / developersection / forums / how to avoid java code in jsp-files?

How to avoid Java Code in JSP-Files?

Anonymous User 1968 07-May-2015
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?

java java  jsp 
Updated on 07-May-2015
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By