I would like to open the serliized object to search when the user logs back on and when a new one is created to check the username is not already in use.
I have written a java class for the servlet to instantiate with methods to do both the verification and creation but the serialization part does not seem to work.
My question is this: Am I able to serialize and de-serialize a HashMap in a web app?
This is my current code for doing so:
you need to add some synchronization to ensure only one request can access the file at a time
I thought I'd get the actual serilization to work before adding this, but thank you.
Should the code I posted work for my intended purpose from what you can see?
Below is what should call it which is in my servlet:
WARNING: Internal error flushing the buffer in release()
WARNING: StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
java.io.IOException: Stream closed
Although I am not closing the steam...