tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atreya Basu <atr...@greenfieldresearch.ca>
Subject RE: trouble precompiling JSPs
Date Mon, 21 Jul 2003 13:56:41 GMT
No unfortunately that didn't help.

Here is what I typed:
./jspc.sh /tmp/Stoichiometric.jsp

What I got in return was:
        at org.apache.jasper.JspC.locateUriRoot(JspC.java:628)
        at org.apache.jasper.JspC.execute(JspC.java:759)
        at org.apache.jasper.JspC.main(JspC.java:823)


If I typed:
./jspc.sh -uriroot /usr/web/cfbcad/webapps/ROOT -d /tmp
/tmp/Stoichiometric.jsp

I got a file called Stoichiometric_jsp.java but it was empty.

What am I doing wrong?
_____________________________________
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca

-----Original Message-----
From: Abid Ali Teepo [mailto:abid.ali.teepo@mogul.no] 
Sent: July 21, 2003 4:59 AM
To: Tomcat Users List
Subject: RE: trouble precompiling JSPs


i think there should be no space between -d and the path, and no space
between the two paths, i think u must use ; to separate the paths ...

-----Original Message-----
From: Atreya Basu [mailto:atreya@greenfieldresearch.ca]
Sent: 21. juli 2003 06:09
To: Tomcat Users List
Subject: trouble precompiling JSPs


Hello,

I'm having some difficulty pre-compiling my JSPs.  Could anyone give 
some insight into this?

I type:
jspc -d d:/psx_apps/WEB_INF d:\Projects\PSX_Gotter_2\CheckStatus.jsp

and I get:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
        at org.apache.jasper.JspC.locateUriRoot(JspC.java:628)
        at org.apache.jasper.JspC.execute(JspC.java:759)
        at org.apache.jasper.JspC.main(JspC.java:823)


Any ideas anyone?

-- 
____________________________________
Developer
Greenfield Research Inc.
atreya(AT)greenfieldresearch(DOT)ca
(902)422-9426




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message