HTTP Status 500-java.lang.classnotfoundexception:org.apache.jsp.register_jsp

Source: Internet
Author: User

Would you like to search your page for <!----> comments?

Change to JSP comment

1). HTML comments in a JSP page
The HTML annotations in the SP page are created using "<!-" and "--", as shown in the following form:
<!--comment Content--
When it appears on a JSP page, the micro-mushroom will not be added to the JSP response as is, and will appear in the generated HTML code, which will be sent to the browser, and then the browser is responsible for ignoring this comment. Because HTML annotations are not simply ignored by JSPs, they can contain inline dynamic content. The JSP expression within the HTML comment will be evaluated and executed and sent to the browser's response.

(2). Common annotations in JSP pages
Common annotations in JSP pages refer to the following two styles of annotation methods:
<%//comment content%> <%/* Comment content */%>
The above two annotations are ignored by the browser.

(3). Hidden annotations in JSP pages
The hidden comments in the JSP statement are embedded in the source code of the JSP program, and the purpose of using hidden annotations is not provided to the user, it can achieve two purposes: one of the hidden annotations in JSP statements is designed for the convenience of programming and developers to read programs, and to enhance the readability of the program. A good comment style for a good programmer is important for the entire project development team and for long-term use.
The second purpose of hidden annotations in JSP statements is to enhance the readability of the program while taking into account the security of the program system, if users view the JSP page through a Web browser, they cannot see the contents of the comment in the hidden comment.
Hidden annotations in JSP pages are created using "<%--" and "--%>", which are in the following form: <%--comment content--%>

HTTP Status 500-java.lang.classnotfoundexception:org.apache.jsp.register_jsp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.