> Manoj Mansukhani wrote:
>
> hi
>
> i am new to java and java servlets.  i have been working
> extensively in cgi and perl and now wish to upgrade
> to java servlets
>
> if anyone can please help me to find out as to how does
> one go about accessing a flat file database using java
> servlets.  the flat file database is a basically a text file
> with fields delimited by the "|" character.

You can use the File class to open the file and process the
lines, but even better would to import your data into a real, but
simple, database. Check out InstantDB at http://www.instantdb.co.uk/
It's pure Java and has a native JDBC driver interface so you can
use SQL to process your data but doesn't require a separate database
process.

--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

___________________________________________________________________________
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