Organizational Research By

Surprising Reserch Topic

boostr.in questions - Question:How to show values from property file in JSP in a spring MVC app


I'm setting my properties in app-servlet.xml with a bean like this:

    
            
    


Most of the time I access the properties in my controllers or other classes like this:

@Value("${dbtype}")
public String dbType;

But what if I want to use a property in a JSP file and bypass the controller. Meaning I don't want the value type being passed from the controller to the JSP as a model attribute.

Is there a way to access properties directly in a jsp?
asked Sep 13, 2013 in Core java by anonymous
edited Sep 12, 2013
0 votes
28 views



Related Hot Questions



Government Jobs Opening


...