Is it possible to get the key value of any property file through JSP..
Let me explain..
I have following keys in my application.properties file.
it has
my.a=http://apple.com
my.b=http://ball.com
my.c=http://cat.com

Now i want to access this from my jsp..
i tried to access like this..
<fmt:message id="alphabets" key="my.a" />
I was able to access!
But problem is if i want to put it with in

<a href=" Here i want "my.a" "></a>

how do i do that so that in the web page it comes as http://apple.com with hyperlink??

any body there!
I tried something like this..
<span id='url'><fmt:message id="alphabets" key="my.a" /></span>

But how do i put it in href... Stucked! Any one?

yes it is possibe,i have already done this one

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.