JSP is not refreshed
Hi,
After I changed the JSP program and reload the page from the browse, I still get the old image.
What's the problem? Thanks.
When you say "image", I assume you mean some sort of graphic. If so, it is probably being cached by the browser. In IE you can hold down shift and click the Refresh button. I forget how to do it in NS.
Similar Messages
-
JSP page not refreshing in browser
Everytime I edit a JSP file, and try to refresh the JSP in the browser, I don't get an updated version... just the original page that I viewed first. Anyone got a solution?
I tried deleting the work directory under the %tomcatHome% directory, and that seems to work until I view the page, and tomcat creates this work directory again. So when I try to refresh the page, because the work folder is still there, the page does not get refreshed. Weird... any solutions? Thanks again.I'm not sure if your using Tomcat or not but if you are give this a try:
The ROOT context is the default Web application in Tomcat, and is convenient to use when you first learning about servlets and JSP (although you'll use your own Web applications once you're more experienced). The default Web application is already enabled in Tomcat 3, Tomcat 4.0.1-4.0.3, and Tomcat 4.1. But, in Tomcat 4.0.4 it is disabled by default. To enable it, uncomment the following line in install_dir/conf/server.xml:
<Context path="" docBase="ROOT" debug="0"/>
Taken from: http://www.moreservlets.com/Using-Tomcat-4.html#Enable-Root-Context
This will make the server request a new page every time, not recommended for production apps but for development it will make life easier. -
JSP pages are not refreshing under wl 6.1 sp1
I thought this could have been a problem solved long time ago but after searched
through this list I could not find any solutin.
Basically any change to the JSP is not refreshed on my wl server. Even after I
set my browser to have 0 siye disk cache, 0 siye memory cache, and set the cache
file name to something non-exists, the cached page kept coming back! It must have
been cached by the web server. Deleting all the tmp files under WEB-INF did not
work. Redeploy the web app did not work. Even after I restarted the server, it
still sent me the old pages!!
I must have missed something here???
Many thanks and regards,
Charles
Have a look at this page:
http://e-docs.bea.com/wls/docs61/////webapp/weblogic_xml.html#1012760
The parameter "workingDir" is probably what you're looking for.
Hope that helps,
Nils
Charles Chen wrote:
>
> Unbelievable!
>
> Here is what I found where the problem is:
>
> Apparently weblogic 6.1 sp1 is compiling and cacheing the JSP pages in the directory
> /var/tmp!! That explains why even after I restart the server and still got the
> old page! After remove the /vat/tmp/jsp_servlet/_jsp directory, I finally got
> my changes recompiled.
>
> I am sure some where there is a doc describing how to change this directory ...
>
> Charles
>
> "Charles Chen" <[email protected]> wrote:
> >
> >I thought this could have been a problem solved long time ago but after
> >searched
> >through this list I could not find any solutin.
> >
> >Basically any change to the JSP is not refreshed on my wl server. Even
> >after I
> >set my browser to have 0 siye disk cache, 0 siye memory cache, and set
> >the cache
> >file name to something non-exists, the cached page kept coming back!
> >It must have
> >been cached by the web server. Deleting all the tmp files under WEB-INF
> >did not
> >work. Redeploy the web app did not work. Even after I restarted the server,
> >it
> >still sent me the old pages!!
> >
> >I must have missed something here???
> >
> >
> >Many thanks and regards,
> >
> >
> >
> >Charles
> >
============================
[email protected]
-
when i redepoly an application by updating it, its jsps are not refreshed. but on dev env ,it's ok. the pro env has two machine,take them as A & B.A is the admin machine ,and the app is not the machine B. I update the app from A ,but its jsps never updated,i have to delete the app from A,and then redepolyit,then it's ok. can someone tell me why ,or how can i update jsps without delete and redepoly?
I delele the jsp cache, and it seems work now...
Edited by: San on 2012-1-15 下午6:52Hi,
In prod page-check-seconds value would be -1 .
check your weblogic.xml file.
Sets the interval, in seconds, at which WebLogic Server checks to see if JSP files have changed and need recompiling. Dependencies are also checked and recursively reloaded if changed.
The value -1 means never check the pages. This is the default value in a production environment.
The value 0 means always check the pages.
The value 1 means check the pages every second. This is the default value in a development environment.
In a production environment where changes to a JSP are rare, consider changing the value of pageCheckSeconds to 60 or greater, according to your tuning requirements.
so according to it.
Regards,
Kal -
Jsp page not refereshing in IE 6.0
can you give me any suggestion on following issue
I have (first.jsp)jsp in following way
+1234
when i click on +
it shows like this(the records are coming from second.jsp by using azax))
-1234
record1
record2
here second,third jsp conatins same thing except third.jsp contains some buttons
and when you click on 1234 in next window(third.jsp) it will show
record1
record2
button accept
when i click on accept button i am loadng first.jsp
at the time of loading I have to refresh second,third.jsp
presently I am refreshing third.jsp it is working fine
but i was unable to refresh second.jsp
this application running fine in Mozila(both(second.third.jsp pages are refreshing)
In Ie that first.jsp is not refreshing(oonly third.jsp is refreshing)
I am using following function on body onload()
if (window.opener && !window.opener.closed) {
window.opener.location.reload();
it is not working in second.jspHi,
Which IDE are you using: NetBeans 6.0, or JSE 8.1?
Regards,
-Brad Mayer -
Hyperlinked JSP Page does not refresh contents
I have a very typical problem.
In my application whenever I call a jsp page using hyperlink without any querystring attached to it the page called does not refresh. However when I press refresh on the browser it does refresh the contents. Basically in this page I am using some session variables to fetch data. So I do not call the page by passing querystring instead set the attributes of session variables and then the page is called as a hyperlink.
However if I call the same page using submit the values are refreshed.
Help on this urgently will be appreciated.
Thanks
ManishJust set 'no-cache' option for the jsp page and test it. It should work. only you need to do is
response.setDateHeader("Expires",0);
response.setHeader("Pragma","no-cache");
if(request.getProtocol().equals("HTTP/1.1")) {
response.setHeader("Cache-Control","no-cache");
have fun!!
---rajsekhar -
Hi all,
I am usng iPlanet 6.0 Application Server and iPlanet Web Server 4.1. Whenever i am changing the JSP it's not refreshing i.e the changes are not taking. But once i stop and restart the server its working
I changed in the kregedit tool
in Software\iPlanet\6.0\CCSO\SYSTEM_JAVA\Versioning
Disable =0
JSP_CACHE_SIZE = 0
and i guven even 10 in jsp_Cache_size.
please if any one knows how to activate the jsp dynamic loading please give me your solutions
Thanks in advance
Venkatesan.Ccould this be a problem with your machine/ISP caching the jsp page, even though you set the property to never cache, some ignore this.
Try 'shift' refresh and all should be well.
Chris -
JSP is not getting displayed in add portlet repositery
Hi,
I have registered two servlet in provider.xml and I was able to
view that servlet as a portlet in add portlet repositery.
After that I wanted to add one more JSP as portlet under same
provider. So I have kept JSP in same directory where servlet is
kept. I have added JSP as portlet in Provider(i.e. provider.xml)
and given appPath and appRoot for that JSP. Whenever I am trying
to view my provider by giving following URL
http://servername/servlet/myprovider
I am getting message -
Congratulations! You have successfully reached your Provider's
Test Page.
in same page I am able to view my all portlets. in that list I
am able to view my JSP as a portlet.
Now I want to add JSP portlet in my page at that time that JSP
portlet is not getting displayed in add portlet repositery.
Can anybody tell why JSP is not getting displayed in portlet
repositery ? What should I do to get it displayed in portlet
repositery ?
Thanks in advance.
BirenYou have to refresh the Provider. They are a couple of ways to
do it.
1. Take a look at the release notes for PDK-Java.
http://portalstudio.oracle.com/servlet/page?_pageid=468&_dad=ops&
_schema=OPSTUDIO
It mentions and auto reload feature that will refresh the
provider on the PDK-Java side when you make changes to the
provider.xml. When you add portlet, you simply refresh the
repository in portal and add the new portlet to a page.
2. If you do not have the auto_reload parameter, you simply need
to refresh manually.
a. After updating the provider.xml, restart the HttpServer where
your PDK-Java Provider is located.
b. Refresh the Portlet Repository
Both these do the same thing, and should solve your problem
Sue -
Crystal Report Not Refreshing in browser
Hi all,
Am using crystal report for my web application so here am passing my parameter from jsp page
but it is not refreshing
For example
I am select Month=jan my query goes this way.
Select * from employee where month='jan' group by department order by designation
when am intially design in eclipse in filter option am selecting 'jan' and when am running in browser am passing the same query with the parameter but here instead of 'jan' am passing month variable where my month variable changes every time according to user choose
my crystal report is not getting refreshed ..
hope u understood my problem
Regards
Vanishree.BHi Tejomay ,
I have tried that even after calling refresh() , it ;s not getting refreshed..but if am using signal table in my query it is getting refreshed .but when am grouping with another table it is not refreshing..
Regards
Vanishree -
Building a JSP which dynamically creates an HTML page with an included javascript file using
<script LANGUAGE="JavaScript" type="text/javascript" src="myFile.js"></script>
The problem is when I make changes in the file myFile.js, the changes are not refreshed when I run the project. I have attempted to rebuild, exit jDeveloper and everything else I can think of yet it continues to use the old version. What is going on and why are the changes not reflected when being run?
jDeveloper 9.0.5.16.27 under Win2K.Just to add to the fine advice so far, sometimes just toggling the View to Column View or whatever it isn't the back will update it.
Wonder if this works in Tiger...
http://www.versiontracker.com/dyn/moreinfo/macosx/24356 -
Servlet does not refresh in browser
Hi,
If I change a Servlet code, re-compile it and Refresh the browser (Firefox), it does not refresh. I can only get it to refresh if I re-start Tomcat (v 5.5.4).
Is there a workaround for this please?
I put the lines:
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
response.setDateHeader("max-age", 0);
response.setDateHeader("Expires", 0);
at the top of my doGet method and this does not work.
Thanks,
Hal.Hi,
For classes, you can set the reloadable parameter in your application configuration file (in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory)
Set it to true if you want Catalina to monitor classes in /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically reload the web application if a change is detected. This feature is very useful during application development, but it requires significant runtime overhead and is not recommended for use on deployed production applications. That's why the default setting for this attribute is false. You can use the Manager web application, however, to trigger reloads of deployed applications on demand.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
For JSPs, you can configure Jasper (in $CATALINA_BASE/conf/web.xml file) and use the reloading parameter.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html -
Can not refresh server manager Error:0x8007045b
OS: Windows 2012 R2 Core
Services: Hyper V
I was trying to remote reboot and the session hung. No worries I decided I could just reboot the next morning. So I rebooted the next day but when I go into server manager I get
an errror can not refresh server manager Error:0x8007045b. Did some research found suggestions to fix it using a DISM.exe /Online /Cleanup-image /Restorehealth.
But then I get an error 1115 A system Shutdown is in progress. I attempt to fix this issue using pskill winlogon but the issue pursistest. I have restarted the server several times now. Not sure how to fix this.
Thanks in advance,
JakeHi,
In addition to the above information,
Checkout the below thread for similar discussion,
http://social.technet.microsoft.com/forums/windowsserver/en-US/a700e9f6-4491-4c70-8bd0-d9d3111e2f70/windows-reboot-error
Regards,
Gopi
JiJi
Technologies -
Can not refresh page after save properly(When not saving master record)
I am using jdeveloper 11g R2 (11.1.2.3) JSF Facelet
In some use case I have Address as master table and Person as detail table
For some business reason I need to don't save same addresses
eg:
If +1 Test St+ is in database already and new user coming and adding this address with new person
I need to use the row in database not creating a new address
I do saving in doDML method of Address with some hashing algorithm and it is fine
My problem is that I can not refresh page after save properly
User coming to page think Adding a new address and a new person but in fact no new
address added because of business I describe above
Any ideas how I can implement this?
Appreciate that
Regards
MohsenHi,
from your description it is not clear why the page doesn't refresh. It could be a problem in your implementation code - who knows. What if you perform the address check on a command button that actually submits the new address? If the check returns true (address exists) you would call row.refresh(forget new row); and re-query the view object so the address coming from the database is displayed. If you wanted to use the doDML then yuou need to be aware that doDML doesn't help removing the row the user created. It just ignores the database update but the entity is still around, which in my suggested solution wont be the case.
Frank -
Can not refresh the metrics in schedular
Post Author: sachinddalal
CA Forum: Performance Management and Dashboards
Hi,
When I refresh the metric using schedular, the metric is not refreshed , nor schedular return any error. But when checked in metrics proparties, the last refresh date is not changed, niether the values are updated.
Whe I try to refresh the metric manual, the values are refresh.
Please help me to troubleshoot the problem of refreshing metric through schedular.
Thanks,
Regards
Sachin DalalPost Author: jezbraker
CA Forum: Performance Management and Dashboards
Scheduler is pretty horrid for refreshing metrics.Better of to use the Rules engine and create a rule thats based on a schedule that based on condition (1=1 works well ) then refreshes metircs.troubleshooting is best done with the trace options in setup/parameters.there are a few other ways or seeing what the schedulers up to - but id stick to rules if i were you. -
Clicking a tree node does not refresh the fields in the table component
hi all,
I am using a tree component along with a table component in my page.so whenever i am clicking on a node it should display the relevant information of that node in the table from the database.But whenever i am doing the page is not refreshing and the old values of the textfields in the table still exist.i have written the code to populate the table in a button click event.It is working fine but the same is not working when i am clicking any node in the tree component.Can anyone provide a solution to this problem.
Thanks and regards,
Prasant KumarNever mind... I actually found something that works...
treeModel.nodeStructureChanged(leadSelection);
Maybe you are looking for
-
Loading failed from ECC to BW due to sharing port with XI system
Hi, I need some help here, currently my company has 2 sandbox systems, one for ECC(R/3) and another one is for XI/BI netweaver 2004s. Since the BI box is shared with XI, we have problem everytime we load the data to the BI master data/ods/cube . It s
-
Editing 1080 50fps on a mac mini
I want to edit video shot in 1080 50fps using adobe premiere elements. I want to edit the original .mts files with the h.264 codec. Will the new Mac mini 2.3 ghz quad core be able to do this? (maybe with a memory upgrade) or do I need to buy an iMac?
-
Summing columns to give a grand total
Hi, I'm sure this is simple using one of the GROUP BY extensions, but I'm having a particularly dumb day I have the following SQL SELECT EGROUP.EDESC, SUM(DECODE(PERS.AGERANGE,'UNDER 16',1,0)) AS "UNDER 16", SUM(DECODE(PERS.AGERAN
-
How to Make An Invisible Purchase Visible?
I just purchased an album from the iTune store that is invisible in my iTunes Music Library, even though it can be located (and played) with Finder in my Music folder as well as in the Purchased tab of iTunes. The album is visible in the Music secti
-
MPEG 2 encode takes hours, then: 3x crash service down
Hi everyone, I've got a 2x 2.8 GHz Quad core Intel Xeon box (8 cores) with 16 GB of RAM. I setup compressor to run early yesterday morning, working on a (source) 3 hour MPEG-2 stream (with attached SCC track) to export as both a 300 and an 800 Kbps s