Hello.
I am quite new to
JSP and
Java.
I am working on an application where I intend to
use the USEBEAN-tag to invoke a JavaBean that
will read an ordinary inputfile (.txt).
My problem is this:
How can I pass a parameter to this Javabean to
tell what PATH this file is in ?
Or is there a way that this JavaBean can find
out that by itself ?
==> is there i.e any way a JavaBean can read
files in an init-method or constructor-
method where the files is kept in an
spesific path ? (I think of the way
Servlets has its config-files. With this kind of
technique the PATH-information could i.e
be a value in a 'config'-parameter.)
hope anyone can help me !
I read Javaranch a lot and find it very useful !!!