URLRewriting with Meta Refresh?

Hello,
          I have been trying, without success, to get URLRewriting to
          work with the meta refresh tag. It appears that meta-refresh
          ignores the entire query portion of the url string, so:
          <meta http-equiv="Refresh" content="10;www.test.com?fred=3" />
          is treated the same as:
          <meta http-equiv="Refresh" content="10;www.test.com" />
          That's what I am seeing, is this correct? Is there any other way
          to do this?
          That is, I want to be able to have a refresh occur every 10 seconds,
          and have the WebLogicSession variable be set (via url encoding),
          so that the same session is used upon refresh. I have been unable
          to get this to work.
          Jason
          

Never mind.
          I was leaving out the 'url=' in the content tag, so I need:
          <meta http-equiv="Refresh" content="10;url=www.test.com?fred=3">
          Jason
          "Jason Rosenberg" <[email protected]> wrote in message
          news:39ebf9ff$[email protected]..
          > Hello,
          >
          > I have been trying, without success, to get URLRewriting to
          > work with the meta refresh tag. It appears that meta-refresh
          > ignores the entire query portion of the url string, so:
          >
          > <meta http-equiv="Refresh" content="10;www.test.com?fred=3" />
          >
          > is treated the same as:
          >
          > <meta http-equiv="Refresh" content="10;www.test.com" />
          >
          > That's what I am seeing, is this correct? Is there any other way
          > to do this?
          >
          > That is, I want to be able to have a refresh occur every 10 seconds,
          > and have the WebLogicSession variable be set (via url encoding),
          > so that the same session is used upon refresh. I have been unable
          > to get this to work.
          >
          > Jason
          >
          >
          >
          

