Results 1 to 3 of 3
- 04-18-2011, 08:29 AM #1
Member
- Join Date
- Mar 2011
- Posts
- 52
- Rep Power
- 0
Can we pass Parameter to the method through properties File.
Hi All,
Can we pass Parameter to the method through properties File.
I want to use name from properties file into mymethod.Java Code:Properties props = new Properties(); props.load(new FileInputStream("MyProp.properties")); message = props.getProperty("name"); JOptionPane.showMessageDialog(Form.this, message); MyMethod(message,10);
Please Help me.
Thanks in Advance...
- 04-18-2011, 09:14 AM #2
What happened when you tried it?
db
edit And don't double post, it wastes people's time.
Abuse reported.Last edited by DarrylBurke; 04-18-2011 at 09:19 AM.
- 04-18-2011, 09:41 AM #3
Member
- Join Date
- Mar 2011
- Posts
- 52
- Rep Power
- 0
Similar Threads
-
Can i Pass a variable as a parameter from one method to other method
By Anagha in forum New To JavaReplies: 18Last Post: 04-18-2011, 05:39 AM -
Unable to pass parameter to servlet through JSP
By nn12 in forum New To JavaReplies: 1Last Post: 03-11-2011, 01:55 PM -
Passing parameter from JApplet to php file using POST method
By mneskovic in forum New To JavaReplies: 10Last Post: 08-05-2010, 05:27 PM -
how to pass parameter from one jsp to another jsp
By kader_sit in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 06-10-2010, 02:04 PM -
I can't seem to pass a file through a parameter
By daletron3030 in forum New To JavaReplies: 5Last Post: 01-15-2009, 06:07 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks