ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What are JSP output Comments?

user-image
تم إضافة السؤال من قبل Mohd Nadeem Mohd Rehman Mohammed , Software Engineer , Softworx Technologies
تاريخ النشر: 2016/10/13
Hatrove Melani
من قبل Hatrove Melani , Admin Staff , Lebsack PLC PLC

Text or statements that the JSP container should disregard are marked with JSP comments. When you want to "comment out" or hide a section of your JSP page, you can use a JSP comment.

fnf mod

soubhagya kumar bitt
من قبل soubhagya kumar bitt , Technical Lead , IBM india

comment that is sent to the client in the viewable page source.The JSPengine handles an output comment as uninterpreted HTML text, returning thecomment in the HTML output sent to the client. You can see the comment by viewing the page source from your Web browser.

mohammad maraqa
من قبل mohammad maraqa , Head of IT / Project Manager , Amlaki / Abu Dhabi Municipality

there is two types of comments in JSP 

 

Example of hidden comment:

<%--Thisis hidden comment --%>

Example of output comment :

<!-- This is output comment -->The only difference is that the output comment will appear in the source of the jsp page while the hidden will not appear , note that both comments will skipped by the compiler

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