|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Stronghold
Hello!
Is there anyone who knows anything about Stronghold? I have an application that connects to a Servlet and passes some information. How should I solve this when Stronghold is on the Servlet side?? This is the Application: public static void connectToServlet() { try { URL url = new URL("http://localhost:8080/servlet/Servlet"); HttpMessage msg = new HttpMessage(url); InputStream in = msg.sendGetMessage(); Properties props = new Properties(); props.put("database", "Test_database"); props.put("user", "Test_user"); props.put("password", "Test_password"); msg.sendPostMessage(props); DataInputStream result = new DataInputStream(new BufferedInputStream(in)); //String date = result.readLine(); in.close(); } catch (Exception e) { e.printStackTrace(); } } |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Stronghold |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|