Hi Paulo,

Depending on your knowledge, your time, the flexibility you have.... they
are a couple of possibilities.

I think of two main ones:
1. Easy:
        You send the HTML page to the client, and you had a HTML tag (or
redirect method of your choice) to a servlet that will return the
certificate

2. More tricky, much more fun to write:
        You use the multipart functionnality of Mime that allows you to send
two "documents" in one request to the browser. The first document will be
the HTML document the second one will be the certificate. I did that a
couple of year ago using a document I found on Netscape developer web site
(sorry, that was too long ago, I don't kept the URL! ;-) ), at that time I
did that with a simple CGI that was working pretty well!

Hope That Helps!
Loic.

______________
Loïc Fabro
Consultant, Advanced Services Group
MicroStrategy
The Power of Intelligent E-Business

/--------------------------------------------------\
| Simple to Use - Simple to Deploy - Simple to Get |
|  MicroStrategy 7 Business Intelligence Software  |
|        Get your Free evaluation copy today!      |
|             www.microstrategy.com/eval           |
\--------------------------------------------------/

-----Original Message-----
From: Paulo Moreira [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 7:52 PM
To: [EMAIL PROTECTED]
Subject: Certificate + HTML page


Anyone can tell me how i can make a servlet that return a x509
certificate plus a html page to the client. I need to return both, but
i don't know how i return a digital certificate and i don't know how I
return a certificate and a html page.

                Paulo Moreira - Braga, Portugal

___________________________________________________________________________
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

Reply via email to