HI,

im very stuck on the following problem
a have Servlet which invokes a class this class invokes another class which reads from 
a binary file
the timedistance between two postalcodes...
when i replace this by a mainfunction it works perfectly...

my config is as follows:

javawebserver 1.1.3
java 1.22 on server and client
classpath not set because uses the working dir.

my function uses the following to access the file...
public int ReadIndex(int travelValue)
  throws IOException

  {

    int travel;
   //travelValue = Index[travelValue];
    LogTD record;

        record = new LogTD();
        leraf = new LERandomAccessFile("matrix.ra", "r");

        leraf.seek( (travelValue) * record.size() );
        record.read(leraf);
         travelValue = record.getTime();



   return travelValue;


  }

can someone hellp me some further...???

thanks a lot...
robert

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to