tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Fenn" <pa...@augusta.de>
Subject [HELP] Problem: Win32Tomcat vs. Linux-Tomcat
Date Tue, 22 Aug 2000 17:30:34 GMT
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

Mime
View raw message