Hi Everyone,
First let me thanx all of you(specially Craig) that our first JSP/Servlet
project is in production and everybody just loves it, could'nt have done it
without your help.
Second, I have another project now, but it requires alot of fancy gui work
that HTML+ javaScript+DHTML doesnt support(DHTML to some extend), so I am
thinking of using applets for passing parameters to a servlet.
The architecture is something like this
Login(HTML)
--->
redir.jsp(creates session, validates login and if passes puts a LoginBean in
session )
--->
Menu of Reports (jsp) - Selects the Applet Search
--->
Applet Search (jsp+applet ????)
---->
Processing Servlet (uses the LoginBean which has a handle to my Database
Connection)
---->
Results (jsp)
OR
Error(jsp)
My question is, throughtout this will my session be maintained that I
created when I logged in, I mean when I use Applet to servlet comm., how
would the client Applet send session information??? To my knowledge that
would create a new session because the sessions are mainted via cookies (I
think) or url-rewriting. I was thinking if that was the case then I can
embed the applet in JSP and somehow(this is where I am lost) is have the
session information as the parameters to the applet and when I build the url
to send to the servlet, I could do some URL-Rewritting thing??? Am I wrong
there? Any suggestions on how to do this.
Thanx much(and sorry for the long email)
Asim Imam
javaDeveloper@AT&T Systems
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html