Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

jsp:forward [JSP DOUBT]

  Asked By: Sean    Date: Sep 15    Category: Java    Views: 1391
  

The comand:
<jsp:forward = "page.htm"> only shows another page, on the screen.

An example when I'm waiting for an event:

<h1> Wait while when processing </h1>
<% do { %>
<% } while (! file.getSucess()); %>

<!-- Here I put the forward -->
<jsp:forward = "page.htm">

This code above only works if the "file.getSucess()" is already processed. For
example: the method getSucess() wait that something in a file.
What must I do to show the "page.htm" on real time? Is that possible?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Benny Torres     Answered On: Sep 15

Have ou tried to set the buffer property to some thing
larger?

And most important than that forward  only works  when
no output has been sent to the client.

 
Answer #2    Answered By: Ulfah Hashmi     Answered On: Sep 15

That is the problem, many outputs are been sent to the client before the
forward.

Don't you know how can I send a "loading" message to the client and after
show another page?

 
Didn't find what you were looking for? Find more on jsp:forward [JSP DOUBT] Or get search suggestion and latest updates.




Tagged: