Search Results

Showing results 1 to 14 of 14
Search took 0.01 seconds.
Search: Posts Made By: Thendral
Forum: JSP Jul 26th, 2007
Replies: 7
Views: 1,059
Posted By Thendral
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
Posted By Thendral
hai..

Here is the code..


Servlet:


ResultSet rsid = null;
ResultSet rsw = null;
Forum: JSP May 18th, 2007
Replies: 12
Views: 3,466
Posted By Thendral
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
Posted By Thendral
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
Posted By Thendral
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
Posted By Thendral
Hai,

I didnt find out the logic for this.
Kindly tell me some suggestions.
Forum: JSP Apr 28th, 2007
Replies: 12
Views: 3,466
Posted By Thendral
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
Posted By Thendral
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
Posted By Thendral
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
Posted By Thendral
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
Posted By Thendral
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
Posted By Thendral
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
Posted By Thendral
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
Posted By Thendral
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..
Showing results 1 to 14 of 14

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC