ashok sashrith

Greenhorn
+ Follow
since Jan 31, 2005
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 ashok sashrith

Hi All,

My application is a J2EE application uses Struts framework. And I do not have any problems with WebSphere 5.1.1.3, but recently the server upgraded to version 5.1.1.8. After that the server throws NotSerialization Exception like the following:



My question is:

Is there any issues with verion 5.1.1.8 on serialization or my application design needs to be modified? Pls suggest.

Thanks in advance.

Ashok
18 years ago
Dear All,

I am seeing the NotSerialization exception in my WebSphere Server log like following:



When I search in the net, It was a problem with old Struts version and ResultClass should implement the Serializable interface. My application has the latest Struts jar files and the ResultClass implements the Serializable interface. Still I am facing this issue and continuously throwing the NotSerialization exception. Any suggestion pls?

Thanks.

Ashok
18 years ago
Thanks Ernest and here is the code for the same.



Hope it helps. Thanks in advance.
18 years ago
Thanks for the info.

I bought the Head First Design Pattern book to start with.

Ashok
Dear All,

I am interested to study the application framework and design patterns. Please refer some books to go with these topics?

Thanks in advance.

Ashok
Hi All,

I am using a class "CustomValidate.java" in my application. As it is one of the ResultClass (Struts), I have implemented the Serializable interface in the "CustomValidate.java". But still it throws java.io.Serialization exception?

I read from the net that all the class referred inside the Serializable class also needs to implement the Serializable interface to make the object Serializable.

My question is; The "CustomValidate.java" referring two (only following two lines) such external class in a method like the following:

Keys.FirstName (accessing a constant value from Keys.java)
Util.format(FirstName) (Calling a method which is in Util.java)

Does this classes "Keys.java" and "Util.java" also needs to implement the Serializable interface? Please suggest.

Thanks in advance.

Ashok
[ February 22, 2006: Message edited by: ashok sashrith ]
18 years ago
Dear All,

Is the K&B SCJP 1.5 book available in India? I tried with the nearby book shop but it is not. Please share if you have any information about this as I am really looking for this book.

Thanks,
Ashok
Thanks for your comments.

This sounds like extremely annoying and intrusive behaviour to me. What is the business reason for this requirement?



And the reason for this check is to make sure that the http request is initiatted from the application in sequence by the user. For example, the application should not allow to access the last page without coming thru all the previous pages.

The pop-up window triggered from the application has the http request header "referer" value NULL always. Any comments on this please?
[ December 15, 2005: Message edited by: ashok sashrith ]
18 years ago
Hi,

I am checking the http header "referer" in my servlet to figure out whether the user switched to any third party site and come back to my application. I am forwarding to error page if the user did so, but I have a session timeout warning pop-up window in my application which will be triggered automatically before 5 minutes of session timeout from the JSP. Unfortunately this pop-up window "referer" header is always NULL and the request ends with error page. Please comments.

Thanks for your time.
18 years ago
try this,

Forward your request to a temporary html within your application. And while loading the html(in onload), forward it again to the different site (http:/foo.com) and retrieve your data.
18 years ago
David, There is confusion over here. Could you little more elaborate on "The timeout value prevents the user from using the session, but the actual session does not get cleared for some time after".

Thanks,
Ashok
18 years ago
Hi,

My application requires session timeout after 20 minutes and had an entry in the web.xml.

<session-config>
<session-timeout>20</session-timeout>
</session-config>

but the session timeout happens only sometimes after 25 minutes. can anyone explain why this much delay in session timeout?

Additional info.:
IBM Websphere Application Server 5.0
Windows 2000

Thanks,
Ashok
18 years ago