Solved

pass a jList from an applet to a servlet

Posted on 2000-04-18
4
239 Views
Last Modified: 2013-11-24
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
Comment
Question by:usa4manu
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:ovidiucraciun
ID: 2726458
you can serialize that list and
send it through a socket to that servlet.
0
 

Author Comment

by:usa4manu
ID: 2726830
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
 
LVL 3

Accepted Solution

by:
ovidiucraciun earned 150 total points
ID: 2726871
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
 

Author Comment

by:usa4manu
ID: 2726919
Thx!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question