• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp file Loading Problem

 
akhter wahab
Ranch Hand
Posts: 151
Java MyEclipse IDE Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have text file named "linkify_terms.txt". this file is loading when application starts.. now i want to make changes in the "linkify_terms.txt" that should apply on the application without reDeploying it i created a thread for it it is working well but application not getting changes without redeploying.. here is the code

Here is the loadLinkifyIndeedTerms method





[BSouther: codetags]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This doesn't sound like a JSP issue to me.

What is "executor"?
Is it part of a scheduling library (Quartz)?
Is is something you wrote yourself?

When is it being instanciated?
Where is it being stored?
Have you checked the logs to see if the job is being run at regular intervals?
Once you've read the data from the text file, where/how are you storing it?
 
akhter wahab
Ranch Hand
Posts: 151
Java MyEclipse IDE Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well executer is the object of ScheduledExecutorService built in method. and i have solved the problem... above code is correct for working but my class path was worng...Thanks for the Reply... next time i will write a complete problem not half
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!