tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RAJESH KANNAN" <rajeshk_an...@hotmail.com>
Subject createNewFile method not found error(JSP)-Peculiar problem(Help please)
Date Thu, 01 Jan 1970 00:00:00 GMT


Hi all,

In my JSP,I am using the following code segment.

java.io.File statusFile     = new java.io.File("d:/temp/test1);
statusFile.createNewFile();

I am using TOMCAT 3.2.3 in Windows2000 machine.(JDK1.3) It is throwing
following error.

org.apache.jasper.JasperException: Unable to compile class for
JSPD:\jakarta-tomcat-3.2.3\work\localhost_8080%2FWindchillConnector6\_0002fjsp_0002fWindchillServerConfig_0005fGUI_0005f
write_0002ejspWindchillServerConfig_0005fGUI_0005fwrite_jsp_0.java:431:
Method createNewFile() not found in class
java.io.File.
                    statusFile.createNewFile();
                                            ^
1 error

Can any one of you throw some light on this? I don't understand this
problem.


With Regards
K.RajeshKannan


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message