0

I am actually trying to learn JSP. My question is related to scripting elements. In particular in JSP page I found this:

--%><%--
--%><%@ include file="/common.jsp" %><%--
--%><%@ page errorPage="/ck/bs/error/startError.jsp" %><%--
--%><%@ page import="browser.client.jsp.Session" %><%--
--%><%--

Can anyone tell me what are "--%><%--" at beginning and end each line code? Thanks a lot!

1
  • Where did you find that? <%-- comment --%> is a comment. But what you posted is invalid code. Commented Jun 5, 2016 at 18:14

1 Answer 1

1
<%--  this scriptlet is use for comment in JSP   --%>

You didn't get it proper so that you confused.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.