ruts Users Mailing List
Subject: RE: [OT] Re: Iterate through blah.properties file
Actually it doesn't matter whether it's a servlet or a jsp. A JSP is a
servlet after all. Now granted this is way off topic, and I would be
like wendy and do it in an action then put the properties (or s
iling List
Subject: RE: [OT] Re: Iterate through blah.properties file
Actually it doesn't matter whether it's a servlet or a jsp. A JSP is a
servlet after all. Now granted this is way off topic, and I would be
like wendy and do it in an action then put the properties (or some other
collect
(String)e.nextElement();
String val = props.getProperty(key);
%>
<%= key %>
<%= val %>
<%
}
%>
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 4:29 PM
To: Struts Users Mailing List
Subj
From: "Brian McGovern" <[EMAIL PROTECTED]>
> Thanks. I figured I know I can get it to work in servlet code but im
hoping to avoid that.
> I know that single properties are made available by the framework in
taglibs like this key="error.application_error" />. Ther has to be a simple way to just ge
. Right?
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 5:07 PM
To: Struts Users Mailing List
Subject: [OT] Re: Iterate through blah.properties file
From: "Brian McGovern" <[EMAIL PROTECTED]>
> Can someone tell me how t
From: "Brian McGovern" <[EMAIL PROTECTED]>
> Can someone tell me how to iterate through a properties file in my JSP.
> I want to grab the keys and values for everythign within a certin
Blah.properties file
> in my class path and display on the page.
Here's part of a Factory class I use in my DAO l
Can someone tell me how to iterate through a properties file in my JSP. I want
to grab the keys and values for everythign within a certin Blah.properties file
in my class path and display on the page.
This has to be possible.
-Thanks
-B
7 matches
Mail list logo