Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Rishi Tandon

Greenhorn
+ Follow
since Oct 23, 2002
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 Rishi Tandon

This will work fine.

This is an RMI(Socket call) call to that EJB, this might not come always from only RMI, it can also come through IIOP. so it is always advisable to cast with PortableRemoteObject.
[ September 18, 2006: Message edited by: Rishi Tandon ]
I have read all the above long conversation.. i feel there should be one Web Application (as it is running/designed) containing 3 sub modules named App1, App2 & App3.
For handling timeout session.setMaxInactiveInterval(<duration_in_sec> .... should be the best possible solution which can be employed.....
and <duration_in_sec> should vary according to the sub module. i.e. for App1 it should be session.setmaxInactiveInterval(20*60), for App2 (40*60) and for App3 (5*60)...
16 years ago
Check out... if your servlet is in an active session.
16 years ago
It Should be :

A.class
A$1$B.class
A$2$B.class
C.class

I just want to know the concept behind using super.init(config) in the init() method of an Http Servlet.



A convenience method ( GenericServlet.init() ) which can be overridden so that there's no need to call super.init(config).
Instead of overriding init(ServletConfig), simply override this method and it will be called by GenericServlet.init(ServletConfig config). The ServletConfig object can still be retrieved via getServletConfig().
16 years ago
session timeout specified in web.xml is treated in minutes by the container. so logically session should expire after 500 minutes(According to your configuration).

besides session configuration in web.xml, are you using Session.invalidate() method on some conditions ?
16 years ago
Check if u r writing to stream based on some conditions and then it is forwarding the request it is giving the Exception.

Paste the complete code so that we can have a look.
16 years ago
JSP
HTTP Client.

fllow the code and u have to make changes according to your requirement .

16 years ago
First the requirement should be made clear, then performance should be evaluated.

what is your requirement?
16 years ago
Yes, The reference of the Object B (Static member)can be garbage collected.

When :- Till the class is loaded Static members will be in memory.
once the class is about to be unloaded Static Members will be garbage collected.
16 years ago
Check whether you are able to access the FORWARDED page directly :
i.e. http://<host>/<web-context>/servlet/SOANewMainPage.
16 years ago
They both seem to be performing the same task.

Can anybody state differences between Session Facade & Business Delegate.

- Rishi
16 years ago
JSP
Check the default session timeout set for the Web App.
16 years ago
Ya Nathan is rite .


U can follow this code :






Beans should always be associated with some package other than DEFAULT.
16 years ago
JSP
Hi Sushil ,

whenever a client places a request to servlet/JSP. The connection breaks after the response is sent by the Servlet/JSP, though session is maintained by the server.

Now we can check whether the session is valid for that particular client by using request.isRequestedSessionIdValid().

- Rishi
16 years ago
JSP