RE: trouble precompiling JSPs

2003-07-21 Thread Abid Ali Teepo

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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: trouble precompiling JSPs

2003-07-21 Thread Atreya Basu
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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]