470,833 Members | 1,346 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

Applet to Servlet to JSP communications

Hi all,

I'm still somewhat new to servlet/JSP programming, but I want to my
application to use the MVC model.

I have some simple JSP pages that dynamically open an applet that the user
uses for data entry.

The applet then opens a channel to the servlet and passes the data to the
servlet in a serialized object. I have tested this part of the
communication by having the servlet send the data back to the applet to
display.

This next step is giving me a problem. What I want to do is have the
servlet perform database searches based on the data from the applet and
forwarding the formatted results to a JSP. I'm testing this architecture
using a dummy JSP page for now.

I've tried to reconfigure the applet to NOT wait for the datastream from
the servlet, but it appears that it still is. I've place the test
software in the NetBeans IDE to get better access to debug information. I
can see the JSP page being called from the servlet, but then the applet
returns an error about the datastream header being wrong.

I need some help with this critical point. How do I get the applet to not
be waiting for communication from the servlet and let the JSP page be
displayed as expected?

Thanks, Michael


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 17 '05 #1
0 4276

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Vissu | last post: by
reply views Thread by alfredo | last post: by
reply views Thread by SubbaRao Karanam | last post: by
5 posts views Thread by Rowland | last post: by
reply views Thread by ankur | last post: by
1 post views Thread by dmanojbaba | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.