Results 1 to 19 of 19
Thread: java
Hybrid View
-
3rd March 2009 11:34 #1_
Join Date: Apr:2006
Location: _
Posts: 1,128
java
java ? browser. , MYSQL JDBC.
. JAVA .
-
3rd March 2009 14:32 #2
JSP (java server pages) .. servlet- application server, apache. apache software foundation - http://tomcat.apache.org/
- ( ant), ..
java .
P.S. application servers tomcat - ( )! , - tomcat. WHM (.. root) tomcat .
- tomcat , - .
-
3rd March 2009 15:33 #3_
Join Date: Apr:2006
Location: _
Posts: 1,128
... GlassFish Application server
-
3rd March 2009 15:56 #4Registered User
Join Date: Aug:2006
Location:
Posts: 4,052
GlassFish, JBoss, Tomcat OpenEJB .
, BEA WebLogic, IBM WebSphere.
, backend-. cgi
-
4th March 2009 21:25 #5
Join Date: Sep:2005
Location: Sofia
Posts: 18,517
-
4th March 2009 21:43 #6Registered User
Join Date: Aug:2006
Location:
Posts: 4,052
Apache tomcat

.
( , enterprise, .)
add: ,
, () ( ), .
-
4th March 2009 22:45 #7_
Join Date: Apr:2006
Location: _
Posts: 1,128
browser MySQL
java GlassFish. SQL JDBC .
. PHP + MySQL?
- ?
-
6th March 2009 10:25 #8
Join Date: Sep:2005
Location: Sofia
Posts: 18,517
-
6th March 2009 12:58 #9Registered User
Join Date: Aug:2006
Location:
Posts: 4,052
-
4th March 2009 23:03 #10Registered User
Join Date: Aug:2006
Location:
Posts: 4,052
- , .
- cgi, get post http, , glassfish
-
4th March 2009 23:19 #11_
Join Date: Apr:2006
Location: _
Posts: 1,128
- :
- 1,3,9 . .
MYSQL .
Application - 1 .
. - . java - - .
. , .
-
5th March 2009 01:35 #12
-
5th March 2009 02:13 #13_
Join Date: Apr:2006
Location: _
Posts: 1,128
? .
MYSQL?
-
4th March 2009 23:29 #14Registered User
Join Date: Aug:2006
Location:
Posts: 4,052
?date=foobar foobar .

Code:import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Statement; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class SchedulerServlet extends HttpServlet { private Connection con; private PreparedStatement ps; public void init() { try { Class.forName("your.db.driver.fully.qualified.package.name"); String url = "jdbc:mysql url syntax, proveri go"; con = DriverManager.getConnection(url,"user1","password"); ps = con.prepareStatement("INSERT INTO myBla VALUES(?)"); } catch (Exception e) { // hm ;) } } private static final String IMPORTANT_DATE_PARAMETER = "date"; public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doGet(request, response); } public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { Map params = request.getParameterMap(); if (params.containsKey(IMPORTANT_DATE_PARAMETER)) { try { ps.setString(1, (String) params.get(IMPORTANT_DATE_PARAMETER)); ps.execute(); } catch(SQLException e) { // ;) } } } }Last edited by solar_sea; 4th March 2009 at 23:52.
-
5th March 2009 01:02 #15_
Join Date: Apr:2006
Location: _
Posts: 1,128
for ( ; ; ) {
delay (10000);
time1 = vreme v momenta
time2 = data na startirane v Mysql
if(time1==time2){
//iztegli informatziq ot baza danni i prati na apleta
}
else
{
continue;
//sledva6ta data;
}
}
Last edited by Red_Leader; 5th March 2009 at 01:20.
-
5th March 2009 02:18 #16Registered User
Join Date: Aug:2006
Location:
Posts: 4,052
-
5th March 2009 08:51 #17_
Join Date: Apr:2006
Location: _
Posts: 1,128
3 ?
MYSQL
-
5th March 2009 09:53 #18
JOIN . , , , .
Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others
-
5th March 2009 10:06 #19
-. , . ( , ), ( -- ?!), ( , , ) - . , ( ) , . - -. -. ( ), - , .
- , - .EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in