This is a discussion on "How to use <meta http-equiv="refresh" for my ca" within the PHP Forum section. This forum, and the thread "How to use <meta http-equiv="refresh" for my ca are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
How to use <meta http-equiv="refresh" for my ca
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
How to use <meta http-equiv="refresh" for my ca
I have a jsp page which shows a progress page for generation of some report . There is a
<meta http-equiv="refresh" content="0";URL="myURL"> tag in it. I am using a gif image(equivalent to a progress bar) to show that the report is being generated. But the problem is that till the time it is not redirected to the URl given above, the image is not moving in IE 6.0. I need to know if there is any other use of meta tag possible or some other technique with a sample code will also be appreciated. I just want the progress to be shown somehow through a moving figure on the generation page. |
|
|
|
#2
|
||||
|
||||
|
Hi Vishal....
I am a little confused as to what it is you ae trying to achieve here. Could you give us more info so we can try and help you?
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#3
|
|||
|
|||
|
I am trying to create a report generation tool.
I have a JSP page which is popped up after clicking the “generate report” button in another JSP page. It takes some time for the report to be generated and to be displayed in the same popped up window. Meanwhile, the report is getting generated, I am displaying a moving image(animated image which can considered equivalent to a progress bar) in the JSP page I referred to above(the popped up window). I am using the <meta http-equiv=”Refresh” content=”0;"the URL for report generation(in my case an action class)" > tag inside this wait JSP page and the <img> tag for the moving image. But the image in this JSP doesn’t move in IE , it does in Mozilla. Please help me in this, with some sample code asap. If an alternate approach is possible using only JSP’s, please help me with the same. |
|
#4
|
||||
|
||||
|
Do you have a url?
I suspect this is just your machine... as sometimes my IE fails to animate images... but my other box does.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#5
|
|||
|
|||
|
I tried it on other box too. I want to know some other way of achieving the same effect, be it some other technique involving JSP's or HTML tags.
Please help me with some source code if possible . I am stuck at this point. I just want some moving image while the report loads. |
|
#6
|
||||
|
||||
|
You could use a flash animation.
This would work in all browsers.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#7
|
|||
|
|||
|
I have tried using the flash animations also but as i told earlier they are not always moving, but they work just fine in Mozilla. Isn't there any other solution possible for this problem. Please have a look at the code i am using in the JSP page ( popped up window).
<meta http-equiv="Refresh" content="0;URL=<%=request.getContextPath()%>/<%=request.getParameter("path")%>?<%=request.getPa rameter(SCHEDULE_TASK_ID)%>=<%=generation_id%>"> <body> [img]<%=request.getContextPath()%>/images/MyFile( .gif or .swf)[/img] Stop ReportGeneration</p> </body> Here the image is displayed but without animation. Please give me some hint how to proceed, whatever be the solution HTML-based or Java-based. |
|
#8
|
|||
|
|||
|
When you use Flash and publish a flash movie, Flash will actually create an HTML file for you with the necessary <object> code within it. All you need is that <object> code.
If you're not generating the HTML file, make sure you're choosing File > Publish and ensure that HTML is still selected in your publish settings. Alternatively, if you don't have Flash...
|
|
#9
|
||||
|
||||
|
In other words Vishal.... you CANT do this:-
[img]<%=request.getContextPath()%>/images/MyFile.swf[/img]
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| use, ltmeta |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a "tag" system to find relevant "related" pages | MrQuestions | PHP Forum | 3 | Mar 20th, 2008 23:06 |
| using meta http-equiv in php | sudhakararaog | PHP Forum | 2 | Mar 9th, 2008 17:20 |
| [SOLVED] Show "Image" Depends On User "Status"? | Monie | Classic ASP | 6 | Oct 16th, 2007 01:22 |
| ? IS "meta name="robots" content="?" necessary in pages ? | Love2Java | Starting Out | 6 | Aug 8th, 2007 13:48 |
| window.opener.document["nameForm"].getElementById("someid").value; doesnt work | drpompeii | JavaScript Forum | 0 | Feb 17th, 2007 23:09 |