Originally posted by Mani Balasubramani:
Thanks for your reply. I am using Oracle 8i. In my case, i am not calling the same query many times in a JSP page. But I am reloading the entire JSP page, which means that i am once again creating another instance of preparedStatement object. Is there any way to avoid this?
Thanks again.
Originally posted by Menon Hema:
/ selects the root node of the document, whereas * selects all the elements.
Originally posted by Chhaya Dhanani:
hi all,
my code works in the following manner.
i have a central controller which is a servlet.
i am using the model 2 architecture (MVC) pattern.
all request go to this servlet which sees in the properties file and calls the corresponding business object(logic which is a class).
This class returns a XML file which i have to display on the browser.
my problem is suppose another request comes before the earlier xml file is thrown on the browser, then this file is replaced.
i thought of placing this file in the session..
Is there any other better way to do this..
Certainly all u champs out there can help me on this..
Thanx in advance
Chhaya
Originally posted by tsmets:
I'm currently writing the Unit test for a class which instances are accessible only via a factory.
The Factory uses an array to return only one -specific- instances of the class. This is a sort of Singelton
Of course the factory is a static get<Method>.
The method uses a Collection to store existing reference & is, up to now, appropriatelly synchronized to avoid returning double instances even when accessed by multiple threads.
My question is (finally):
To make sure the system behaves OK, I'd like to be able to deregister the class. Something doing the opposite of
<code>
Class.forName("MyClassName");
</code>
This would allow me to run the test multiple times w/o having to ensure the class is always called with different parameters from one test to another.
Tx,
Thomas,
Originally posted by natasha malhotra:
While using a Java Client Application and an app-server EJB based server in a client-server environment, how do we notify the client of a new message (for ex: a mailing application) from the server instead of the client polling the server in a scheduled time frame?
Here the implementation should be using EJB on the app-server and not standard Java Class. Can this be done using an EJB?
Originally posted by prav mane:
hi all,
as you can see here,
i need to evaluate the "value" attribute using the xsl:value-of statement. How do i tell the processor that the statement within the "" needs to evaluated.
it signals an error saying that an attribute value cannot have a "<".
<xsl:template match="answer">
<input type = "radio" name="ans" value="<xsl:value-of select="@sno"/>">
<xsl:value-of select="text()"/>
</input>
<br/>
</xsl:template>
thanks,
prav.
Originally posted by Gennady Shapiro:
I have found people at whotocontact@... not to be very responsive. Besides, in my experience, very often things get lost/confused/misplaced. So I call suned, then the things start moving fast.
40 days seems excessive, you should call them. You will find the 800 number at suned site.
Originally posted by Don Liu:
Nothing happened until today. Please be patient.
Don