Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » jsp editing
jsp editing [message #12362] Fri, 02 May 2003 16:17
Eclipse UserFriend
Originally posted by: jknapp.dcti.com

When trying to edit JSP's both with and without the lomboz plugin I am
running into some odd behavior. When I get to a certain line in this example
from the wrox Beginning J2EE 1.4 book the editor starts to type backwards.
Is there a way to resolve this, is this a known issue?

This is the file I am trying to type in. I have commented where the editor
freaks out.


<%@ page errorPage="/WEB-INF/errorPage.jsp"
import="java.util.Iterator,Ch03.FaqCategories" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Java FAQ Welcome Page</title>
</head>

<body>
<h1>Java FAQ Welcome Page</h1>

Welcome to the Java FAQ

<%! FaqCategories faqs = new FaqCategories(); %>
Click a link below for answers to the given topic.

<%
Iterator categories = new faqs.getAllCategories();
while (categories.hasNext())
{

//********************************************************** *********
//After this %> the type starts typing from back to front.
//Has anyone seen this before and can tell me how to resolve it.
//********************************************************** **********
%>
<p><a href="/<%= replaceUnderscore(category) %>"<%= category %></a></p>

<%
}
%>

<%@ include file="/WEB-INF/footer.jspf" %>

</body>
</html>

<%!
public String replaceUndersore(String s)
{
return s.replace(' ','_');
}
%>

Thanks in Advance Jer
Previous Topic:How to make Ant errors/warnings appear in Tasks?
Next Topic:Ctrl+Space for Code Assistant and Template code generation not working
Goto Forum:
  


Current Time: Sat Aug 31 23:37:07 GMT 2024

Powered by FUDForum. Page generated in 0.02392 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top