File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Basic question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Basic question" Watch "Basic question" New topic

Basic question

Prashanth Bhanu
Ranch Hand

Joined: Sep 25, 2003
Posts: 110
hi friends,

From client if i'm doing a servlet request,Is that serialized??.I'm sending a string to the servlet.I just want to know is it serialized by default.I know session object is serialized as it needs persitence.

In my application i'm using swing client developed using JDK1.5 and server objects which is being developed using JDK 1.4.I know it will be an issue if i send some thing serialized as server is running on jre 1.4.

Can anybody suggest me which is the better method to adopt in such situations??.Thanks in advance

Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Send the string to the servlet using request parameter.Why serialization ?

Rahul Bhattacharjee
LinkedIn - Blog
I agree. Here's the link:
subject: Basic question
It's not a secret anymore!