Similar Messages

  • Small problem with meta refresh and setting url

    I'm using the following line of code in my jsp.
    <meta http-equiv="refresh" content="<c:out value='${pageContext.session.maxInactiveInterval+60}'/>">This works fine in that 60 second after the session times out the refresh is called. This then goes into my action class and checks to see if my user object is still in session. It does not find it and forwards it to my login page with a message saying the session timed out.
    this works just fine
    Now instead of this happening I want to forward to an error page.
    so I can add a url into the content section of the tab... but when I try to use a
    <c:out value='${pageContext.request.contextPath}'/>this evaluates to nothing.. so that then the forward is to /sessionTimoutError.jsp instead of /appName/jsp/sessionTimeoutError.jsp.
    So my question is more of a verification. Is it true then that when the session times out it has absolutely nothing to do with struts and java.. and that when the refresh actually gets called and forwards it back to the logoff page that I've in effect created a new session that will timeout in 60 minutes and call a refresh in 61minutes?
    So the only way I can think of forwarding to the other page would be to change the forward in my action class... but changing this is not worth modifying all the action classes.. and I can't just change the definition of the forward since other places use that forward and I don't want to change them either...
    any othe ways anyone could think of doing this without hardcoding any url's in?

    Is it true then that when the session times out it has absolutely nothing to do with struts and java.Nothing to do with Struts, it's about JSP/servlet stuff specifically.
    <meta http-equiv="refresh" content="61; url=/timeout.html">that's the proper format, so you can dynamically write whatever URL you want.
    and that when the refresh actually gets called and forwards it back to the logoff pageOnly if the page that's reloaded checks for the valid login info and forwards. This is a common way to do it, of course.

  • Target attribute with META HTTP-EQUIV="refresh"

    i want to open the url in another frame. can I use target="frameName" tage with:
    <META HTTP-EQUIV="refresh" content="5;URL=http://qms.packages.com.pk:8081/packages/index.htm/>
    Usman

    I think you can find solution here, http://developer.irt.org/script/redirect.htm

  • MATERIALIZED view on two tables with Fast Refresh

    i Wanted to create MV on two tables with Fast refresh on commit.
    I followed below steps
    create materialized view log on t1 WITH PRIMARY KEY, rowid;
    create materialized view log on t2 WITH PRIMARY KEY, rowid;
    CREATE MATERIALIZED VIEW ETL_ENTITY_DIVISION_ASSO_MV
    REFRESH fast ON commit
    ENABLE QUERY REWRITE
    AS
    select A.ROWID B.ROWID,a.c1, DECODE(a.c1,'aaa','xxx','aaa') c2
    from t1 A
    join t2 b
    on AB.c1= CD.c2;
    i am getting below error.
    Error report:
    SQL Error: ORA-12054: cannot set the ON COMMIT refresh attribute for the materialized view
    12054. 00000 - "cannot set the ON COMMIT refresh attribute for the materialized view"
    *Cause:    The materialized view did not satisfy conditions for refresh at
    commit time.
    *Action:   Specify only valid options.
    Basically i want to take record in MV by joinig two tables and if both of the base tables will updated then record should reflect in materialised view.
    Please do the needfull.

    does the table support PCT? the other restrictions on joins look to be ok in your statement.
    maybe try creating first with on demand instead of commit to see does it create.
    http://docs.oracle.com/cd/B19306_01/server.102/b14223/basicmv.htm
    >
    Materialized Views Containing Only Joins
    Some materialized views contain only joins and no aggregates, such as in Example 8-4, where a materialized view is created that joins the sales table to the times and customers tables. The advantage of creating this type of materialized view is that expensive joins will be precalculated.
    Fast refresh for a materialized view containing only joins is possible after any type of DML to the base tables (direct-path or conventional INSERT, UPDATE, or DELETE).
    A materialized view containing only joins can be defined to be refreshed ON COMMIT or ON DEMAND. If it is ON COMMIT, the refresh is performed at commit time of the transaction that does DML on the materialized view's detail table.
    If you specify REFRESH FAST, Oracle performs further verification of the query definition to ensure that fast refresh can be performed if any of the detail tables change. These additional checks are:
    A materialized view log must be present for each detail table unless the table supports PCT. Also, when a materialized view log is required, the ROWID column must be present in each materialized view log.
    The rowids of all the detail tables must appear in the SELECT list of the materialized view query definition.
    If some of these restrictions are not met, you can create the materialized view as REFRESH FORCE to take advantage of fast refresh when it is possible. If one of the tables did not meet all of the criteria, but the other tables did, the materialized view would still be fast refreshable with respect to the other tables for which all the criteria are met.

  • Why are cookies not updated in the request when meta refresh is used?

    I've written a web site that uses IIS Forms Authentication. It's configured to use authentication tickets with a sliding expiration. FireFox allows the ticket to expire while it works fine with Internet Explorer.
    The web site uses a Keep Alive page that uses the meta refresh tag to periodically post back to the server to keep authenticated. This is done because some users have a need to use another web site that does not run in IIS and we don't want their authentication to time out while they are there.
    I used Fiddler to monitor the requests and responses and found that when IIS sends the updated cookie with the authentication ticket containing the revised expiration date, the cookie appears to be accepted by FireFox (according to CookieSafe as recorded in the error console Ctrl-shift-J). When the meta refresh occurs, the browser sends the original request with the obsolete cookie. This keeps occurring until the expiration time is up on the ticket. IIS keeps sending new cookies but they seem to be ignored. IE, on the other hand, accepts the cookie and you see it in the next request for the keep alive page.
    I figure it might be related to caching, but I think I disabled that and it still does it. I'm going to try adding a random code to the KeepAlive url but I can't see why that should matter. Why wouldn't FireFox send the cookies as the values are set? I'm hoping this can be fixed with a simple config change.

    I was able to figure out what the problem was. The initial authentication cookie had a blank cookie domain while the new cookies that IIS would try to reissue had a domain name. IE doesn't seem to care but FireFox did. FireFox should have logged an error but instead said it was accepted.
    My app works as it's supposed to now.

  • Displaying a wait page without javascript/ meta refresh

    I am using JSPs with struts 1. I wanna show a wait page after submitting the form until it process.
    But in my case i wanna do it without javascripts or meta refreshes. any idea?

    ruwanin84 wrote:
    As far as I know, meta -refresh is not that much recommended.Please elaborate and prove. This makes really no sense to me.
    any way that's my last option. do you have any idea of checking the token?That's just a toggle in the request/session on which the server side code can intercept. This still require a request being invoked by the client.

  • How to limit data range in a Line chart with Time Refresh Control

    Hi All,
    I have a Line chart with Time Refresh Control and I would like to make some constraints to this navigation.
    For example, I would like to limit the user to navigate in a data range of 8 hours.
    Is this posible?
    Thanks in advance

    Hi Pedro,
    as far as I know, this is not possible using the time controls on an iChart. However, you may have some success by using your own time controls which call JavaScript methods exposed by the applet.
    For example, you could begin by hiding the time and calendar buttons on an iChart, and creating some buttons of your own. For instance, to set the start date of a query (and thus the start date of the iChart using the query), you can use the following:
    document.getElementById("appletID").getQueryObject().setStartDate(<date string>);
    Using code like the above (look into the xMII script assistant and documentation), you should be able to build time controls which satisfy your requirements. The exact format of <date string> in the sample above will depend on the date format defined in the query template this script calls.
    Hope this helps,
    Sascha

  • HT1310 when i starst my mac i get a flashing folder with a question mark. i tried rebooting and holding the option button then i get 2 boxes, one with a refresh arrow and one with a forward arrow neither of them seem to do anything. now what

    when i starst my mac i get a flashing folder with a question mark. i tried rebooting and holding the option button then i get 2 boxes, one with a refresh arrow and one with a forward arrow neither of them seem to do anything. now what

    Here is an article that describes what it is supposed to do:
    Startup Manager: How to select a startup volume
    If no Volumes are shown, it is telling you there are no potentailly bootable Volumes attached. That means your boot drive has died or the bootable image on it is unrecognizable.
    What Mac Pro ? by year, GHz, number of processors, screen size?
    What Mac OS X ?

  • E6-00: what's wrong with Belle refresh (and other ...

    I've been following this forum and have always been up-to-date with E6-00 firmware. I've been almost happy with Belle and was expecting hardly the Belle refresh version for the Music player upgrade. What I got was - ? I don't know. Just the new version and no instant visible change. However... :
    - the Music Player is the same. Meaning, no song search and still ridiculous user interface
    - the phone tries to establish the data connection quite often even if no application is open
    - the phone is hardly responsive from time to time (while looking for the network connection)
    - the phone does not want to connect to the wifi. Restart helps.
    - the phone loses the network operator and does not reconnect. Happened once (when roaming). Restart helps immediately.
    - the Microsoft Apps: pursued upgrade. I personally do not need them. The screen is simply to small to use them effectively.
    - (not a complaint) the battery life: I think the battery life is not really affected by the OS. Those complaining about shorter battery life should check how much time they spend using the phone, being connected to wifi, etc.
    I'm very disappointed with the E6-00. I try to keep it positive but it keeps me down with every (new) issue. Does anyone has advice what to do with upper mentioned issues? I bought the phone ~2 months after it was available. I'm assuming that these first production series can have hardware issues? My phone was on reparation twice: for the notification light (hardware thing) and bluetooth issues (voice not heard over the bluetooth headset). The latter is still present I think...
    I consider buying E71 since there's no other good (Nokia) phone on the market. What makes me sad the most is that my iPod touch does wifi connection and other things smoothlessly... But I don't want an iPhone (which is in principle the same as iPod touch), I just want a good Nokia.
    Regards,
    P

    strelamcqueen:
    I agree with your post except for the fact that Belle hosed my E6.  Meaning: if you look at all my other posts, it's all about the GPS data functions that were awesome with the E71 then went away with the E6 on Anna.  At least with Anna, there was an app called LeGPSData2 that restored most of the E71 GPS functionality.  LeGPSData2 is not compatible with Belle. Sooo, I am currently using my E6 ONLY because of the decent camera. 
    Belle made the UI look pretty but that's it.  I found the same problems with the responsiveness that you mentioned and issues with not connecting to my home wifi when I try to browse the net at home.  There's nothing like downloading a bunch of big files only to discover that I've chewed up a bunch of data because the phone didn't connect to wifi.  I put the wifi widget on one of my home screens and I make sure that I manually connect to wifi now before starting the browser. The Microsoft app via the upgrade were a joke. They actually took over Quick Office so that Excel and Word opened with MS Office Mobile.  This would be fine but they open so tiny they are unreadable and they are not editable with MS Office Mobile for some reason.  I removed the MS apps immediately.
    My battery life suffered a lot after Belle refresh.  With normal use as before the upgrade I would get home with about 50% battery with 3G ON.  With Belle refresh,  The battery won't make it through a full day with 3G on and I end up with about 25% battery at the end of the day with 3G off.  Good thing I don't use much data through the day!
    This is actually my second E6; long story but the first I upgraded to Belle and was disappointed with the loss of LeGPSData2 app.  This one I was forced to upgrade to Belle refresh because while updating Ovi Maps one night, the update completely deleted the Ovi Maps app and I could not get it back without updating the OS to Belle refresh. 
    So I am with you.  I too am very disappointed with the E6 but most of my disappointment comes from the software 'upgrades'.  If Nokia would just leave well enough alone, all would be fine.  I am sorry I have no advice to take care of the problems you and I are facing.  I am in search of a new phone now and if I don't downgrade to an E72, I won't be getting a Nokia again.  It's a sad story because I have been a die hard Nokia fan for a long time.
    DS
    @adrianhughes:
    HUH?  stelamcqueen is asking advice from other USERS.  That's what the forum is about.  

  • Replication with fast refresh

    hi everybody,
    I have a problem in replication with fast refresh. I used 2 Windows 2000 server with Oracle 9i Release 9.0.1.1.1 and I can't made the automatic update. This doesn't work and I cant use ON DEMAND.
    I made
    Remote server
    Create table teste (a number primary key, b varchar2(20));
    insert into teste (a, b) values (1, 'weqwuqeui');
    create materialized view log on teste with primary key;
    Server Local --------
    create materialized view admin.teste_mv
    build immediate
    refresh fast start with sysdate next sysdate + 1/1440
    with primary key as
    select * from teste@servidor1;
    Server Remote -------
    insert into teste (a, b) values (2, 'qwerty');
    The first line is in the materialized view teste_mv but the second never appear.
    I know it's a dumb trick but I can't solve this problem at the moment.
    If somebody can help I would appreciate.
    Thanks in advance

    thanks for the reply.
    The job_queue_processes parameter in both servers is set to zero
    The dba_jobs returned the following columns, every other columns are null. The next date and time is in the past.
    JOB LOG_USER 1
    PRIV_USER ADMIN
    SCHEMA_USER ADMIN
    NEXT_DATE 11-JUL-07
    NEXT_SEC 17:45:47
    TOTAL_TIME 0
    BROKEN N
    INTERVAL sysdate + 1/1440 FAILURES
    WHAT dbms_refresh.refresh('"ADMIN"."TESTE_MV"');
    NLS_ENV NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'
    MISC_ENV 0102000200000000
    INSTANCE 0
    Cheers

  • Materiazed view with fast refresh

    Hi All,
    I want to create a Materialized view with fast refresh.
    I think for fast refresh we need to set up a materialized view log first before the MV gets created.
    Can someone please provide the steps and the syntax to do this?
    I am new to MV creation so appreciate any help in this regard.
    Thanks.
    AS

    http://www.morganslibrary.org/library.html
    Look up Materialized View Log and Materialized View ... both on the same page ... build the demo MV and you can modify the code to build any others you wish.

  • Copy process Chain with Meta chain

    Hi experts,
    how to copy the process chain with Meta chain, since the process chain which I planing to copy it hold meta chain and also local chain, I coping for change the technical name for the PC, is it possible to copy meta chain and local chain along with PC?
    and plz breif me about meta chain and local chain why we have to use them and where we have to use them?
    plz explain with scenario.
    Thanks,

    Hi,
    Once after the copy of the chains you need to change the start variant with the new one as the same start process can not be used in two process chains at the same time.
    So Once after changing the start process for your MC and LC then you are good to go ahead to trigger the same.
    If you trigger the MC then it will take care of trigerring the LC automatically.
    In terms of changes in the process chain, you can get the last changed details in the log view but you can track the timestamp of changes from the process chain tables like (RSPC* and then press F4). But you can not track which process has been changed in this.
    Thanks
    Murali

  • NMac Pro 6core D500 problems with screen refresh: 10.9.3 warning!

    Avoid 10.9.3 on the Mac Pro 6 core, D500.
    Problem with screen refresh using Motion soon after updating OSX from Mac Pro late 2013 version of 10.9.2.
    I tried my Asus HDMI at all resolutions but to no avial. The screen juddered like it was Windows 95 without any GPU drivers.
    Apple's Tech Support had me use many key commands and finally we found out there was no issue with my hardware. Apple suggested a clean install before sending it back for repair. I was fortunate to have had made a backup in the Time Machine of my computer soon after installing all my apps. After restoring my computer is running 10.9.2 version made for the Mac Pros Late 2013. There are no more problems with screen redraw after using Motion.
    So, it is clear I cannot upgrade my Mac Pro to 10.9.3 while the issue with Motion's render engine messing with my screen refresh continues. Returning to 10.9.2 has made me realize 10.9.3 is slower and not as stable.
    I would suggest not upgrading unless you have a 4k monitor.

    Avoid 10.9.3 on the Mac Pro 6 core, D500.
    Problem with screen refresh using Motion soon after updating OSX from Mac Pro late 2013 version of 10.9.2.
    I tried my Asus HDMI at all resolutions but to no avial. The screen juddered like it was Windows 95 without any GPU drivers.
    Apple's Tech Support had me use many key commands and finally we found out there was no issue with my hardware. Apple suggested a clean install before sending it back for repair. I was fortunate to have had made a backup in the Time Machine of my computer soon after installing all my apps. After restoring my computer is running 10.9.2 version made for the Mac Pros Late 2013. There are no more problems with screen redraw after using Motion.
    So, it is clear I cannot upgrade my Mac Pro to 10.9.3 while the issue with Motion's render engine messing with my screen refresh continues. Returning to 10.9.2 has made me realize 10.9.3 is slower and not as stable.
    I would suggest not upgrading unless you have a 4k monitor.

  • Meta Refresh Good or Bad

    In my index.html file in public.html i have the following code
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head><title></title>
    <meta http-equiv="refresh" content="0;url= Karart/Karen-L-Smith.html" />
    </head><body></body></html>
    I understand that the Meta Refresh is a no no for Search Engines, if this is correct what do i need to edit out of this code to make it more acceptable?
    Thanks
    John

    The concept of iWeb Sites
    iWeb uses the concept of Sites. A Site contains all the pages, images, movies and everthing else you drop on the canvas. It’s a selfcontained set of files and folders.
    You create one or more Sites in iWeb.
    When iWeb publishes these Sites it creates an index.html file in the root of the server. And it also creates one in each Sites folder.
    The index.html has a refresh meta tag in the HEAD of the HTML page.
    When you use the shortest URL possible, or use a URL without a pagename, the index.html file redirects (refreshes) as follows :
    http://www.yourdomain.com/ redirects to the first page in the first Site.
    http://www.yourdomain.com/Sitename/ redirects to the first page in that Site.
    When you move a page to the top in a iWeb Site, iWeb creates new index.html files to redirect to that page.
    Also, when you change the order of the Sites, iWeb creates a new index.html file to redirect to the first page in the Site that's now the first Site in your iWeb project.
    This way it is not neccessary to rename a page to index.html when you make that page the default page of a Site.
    The concept of Sites is the reason why iWeb doesn't publish its pages directly in the root of the server.
    You can change the Site name but you cannot delete it. If you don't like the Site name type other characters.

  • Select List with Submit refreshes page to top force users to scroll down

    Hello All,
    I have Dependent Select List where this functionality driving select list submit values to a subsequent select list.
    The "Select List with Submit" refreshes page where the unintended by-product is page refresh, which returns to top of page and therefore force users to scroll back down.
    In other words: I have a long form page where I have a Dependent Select List. So when you change the value of the 1st select list it refreshes the 2nd. This is all fine, but when the refresh occurs, the Form-focus returns to the top of page. This makes the users scroll back down to the lower end of the Form where they left off. This would make usability problems for users.
    Anyway we can make the Form return where to the area(Item or Region) where the user was during the selection of the Select List?
    Thanks in advance,
    Konstantine

    HURRAY!! I got it to work perfectly using anchors. I am adding this message to help future ApEx developers.
    I have been searching the Forum for 3 days and have read numerous postings. There was a lot of good discussion on anchors and linking from page to page. But, nothing exactly like my situation.
    Situation: Have a page, PG4, with a button, PG4_BUTTON, that redirects to a different page, PG7. PG4_BUTTON has its 'Display In Region' field set to PG4_REGION. When PG4 is run and the form displays, the PG4_BUTTON is located at the bottom. When the user would click PG4_BUTTON, the user would be taken to PG7. (this is good) The user enters some data in PG7 fields and then clicks a create button, PG7_BUTTON. PG7_BUTTON would submit data. An After Processing, Go To Page, Branch would be activated when this button was pressed and then the user would be returned to a refreshed PG4, at the top. This forces the user each time to have to scroll down to the bottom of PG4 to continue. (this is NOT good)
    Solution: On PG4, I edited the region, PG4_REGION. For the region 'Title' I added an anchor before the actual name. So it looked like this:
    {a name="REGION_TO_RETURN_TO"></a}PG4_REGION
    please note: where I have the curly braces above '{' '}' you need to put < the pointed and '>'
    Next, on PG7, I edited the Branch. On the 'Edit Branch' page, in the 'Action' region, I changed the 'Target type' field from 'Page in this Application' to 'URL'.
    To the 'URL Target' text area field I added this:
    f?p=&APP_ID.:4:&SESSION.::::::#REGION_TO_RETURN_TO
    So, there you have it. If you still need to read other postings, here are a couple of the sites I read:
    Re: Lists that go to items
    Re: URL target on a button.  What is the syntax??
    How to use <a name="top">Hello I'm at the top </a> tags in apex url ?
    Re: anchor or go to item from a branch
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_navigate_in_a_page-1.6.html
    http://www.echoecho.com/htmllinks.htm
    http://www.htmlcodetutorial.com/linking/linking.html
    http://www.w3schools.com/HTML/html_links.asp
    Thanks,
    Maggie

Maybe you are looking for