[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Refresh changes in JSP scripts working under Tomcat / IIS failed

Posted on 2009-04-02
2
Medium Priority
?
502 Views
Last Modified: 2012-05-06
When I want to refresh the changes I do it in JSP file working under Tomcat / IIS failed what the reason ?

I also restart windows Tomcat service but also not effect
0
Comment
Question by:bworld
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
mrcoffee365 earned 2000 total points
ID: 24054223
JSP pages are recompiled under Tomcat in the same way, regardless of the front end Web server.

So -- something is preventing your JSP pages from changing in the browser.   You need to post more information -- where is the JSP page, what did you change in the source code, what have you done in the browser to reload the page.

Most common causes for a page in a browser not changing when you "know" that you've changed something:

1) the browser has cached the previous version.  If you don't have the header tags in your JSP page to make the browser request a fresh copy every time, it won't.
2) you didn't change the page.  This is very common.  Sometimes people have copies of pages in different places, and don't realize that the page the browser is accessing is not the one they've edited
3) timestamps -- the timestamp on the generated Java file is later than the date of the edited JSP page.  This mostly doesn't happen, but there are weird sets of steps which can result in this.  Fix by removing all generated java classes and jsp in the work directory, and reload the page.
3) you didn't change the page.  You changed something else, which you think of as part of the page.  
4) you didn't change the page.   You changed a .js or .css files which is <link from the page, and refreshing the JSP page is not resulting in a new request for the .js or .css file.  This can be worked around  by changing the href link for the file.
0

Featured Post

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question