Its Ganapathi, Can any champ help me !

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ganapathidev
    New Member
    • Dec 2007
    • 6

    #1

    Its Ganapathi, Can any champ help me !

    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 .
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by ganapathidev
    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 .
    1.) Use meaningful thread titles. Your title should describe your problem
    2.) Use code tags when posting code.
    3.) If your error says cannot resolve symbol Sched, then you need to make sure that you have corecly declared that Sched variable in your JSP. Where did you declare it?

    Comment

    Working...