LPS-33449 Handle NonSerializableRequest correctly in 404.jsp

Hi Igor,

I've found a minor bug regarding serialization handling in 404.jsp on Weblogic.

Could you please take a look?

Many thanks,
László