|
Revision 394, 0.7 kB
(checked in by chris, 3 years ago)
|
Fix problem with being unable to create an LS for clauses with no
predicate, e.g. Gen 3,5(f).
Reorganised jsp directory to separate includes and css from jsp pages.
Renamed lsedit.jsp to lexicon.jsp.
Added a controller for lexicon.jsp.
Moved tests into their own package.
Separated finished and unfinished tests to make it easier to run all the
finished and working ones.
|
| Line | |
|---|
| 1 |
<% String pageTitle = "Error"; %> |
|---|
| 2 |
<%@ include file="header2.jsp" %> |
|---|
| 3 |
|
|---|
| 4 |
<%@ page import="java.io.PrintWriter" %> |
|---|
| 5 |
<%@ page import="java.io.StringWriter" %> |
|---|
| 6 |
|
|---|
| 7 |
<p> |
|---|
| 8 |
Sorry, you found a bug in Lex. Please report it |
|---|
| 9 |
to the author by sending an email to Chris Wilson at |
|---|
| 10 |
<a href="mailto:chris-lexerror@qwirx.com">chris-lexerror@qwirx.com</a>. |
|---|
| 11 |
</p> |
|---|
| 12 |
|
|---|
| 13 |
<p><% |
|---|
| 14 |
Throwable exception = (Throwable)( |
|---|
| 15 |
request.getAttribute( |
|---|
| 16 |
"javax.servlet.jsp.jspException")); |
|---|
| 17 |
%></p> |
|---|
| 18 |
|
|---|
| 19 |
<p>The error was: <b><%= exception == null ? "null" : exception.toString() %></b>. |
|---|
| 20 |
</p> |
|---|
| 21 |
|
|---|
| 22 |
<% |
|---|
| 23 |
StringWriter sw = new StringWriter(); |
|---|
| 24 |
PrintWriter pw = new PrintWriter(sw); |
|---|
| 25 |
if (exception != null) exception.printStackTrace(pw); |
|---|
| 26 |
%> |
|---|
| 27 |
<pre> |
|---|
| 28 |
<%= sw.toString() %> |
|---|
| 29 |
</pre> |
|---|
| 30 |
|
|---|
| 31 |
<%@ include file="include/footer.jsp" %> |
|---|