Forum: JSP Jul 26th, 2007 |
| Replies: 7 Views: 1,059 hai sunitha,
Just write a query like the following.
select count(*) as total from test;
while(rs.next())
{
int tot=rs.getInt("total");
} |
Forum: JSP May 22nd, 2007 |
| Replies: 12 Views: 3,466 hai..
Here is the code..
Servlet:
ResultSet rsid = null;
ResultSet rsw = null; |
Forum: JSP May 18th, 2007 |
| Replies: 12 Views: 3,466 Thank you Peter_Budo and ~S.O.S~...
This is my Project requirement. I cant change the array length as Static one ie 7.
I tried with division and modulo operator. but it is not working. Do you... |
Forum: JSP May 17th, 2007 |
| Replies: 12 Views: 3,466 Hai jwenting!
If you know the logic, Post it...
Dont critize the one who is asking for help. |
Forum: JSP May 17th, 2007 |
| Replies: 12 Views: 3,466 Here is the code. array length is number of records available in the database. that is retrived in a query.
Calendar cal = Calendar.getInstance();
int dayofweek = ... |
Forum: JSP May 16th, 2007 |
| Replies: 12 Views: 3,466 Hai,
I didnt find out the logic for this.
Kindly tell me some suggestions. |
Forum: JSP Apr 28th, 2007 |
| Replies: 12 Views: 3,466 Hai..
I need to display one image per day from an array depending upon the day in jsp/servlet.
Intially i am having 5 images in an array.
Then i want to display
sunday --- 1st image... |
Forum: JSP Apr 2nd, 2007 |
| Replies: 4 Views: 5,318 Hai..
I am also beginner for Jsp.
Can you please tell me the reason(for not connecting the DB from JSP) so that i can understand the concept well.
Thanking you. |
Forum: JSP Apr 2nd, 2007 |
| Replies: 4 Views: 5,318 hai..
I just give you the code for displaying and storing the values in the run time(part of code).
<%
//query for selecting the values from the database
pstmt1=con.createStatement();... |
Forum: JSP Apr 2nd, 2007 |
| Replies: 2 Views: 3,659 Hai Sandeep,
I guess the following code is the answer for your question.
I have two jsp files. one is test1.jsp and another is test2.jsp.
i have radio buttons in test1.jsp file and i am... |
Forum: JSP Mar 2nd, 2007 |
| Replies: 3 Views: 4,132 hai..
I have a database with a primary key(Employee id).
I am having an insert form, display form, delete form and main page form.
I want to validate the Employee id entered by the user... |
Forum: JSP Feb 27th, 2007 |
| Replies: 5 Views: 2,280 Hai..
I want to write a JSP program.
In that i want to do insert, delete, display records in a same program.
I connected to the database. its working fine.
The problem is it displays the... |
Forum: JSP Feb 27th, 2007 |
| Replies: 4 Views: 1,840 I have postgresql in my system.also i created schema and table there. i need the coding for connecting that database and my JSP program. |
Forum: JSP Feb 27th, 2007 |
| Replies: 4 Views: 1,840 Hai..
I need to connect a database called "Postgresql" with a jsp code.
how it can be done?
I need the connection procedure for that.
plz reply me.. |