cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From I-Chung Young <ich...@puma.mt.att.com>
Subject XSP question
Date Thu, 07 Sep 2000 16:47:11 GMT
Hi,

	Based on what I understand, XSP is recompiled every time
it is accessed? If there are simultaneous access to one page,
is it possible for one output/XSP/class override another?

	The question come from my colleague. He wrote a XSP page
that spawn a thread for DB access, which might takes a while.
The result of the query thread will be kept in session object.
	The main thread check if the result is available in the
session to determine whether to display the message "processing"
and allow user to click a button to check again with the same URL
or display the result.
	If user click too earlier before the new thread is created,
the new thread is never executed. My guess is due to recompilation
of the XSP that might interfere the class loading.

	Any explanation? or suggestion?

-- 
Thanks.
---------
I-Chung Young            Email: iyoung@att.com
Phone: 732-420-1078      B5-2C29, 200 Laurel Ave.
Fax:   732-368-1417      Middletown, NJ 07748

Mime
View raw message