Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within EJB and other Jakarta /Java EE Technologies
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
EJB and other Jakarta /Java EE Technologies
IOException problem
Suresh Sankar
Greenhorn
Posts: 14
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi all,
i am trying to read a text file from
EJB
.
how AppServer can understand the path of my text file from Bean.
i have to give the path from jar file name onwords or any other way.
waiting for reply thanks in advance
Mohana Murali
Greenhorn
Posts: 27
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Keep your text file in class path. Try reading from ClassLoader as stream.
What a show! What atmosphere! What fun! What a tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Reading File from outside the WEBROOT
insert image with swing
passing in a file from the command line-----seeing a NullPointerException
escaped absolute path not valid
take in file from client machine
More...