Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using eclipse 3 with the tomcat's plugin. When I make a change on a JSP page, I don't see any change on my browser even when I restart tomcat or make refresh. I'm totally a newbie regarding JSP, tomcat and eclipse. I guess I forgot something in the configuration, but I do not know what. thank you for any help.
I don't know about those programs you're using but here's something very basic you should take into account when playing around with browsers and modifying pages you view in them: most browsers hold some kind of cache, and try to load the pages you've viewed before from the cache to load them faster (in case the page sat on the opposite side of the Earth, behind crappy connections) if it thinks there are no changes; it could be that if you refresh the page very frequently, your browser just picks up a copy from the cache and displays that. Refreshing could also do a "meta refresh", not actually refreshing the whole page but just the visible parts. For example with php pages using meta refresh refreshes the page content and maybe some nice clock thing you've built there, but not all of the content; for example some information brought from a database trough the php code would not be visible until you did a *real* refresh.
In cases like this (you view a page you modify in a browser) I'd try to turn off caching, and make sure the whole page is re-fetched and executed from the server, not just some cache copy of it, or parts of the page.
Beyond that I can't say what it could be. If the changes are saved to a file and that file is read by your browser, there should be no problems.
thanks for the answer, but I don't think that the browser is the problem. When I start others browsers they show the same thing. I looked at the file, and saw that ecplipse (or tomcat?) doesn't recompile the files that I change. I have to delete the old compiled ones, so that it compiles again.
Distribution: gentoo, xubuntu, opensuse, solaris 10, opensolaris, centos
Posts: 12
Rep:
I am having the same dang problem.
it seems that the java class resulting from compiling the jsp stays in the 'work' directory, and the only way i have found to force tomcat to recompile the jsp is to delete that class file each and every time.
There has got to be a better way, i am sure there is, i just dont know what it is.
here is an excerpt from my /opt/tomcat6/conf/web.xml
as you can see i have development mode turned on, which is *supposed* to fix this. idk. any help would be appreciated. using Tomcat 6 on CentOS 5.something on an eapps VPS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.