Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

pass a jList from an applet to a servlet

I'm currently building a jList in an applet and like to create a kind of report html page (in fact a table with the element of that jList) with a servlet.

How to pass the jList to the servlet?

Thx for the help from Belgium!
0
usa4manu
Asked:
usa4manu
  • 2
  • 2
1 Solution
 
ovidiucraciunCommented:
you can serialize that list and
send it through a socket to that servlet.
0
 
usa4manuAuthor Commented:
In fact, I'm working now with a JTable and when I try to serialize the object with the command writeObject (Object) I have an "IO Exception: ToolTipManager$1".

ps: the JTable Object implements the Serialize Interface...

Have U an idea?
0
 
ovidiucraciunCommented:
javax.swing.ToolTipManager does not implement the serializable interface

You shouldn't serialize the entire JTable. You need to serialize only the data stored in jtable. when receive the serialized data you can easely create a jtable
0
 
usa4manuAuthor Commented:
Thx!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now