It is YOUR school work/work project so deal with it if you ignore advice from others with more experiences!
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
If you provide more in detail description of your problem/project then "in my jsp project there are nearly 35 jsp pages" and explain how you got to that conclusion you may actually get some precious suggestions...
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
What are the major views that admin and student get?
Like admin will see some of these options add
delete
modify
I want to know what exactly is available to them and in what kind of form (links, buttons etc)?
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
Can you get me full table descriptions with indication of primary keys? (Just table structure, not interested in data inside table)
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
Now here is crucial question: "Do you want to submit only average project and forget about it or you want to get best out of your project and learn something?"
If answer is I want average project and forget about it, then continue as you started. Unfortunately I do not see many members want to help with such lousy coding...
answer is I want to submit best project and learn in same time, then you will take this design to Database Design section and seek advice on current state of your DB design as there are serious flows in it. For example, aren't they supposed to be same?
CREATE TABLE markedevent
(
userid int(4) NOT NULL ,
eventid int(4) NOT NULL,
PRIMARY KEY ( userid)
);
CREATE TABLE Event
(
Eventid int(4) NOT NULL AUTO_INCREMENT,
Description varchar (255) NOT NULL,
Publish varchar(20) NOT NULL,
Questionid int(4) NOT NULL,
Targetgroup varchar(70) NOT NULL,
Anonymous varchar(15) NOT NULL,
PRIMARY KEY ( Eventid )
);
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
Yes you can attach compressed copy (in ZIP) of your project.
And it would be possible to have one servlet handling all, but I would advice against it (Java file with hundreds lines doesn't look pretty either ) and recommend splitting on more servlets to handle similar requests
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
OK, I downloaded files, but first I will have to re-install NetBeans as I have the simplest package for Java coding and Mobility Pack
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
For what sort of database is that zip file? Is that Derby or MySQL? If it is Derby you need to tell me how to import it and if it is MySQL then you didn't export it correctly...
The way to export from MySQL was something like this if I remember it:Open Command Prompt
Got to top level of the hard disk C:\
Type following command
mysqldump -u YOUR_USERNAME DATABASE_NAME>FILE_NAME.sql -p
Replace sections in capital with your data and hit ENTER after "-p", where you will be asked for the password to your database. After that file with your given name and "sql" extension will be created on current directory level. So if you moved to the top as I told you it will be directly under root "C:\"
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
Hi Peter_bodu,
Sorry for late post as was not at my desk.
If you downloaded mysql database, then you can have the start window for it like-> start->programs->mysql_mysql server 5.o-->mysql command line client. otherwise you can access it in command promt window by using command
Thanks and regards
Haresh
I do have MySQL on my pc, but the file you provided are in wrong format. Please run that command that I provided in previous post to get them in "sql" file
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902