You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Martin Fenn <pa...@augusta.de> on 2000/08/22 19:30:34 UTC
[HELP] Problem: Win32Tomcat vs. Linux-Tomcat
Hi all,
I have a little problem with the Tomcat 3.1 version for Win32 and
Linux - or should I say: between.
I develop my JSP-Codes and Beans with Win and I test the Scripts
there, too. Wonderfull, they're running!
But: even when I put the codes to the production machine (a Linux-
Computer with also a Tomcat 3.1), and click at the links (*.jsp-
Files), I get the following Errormessage:
Example 1:
> org.apache.jasper.JasperException: Unable to compile class for
> JSPwork/localhost_8080%2Fcdh/_0002fcdhadmin_0002flogin_0002einc_0002ej
> splogin_0002einc_jsp_2.java:120: Invalid escape character.
> JspRuntimeLibrary.introspecthelper(pageContext.findAtt
> ribute("btnlogin"),
> "link","javascript:document.anmelden.submit\(\)\;",nul
> l,null, false);
> ^
etc.
Funny: I didn't escaped this code, it's a String! Funny two: since
when we do escape brackets?
Example 2 (it seems the same Error):
> org.apache.jasper.JasperException: Unable to compile class for
> JSPwork/localhost_8080%2Fcdh/_0002fnews_0002fnews_0005finput_0002ejspn
> ews_0005finput_jsp_1.java:205: Invalid escape character.
> JspRuntimeLibrary.introspecthelper(pageContext.findAtt
> ribute("btnlogin"),
> "link","javascript:document.newinput.submit\(\)",null,
> null, false);
> ^
Could someone explain me, what happened, and what I have to do
against the error?
Thanks,
bye,
Martin
P.S.: here the JSP-Code-Snippet of Example 1 (it is references a
Bean, which should be ok - under Win32 :-/ ):
<jsp:useBean id="btnlogin" scope="page"
class="cdh.html.FormButton"/>
<jsp:setProperty name="btnlogin" property="formName"
value="anmelden"/>
<jsp:setProperty name="btnlogin" property="button"
value="loginbutton"/>
<jsp:setProperty name="btnlogin" property="toolTip"
value="Login"/>
<jsp:setProperty name="btnlogin" property="link"
value="javascript:document.anmelden.submit();"/>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<jsp:getProperty name="btnlogin" property="button"/>
______________________________________________________________________________
Diese Nachricht besteht zu 100% aus chlorfrei gebleichten,
gluecklichen und zufriedenen Elektronen
Martin Fenn
palim@augusta.de martin.fenn@student.fh-reutlingen.de
______________________________________
http://www.augusta.de/~palim /\ /\ |
/ \/ \ |---
_____________________________/ \|
LOOK: http://www-wi.fh-reutlingen.de