This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
jQuery in Action, 3rd edition