I need to store data using set property files,
guide me how to store date into the set property files..
i don`t have a much time in my project..
so any one please..
iam developing Schedule module(periodic al daily events ) in java using JSPs
for this i developed three JSPs ; !) schedule.jsp 2) schedulePropert ystore.jsp3) updateschedule. jsp.
action moves from schedule.jsp to updateschedule. jsp
updateschedule. jsp to schedulePropert ystore.jsp and redirect to schedule.jsp.
till updateschedule. jsp no problem.
but when action moves to schedulePropert ystore.jsp iam getting error that cannot resolve symbol Sched.
my folder is Sched and its path is C:/Tomcat4.1/webapps/html/PRIEST/Sched
below code mentioned:
%>
userpr.setPrope rty("dayname"," 8");
File f=new File("C:/Tomcat4.1/webapps/html/PRIEST/"+Sched+tname+" schedule.proper ties");
//File f=new File("usergui1. properties");
FileOutputStrea m fout=new FileOutputStrea m(f);
userpr.store(fo ut,"userpr");
response.sendRe direct("schedul e.jsp");
%>
Advance Thanks .
guide me how to store date into the set property files..
i don`t have a much time in my project..
so any one please..
iam developing Schedule module(periodic al daily events ) in java using JSPs
for this i developed three JSPs ; !) schedule.jsp 2) schedulePropert ystore.jsp3) updateschedule. jsp.
action moves from schedule.jsp to updateschedule. jsp
updateschedule. jsp to schedulePropert ystore.jsp and redirect to schedule.jsp.
till updateschedule. jsp no problem.
but when action moves to schedulePropert ystore.jsp iam getting error that cannot resolve symbol Sched.
my folder is Sched and its path is C:/Tomcat4.1/webapps/html/PRIEST/Sched
below code mentioned:
%>
userpr.setPrope rty("dayname"," 8");
File f=new File("C:/Tomcat4.1/webapps/html/PRIEST/"+Sched+tname+" schedule.proper ties");
//File f=new File("usergui1. properties");
FileOutputStrea m fout=new FileOutputStrea m(f);
userpr.store(fo ut,"userpr");
response.sendRe direct("schedul e.jsp");
%>
Advance Thanks .
Comment