Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

comment html java in a jsp 1

Status
Not open for further replies.

DeSn

Programmer
Nov 20, 2001
111
BE
Can anyone tell me how I can put a peace of code that containts html and java (link in the example below) in comment without putting the html and the java separately in comment?

<td>
<% if (ApplicatieWijzigenController.getAantalBeheerders() > 1) { %>
<input type=&quot;submit&quot; value=&quot;Verwijderen1&quot;>
<% } else { %>
<input type=&quot;submit&quot; value=&quot;Verwijderen2&quot;>
<% } %>
 
I'm not exactly sure what you're wanting, but to comment out html, put a <!-- and --> around it. Maybe try putting these around the code you posted and see if that works. I don't know if that'll work with the jsp code though I assume it would.

Kevin
A+, Network+, MCP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top