Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

pass a jList from an applet to a servlet

Posted on 2000-04-18
4
Medium Priority
?
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 600 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

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 how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

604 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