No you can't hide the String but you could always put it in a normal Java Class or a Custom Tag and call that from the JSP. Also, if your Application Server handles the Connection Pools or DataSources (most do) than you could have the connection information configured in the Server and just get a Connection from the JSP.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.