简体   繁体   English

在Java Web应用程序中将sql2java.properties放在哪里?

[英]Where to put sql2java.properties in Java web application?

I'm new to Java development. 我是Java开发的新手。

I have a web site and it builds very well, but it doesn't copy the file sql2java.properties . 我有一个网站,它的构建非常好,但是没有复制文件sql2java.properties Also, I get an SQL error connection, I think is because this file does not exist in files. 另外,我得到一个SQL错误连接,我认为是因为该文件在文件中不存在。

Where do I put the file sql2java.properties ? 我将sql2java.properties文件sql2java.properties哪里?

My path is: 我的路径是:

+build
   +empyt
   +web
       +admin
       +files
       index.html
       +META-INF
       +site
       +WEB-INF

http://sql2java.sourceforge.net/example.html上查看示例项目-它应该使您了解如何配置应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM