Patches item #537795, was opened at 2002-04-01 11:47
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=537795&group_id=22866
Category: JBossServer
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stephen Davidson (northgorky)
Assigned to: Nobody/Anonymous (nobody)
Summary: [JETTY]ClassNaming/Mapping Issue
Initial Comment:
When JSPC is run from ant, jsp files in the context
root have a '.' prepended to their name. This results
in the classloader looking for files like
".siteMain.class", which does not exist.
Fix:
retrieving revision 1.6
diff -u -r1.6 JspC.java
--- src/main/org/apache/jasper/JspC.java 11 Mar
2002 05:28:56 -0000 1.6
+++ src/main/org/apache/jasper/JspC.java 1 Apr
2002 17:43:24 -0000
@@ -418,7 +418,11 @@
servletout.write("\n\t<servlet>\n\t\t<servlet-name>");
servletout.write(thisServletName);
servletout.write("</servlet-name>\n\t\t<servlet-class>");
- servletout.write(thisServletName);
+ //HACK: Must trim the leading ".","*",
whatever, from the classname. SPD
+ if
(Character.isLetter(thisServletName.charAt(0)) ||
(thisServletName.charAt(0) == '/') )
+ servletout.write(thisServletName);
+ else
+
servletout.write(thisServletName.substring(1));
servletout.write("</servlet-class>\n\t</servlet>\n");
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=537795&group_id=22866
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development