Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~6K People Reached
Favorite Forums
Favorite Tags

14 Posted Topics

Member Avatar for CoSIS1

Hi everyone; I’ve written the following for some purpose : [CODE] <% Vector v1,v2; String sql; String sqlvsp; sqlvsp= "select distinct(question_text) from question where type = 'UStudent' "; Vector vc=database.jdbcOneRowQuery(sqlvsp); for(int n=0;n<vc.size();n++){ %> <table border="0" width="100%"> <tr> <td colspan="6"><font size="2"><b><% out.print(n+1); %>)<% out.print(vc.get(n)); %></b></font> </td> </tr> <tr> <td></td> <td align="center" …

Member Avatar for peter_budo
0
123
Member Avatar for rajshree13

[CODE] SELECT (MONTH(CURDATE-MONTH(issudate)) AS ' Months' FROM table Union SELECT (DAY(CURDATE-MONTH(issudate)) AS 'Days' FROM table Union SELECT (YEAR(CURDATE-MONTH(issudate)) AS 'Year' FROM table [/CODE] it may help

Member Avatar for CoSIS1
0
88
Member Avatar for anindo87

indeed , am not using MVC structure but i have done what you want before, you can take a look [CODE] <select name="select" size="1" > <% String sql = "select *from table "; Vector v1=database.jdbcMultipleRowQuery(sql); for(int i=0;i<v1.size();i++){ Vector v2 = (Vector)v1.elementAt(i); for(int j=0;j<v2.size();j++){ out.print("<option>"+v2.get(0)+"</ption>"); } } %> [/CODE] it may …

Member Avatar for anindo87
0
461
Member Avatar for Lolalola

you need to update the primary key when you delete the record example [CODE] delete from number1 where name in ('Nico ','Joy') [/CODE] then [CODE] UPDATE number1 SET number= number- 1 where name ='Marko'; UPDATE number1 SET number= number- 1 where name ='Peter '; UPDATE number1 SET number= number- 2 …

Member Avatar for eantz
0
91
Member Avatar for ThinkFree

take a look on the following tutorial [URL="http://roseindia.net/jsp/online-quiz-application-jsp.shtml"]http://roseindia.net/jsp/online-quiz-application-jsp.shtml[/URL]

Member Avatar for ThinkFree
0
365
Member Avatar for alsoumhi
Member Avatar for prasannakarthik

ajax take a look [URL="http://www.daniweb.com/forums/thread197237.html"]http://www.daniweb.com/forums/thread197237.html[/URL]

Member Avatar for CoSIS1
0
3K
Member Avatar for nipa.pillai

you do not really need to use jsp to create tabs you can use javascript [URL="http://www.roseindia.net/html/Tab.shtml"]http://www.roseindia.net/html/Tab.shtml[/URL] or ajax [URL="http://www.roseindia.net/struts/struts2/struts2uitags/tabbedpanel.shtml"]http://www.roseindia.net/struts/struts2/struts2uitags/tabbedpanel.shtml[/URL] they are more easier

Member Avatar for CoSIS1
0
339
Member Avatar for CoSIS1

Hi everyone ; I have read The JFreeChart Class Library Version 1.0.13 Installation Guide and I follow the instruction there but I got some errors while the Installation; allow me to show the steps that I have followed and the errors I got : 1. Download jfreechart-1.0.13.zip and jcommon-1.0.16 files …

0
69
Member Avatar for CoSIS1

Hi everybody, I am going to develop a web application by using jsp, in this application when I retrieve multiple rows from table into form as following : [code=jsp]<%Vector v1,v2; jmm.Database database = new jmm.Database(pageContext.getServletContext().getRealPath("/WEB-INF/config.txt")); database.jdbcConnect(); String sql; sql = "select question_text from tableA where type = 'Student'' "; v1=database.jdbcMultipleRowQuery(sql); …

Member Avatar for CoSIS1
0
126
Member Avatar for CoSIS1

I want to find the percentage for each question’s answer and how many user response to that question The answer either yes , no, escaped (null) Table structure :[CODE] CREATE TABLE useranswers ( userAnswerID int(10) unsigned NOT NULL auto_increment, answer varchar(45) default NULL, userType varchar(45) default NULL, ques_tesxt varchar(300) default …

0
72
Member Avatar for CoSIS1

Hi everyone; I have table contains question and answer columns , the answer either yes or no , I want to count the answer yes and answer no then compare the two results and if the count(answer) yes is greater than count (answer) no print yes else print no I …

Member Avatar for CoSIS1
0
189
Member Avatar for vandana88

double check on database schema and tables and columns are they exactly what you have in the code?

Member Avatar for irfannagaria
0
165
Member Avatar for sriups

the best answer is ajax and actually you do not to learn ajax just copy the code i will gave and follow the guidlines copy and paste the attached file into your project folder : 1- copy and paste the attached file into your project folder 2- copy the following …

Member Avatar for amarjeetsingh
0
1K

The End.