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.
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?
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.
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.
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 ]
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.
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.
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".