Menu

key in resource.properties

Help
sandra81
2005-04-06
2013-06-03
  • sandra81

    sandra81 - 2005-04-06

    Hi everybody,

    I would to know if I can use a key of my application resource file in a java code.
    for example, in my_page.jsp :
    <html>
    <head>
    <% try {
        Connection con = DriverManager.getConnection(key1,key2,key3);
           
        String queryString = .....
    ....
    %>
    </head>
    <body>
    ...

    Thanks in advanced

     
    • Henner Kollmann

      Henner Kollmann - 2005-04-06

      See MessageResources class for details!

      Henner

       

Log in to post a comment.

MongoDB Logo MongoDB