Hi to all,
I have a simple basic question and it's Where is the default path of
applets in JRun? I have a servlet that in it I wrote an applet tag ,
but I don't know where should I copy my applet on Server.
I copied my applets to htdocs/ path and docs/ path and wrote in output
html
----------------------
htmlPage += "<applet CODEBASE = \".\"
code=\"CustomerApplet.CView.class\" width=800 height=800>";
htmlPage += "<PARAM NAME = \"CID\" VALUE = \"mi\">";
htmlPage += "<PARAM NAME = \"FirstName\" VALUE = \"" +
aCustomer.firstName +"\">";
htmlPage += "<PARAM NAME = \"LastName\" VALUE = \"" +
aCustomer.lastName +"\">";
htmlPage += "</applet>";
outputToBrowser.println(htmlPage);
---------------------------
but it didn't work.
How can I solve my problem? any suggestion.
Thanks in advance
Mina
______________________________ Reply Separator _________________________________
Subject: Serializing HTML Data
Author: <[EMAIL PROTECTED]> at Internet
Date: 04/11/99 01:21 �
I am trying to avoid using hidden variables in my HTML pages to save
state of my servlets. I know I can use the HTTP session to store this,
but my client wants to avoid this overhead. I thought about taking a
class and serializing the data into ASCII and storing that into one
hidden variable instead of many. Can someone lend some assistance in how
to serialize data in Ascii and then unserialize this Ascii data back into
a Java class. I tried using 'URLEncoder.encode' and 'URLEncoder.decode'
with no luck. Thanks in advance.
Bill Rosenberg
[EMAIL PROTECTED]
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html