Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-30-2007, 05:26 AM   PM User | #1
sivasang
New to the CF scene

 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sivasang is an unknown quantity at this point
timetable generation

hi
please can u help me in storing the course information in a file and then retriving it ........
i want to have a file which contains all the details of the course such as

1.department name
2.number of semester
3.the number of subjects for each sem
4.subjeect code for each sem
5.subject name
6.number of hours allocated for each subject
.
.
.ets

and in the program when department name and semester is entered all the subjects in that semester should be got in an array format....
please any one help me...
sivasang is offline   Reply With Quote
Old 01-05-2008, 05:23 AM   PM User | #2
amitthechosen1
New Coder

 
Join Date: Aug 2007
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
amitthechosen1 is an unknown quantity at this point
You have to use javas handling mechanism for that. If you are unaware of this, then this link may help
http://java.sun.com/docs/books/tutorial/essential/io/

For the file you are opening for reading and writing, first you need to identify what is the length of each column, like dept name, number of semester etc., and then send data limited to that length.
Then read the data coming to you as Input, parse it by assigning data for each column to a variable or form a single String using a delimiter like (|), for all columns, and then write to the file.

Same for reading....


Regards
Amit
amitthechosen1 is offline   Reply With Quote
Old 02-27-2012, 10:39 AM   PM User | #3
kittushusma
New to the CF scene

 
Join Date: Feb 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
kittushusma is an unknown quantity at this point
hi,
can you plzz help me about below topic,
what is the process to generate dynamic timetable in java with logic.
i want to display time and day along with some data..
please any one help me...
kittushusma is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:35 PM.


Advertisement
Log in to turn off these ads.