This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes wsad 5 unable to find recources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "wsad 5 unable to find recources" Watch "wsad 5 unable to find recources" New topic

wsad 5 unable to find recources

martijn van der veek

Joined: Mar 17, 2003
Posts: 4
I recently switched from wsad 4.0.3 to wsad5 and encountered the following
I have a problem of reading .properties files
I'm working with a web project en the property file is located in de source
directory. When the project is build it is automicaly copied to the output
Problem is in wsad 4.0.3 it worked perfectly and in wsad 5 im getting a
Below are some code fragments of the call to retrieve a string from a
.properties file.
First the structure of my project
- Java source
- Web Content
- classes
- packageX.Y.Z.MyServlet.class
Extra info: I make use of an addition class to extract the string, this
class is called and is located in a utility jar which
is located in the EAR.
Properties prop = System.getProperties();
PropertiesImporter.getPropertyValue("test", "functional.test.url"));
public static String getPropertyValue(String propertyFilename, String
propertyKey) {
try {
} catch (java.util.MissingResourceException e) {
return null;
! IN WSAD4 this code worked.
I hope somebody has an answer for my why this code doesn't work in WSAD5.
With kind regards,
martijn van der Veek
[ March 17, 2003: Message edited by: martijn van der veek ]
I agree. Here's the link:
subject: wsad 5 unable to find recources
Similar Threads
recources in wsad5 webprojects
WSAD5 ejb code generation problem
wsad 4.0.3 linkageerror
WSAD 5 Web Project Testing
properties file in websphere