#1218 Support for JSP files

Next_Release
open
nobody
Capacity (217)
5
2014-09-09
2008-10-03
Anonymous
No

I would like request the support for JSP files in Notepad++.

Currently I´m using HTML support but it does not recognizes taglibs tags (e.g. struts).

I put an example below. It´s a JSP page. I use HTML support, but JSP and taglib tags are not recognized:

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<link href="<s:url value='/css/main.css'/>" rel="stylesheet" type="text/css"/>
<title><s:text name="label.employees"/></title>
</head>
<body>
<div class="titleDiv"><s:text name="application.title"/></div>
<h1><s:text name="label.employees"/></h1>
<s:url id="url" action="crud!input" />
<a href="<s:property value="#url"/>">Add New Employee</a>
<br/><br/>
<table class="borderAll">
<tr>
<th><s:text name="label.firstName"/></th>
<th><s:text name="label.lastName"/></th>
<th><s:text name="label.age"/></th>
<th><s:text name="label.department"/></th>
<th>&nbsp;</th>
</tr>
<s:iterator value="employees" status="status">
<tr class="<s:if test="#status.even">even</s:if><s:else>odd</s:else>">
<td class="nowrap"><s:property value="firstName"/></td>
<td class="nowrap"><s:property value="lastName"/></td>
<td class="nowrap"><s:property value="age"/></td>
<td class="nowrap"><s:property value="department.name"/></td>
<td class="nowrap">
<s:url action="crud!input" id="url">
<s:param name="employee.employeeId" value="employeeId"/>
</s:url>
<a href="<s:property value="#url"/>">Edit</a>
&nbsp;&nbsp;&nbsp;
<s:url action="crud!delete" id="url">
<s:param name="employee.employeeId" value="employeeId"/>
</s:url>
<a href="<s:property value="#url"/>">Delete</a>
</td>
</tr>
</s:iterator>
</table>
</body>
</html>

Related

Feature Requests: #1059
Feature Requests: #1259
Feature Requests: #1344
Feature Requests: #569

Discussion

  • Jeremy
    Jeremy
    2008-11-13

    Is there a way to set something to always use html syntax highlighting for JSPs

     
  • comment2, <a href= "http://www.imechanica.org/user/11867" >Nice paris hilton sex tape</a><br>, 748, <a href= "http://www.imechanica.org/user/11870" >Best very short skirts</a><br>, >:DDD, <a href= "http://www.imechanica.org/user/11866" >Kim Kardashian Sex Tape Photos</a><br>, :-))), <a href= "http://www.imechanica.org/user/11869" >Pamela Anderson Sex Tape All Kinds</a><br>, thuhsb, <a href= "http://www.imechanica.org/user/11868" >Ray J Sex Tape Now</a><br>, 568,