In JSP,how i will read the link from properties file
and display that page when i click the link.
x.properties file which contains
In jsp file how i call the x.properties file and in the jsp page when i click Terms it will display the content of Terms.html data.
Could you please guide me for the needful?
Thanks and Regards
[ December 23, 2008: Message edited by: seetharaman venkatasamy ]
Originally posted by sumanta panda:
I agreed.But Could you please guide me how to start this thing in technically.I am a beginner in Jsp programming.Please
i request you to all guide me in technically how to resolve it.
Thanks a lot in Advance.
U can use
<% ResourceBundle rb = ResourceBundle.getBundle("com.bean.messages");
String displayImage = rb.getString("displayImage");
where messages is properties file (messages.properties)
and com.bean.messages is complete path of that file.