jay yu

Greenhorn
+ Follow
since Oct 23, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by jay yu

Devaka Cooray wrote:

jay yu wrote:so it is possible to call another JSP file and wait til it finished?


No. As Bear said, it doesn't make any sense. If what you need is performing some calculation after the page has rendered, JavaScript might be the best way to go.



right,i know what you mean now. first i have to use JSP, and second mostly i am just calling for testing purpose to see how long does it take to call 10K times, so actually i don't need to have the calculation but for the performance test i want to wait unti the calculation is done before calling another one that's all. am i making sense now??
12 years ago
JSP

Bear Bibeault wrote:Except for the "wait" part (which makes no sense -- JSPs execute sequentially just like any other code), it sounds like you want to create a tag file or a custom tag.



no i don't want to create a tag file or custom tag. so it is possible to call another JSP file and wait til it finished?
12 years ago
JSP
Hi there, quick question

how can I call a jsp page from anther jsp page?

I have a simple math calculation jsp page (A.jsp) and i want another tester jsp page (T.jsp) to call A.jsp a multiple times, but each time i want T.jsp to wait until the calculation is done before calling A.jsp the second time. what is the best way to do?
also I want to pass some random number to the A.jsp.

many thanks.
Jay
12 years ago
JSP