Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Comment out a line in jsp file, How?

807569Aug 22 2006 — edited Aug 22 2006
How would one comment out the line: <jsp:directive.include file="Readme.html"/> in the jsp file noted below...

The two forward slashes do not appear to work

Many thanks
---------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{Help.page1}" id="page1">
<ui:html binding="#{Help.html1}" id="html1">
<ui:head binding="#{Help.head1}" id="head1" title="Help ">
<ui:link binding="#{Help.link1}" id="link1" url="/resources/stylesheet.css"/>
</ui:head>
<ui:body binding="#{Help.body1}" id="body1" style="-rave-layout: grid">
<ui:form binding="#{Help.form1}" id="form1">
<div style="left: 0px; top: 0px; position: absolute; width: 742px">
<jsp:directive.include file="mastheadPanel.jspf"/>
</div>
<div style="left: 24px; top: 216px; position: absolute; width: 622px">
// <jsp:directive.include file="Readme.html"/>
</div>
</ui:form>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>
-------------------------------------
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2006
Added on Aug 22 2006
1 comment
109 views