tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woods, Jason" <jason.wo...@vignette.com>
Subject RE: long file names when compiling *.jsp files
Date Wed, 15 Nov 2000 15:16:00 GMT

I don't believe there is a way around this (without changing the code).  The
Jasper compiler (JspCompiler I believe) will always encode non-characters -
so any digit or special character will get encoded.  Does anybody know why
this is so?

The problem is exacerbated because it makes the directory structure a part
of the filename - it doesn't retain the directory structure in it's working
directory, but instead crams all the path info into the filename.  In my
opinion this isn't a very good way to do things.

FYI, I know WebLogic doesn't have this problem.

- Jason


> -----Original Message-----
> From: Ari Volcoff [mailto:ari@portalprise.com]
> Sent: Wednesday, November 15, 2000 8:47 AM
> To: tomcat-user@jakarta.apache.org
> Subject: long file names when compiling *.jsp files
> 
> 
> 
> We receive this message when trying to run a jsp file
> 
> Internal Servlet Error:
> 
> org.apache.jasper.JasperException: Unable to compile class 
> for JSPerror:
> Can't write:
> D:\jdk1.3\jakarta-tomcat\work\localhost_8080%2FRio\_0005f_0005
> f\Online\Templ
> ates\Classes\Forums_0005fObject_0005fClass\Ari\_0002f_0002e_00
> 02e_0002fOnlin
> e_0002fTemplates_0002fClasses_0002fForums_0005fObject_0005fCla
> ss_0002fAri_00
> 02ftest_00031_0002ejsptest1_jsp_0.class
> 1 error
> 
> this is because there is a limit of 260 characters for a file 
> name on the NT
> Platform !
> 
> is there a way to overcome this problem ?
> 
> 
> Regards
> 
> Ari Volcoff
> -----------------------------
>  http://www.portalprise.com
> 
>        Tel: 972-3-6164116
>        Extension: 210
> 
>        Fax: 972-3-6164136
> 
> HomePage: http://come.to/ari1
> -----------------------------
> 

Mime
View raw message