Hi Tsang,
First of all thanks for your reply. I can really understand now the concept of tag <spring: message >
however i still have one doubt related to it and just wanted to confirm
In my index page, will the <spring:message> tag will ever be executed? Will the value of variable
"title.welcomeMsg" from required properties file be displayed here?
(i guess no, because before coming to this line, control of flow is being passed on to controller for the link
"login/directLogin.htm" and flow goes to loginPage.jsp
page from the controller.Also i am not getting value of variable "title.welcomeMsg" getting displayed on loginPage.jsp page). I am just trying to understand the
purpose of putting
on index.jsp.
2nd
Regarding
<Context-Param> tag,
I dont see this tag used for every spring application. Say for example in hello world example
HelloWorldInSpring
So when you say
"this tag is used to tell the web-app where to load Spring configuration", does not it gets loaded in hello world example above?
So basically just wanted to understand what is the difference when we use and don't use
tag with
is there some default loading/picking when we dont mention this ?