Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 java 脚本,可以在我的数据上生成字符串。有什么方法可以在我的 Xampp Localhost PHP 上使用 POST 来接收来自 java 程序的数据字符串并在我的 PHP 页面上回显它?
您可以使用HttpURLConnection对象向 localhost 发出请求。请参阅此问题和本教程。
我正在使用 Hibernate 4.1.5.SP1,但在配置会话工厂以与基于注释的类一起使用时遇到问题。我尝试配置它
final Configuration hibConfiguration = new Configuration().configure();