You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ari Volcoff <ar...@portalprise.com> on 2000/11/14 16:44:52 UTC

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_0005f\Online\Templ
ates\Classes\Forums_0005fObject_0005fClass\Ari\_0002f_0002e_0002e_0002fOnlin
e_0002fTemplates_0002fClasses_0002fForums_0005fObject_0005fClass_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
-----------------------------


Re: long file names when compiling *.jsp files

Posted by Pierre Delisle <pi...@sun.com>.
By searching the archive at
  http://archives.real-time.com/rte-tomcat/

[see "READ THIS First! Mailing-list archive and good tips" posted periodically
on this list]

you will find:
http://archives2.real-time.com/pipermail/tomcat-users/2000-August/008481.html

that gives the details about long JSP filenames and what can 
be done to make them smaller.

	-- Pierre

Ari Volcoff wrote:
> 
> 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_0005f\Online\Templ
> ates\Classes\Forums_0005fObject_0005fClass\Ari\_0002f_0002e_0002e_0002fOnlin
> e_0002fTemplates_0002fClasses_0002fForums_0005fObject_0005fClass_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
> -----------------------------