Solved

pass a jList from an applet to a servlet

Posted on 2000-04-18
4
249 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 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

Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

696 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