2014年1月2日星期四

How to determine the end of the jsp export excel export ?

Such as title,
jsp export excel how to determine the end of the export ?
------ Solution ---------------------------------------- ----
should be created and then entered, and write data excel it .
------ Solution ---------------------------------------- ----
you export excel to 1.jsp, when the output stream finished on the end , is explicitly a download box pops up , downloaded finished ah
------ Solution - ------------------------------------------
hello , if you then it used to synchronize directly jump page , oh , there will be a callback if the asynchronous request , then you put your logo to return to the end of the callback function , and then get the value inside the callback function can determine whether to end or success , such as a success, 0 for failure and so on. If the proposed underserved selectively adopted .
------ Solution ----------------------------- ---------------

  
Oh, I did not learn the language , could not express what I mean   
  
another question is asked :   
0.jsp form submission to 1.jsp, in 0.jsp how to determine whether 1.jsp load completed? Seek guidance  
In 1.jsp in write js method under test , 1.jsp the download is complete you should execute onload method
------ Solution - ------------------------------------------
you can write js where to commit , and then submit a wait before operating the write event on it .
------ For reference only -------------------------------------- -
added: I was in 0.jsp submitted to another 1.jsp through a form , get the data and write excel through 1.jsp, how do I get the end 1.jsp written in the form of sending 0.jsp sign it?
------ For reference only -------------------------------------- -
  The reply was deleted at the moderator 2013-11-07 09:59:07

------ For reference only ---------------------------------- -----


Oh,



My question becomes whether to return data from 1.jsp 0.jsp?
------ For reference only ---------------------------------- -----
you submitted to the servlet and then write data. Jump over your 0jsp
------ For reference only ------------------------------ ---------


Oh, I did not learn the language , could not express what I mean

another question is asked :
0.jsp form submission to 1.jsp, in 0.jsp how to determine whether 1.jsp load completed? Seek guidance
------ For reference only ------------------------------------ ---





exported excel because of the relatively large . Starting written bomb box appears , you need time ranging from 1-10s , I would like to add a wait operation.
So I need to get "explicit is a download box pops up " moment or event .
------ For reference only -------------------------------------- -

Will the landlord, the problem is how to solve it ? I also do not know how
excel judge or judge has already generated a good pop-up download box

没有评论:

发表评论