How can i decrypt file using JSP at portal part ?

Hi,i have files which are encrypted and want to decrypt at portal (client)side using JSP pages.is it possible ?then tell me solution pleasewaiting for your reply.
[197 byte] By [Ghanshyama] at [2007-10-3 3:32:00]
# 1
Why not use a servlet instead of a JSP, like most people would do? It's possible with them. (With JSP, too, but you'll deserve to be kicked from your job for doing that.)
CeciNEstPasUnProgrammeura at 2007-7-14 21:26:05 > top of Java-index,Java Essentials,Java Programming...
# 2

Sure, you can upload a file, using a form input element of type file. You pick this up with a servlet, though you need a special request wrapper to sort out the multi-part request you get back that way (there's a suitable package on jakarta.apache.org/commons)

The servlet decrypts the file and can pass the results to a JSP for display.

Don't try to do the complicated stuff in a JSP, it all gets incredibly messy, and that's not what JSPs are for.

malcolmmca at 2007-7-14 21:26:05 > top of Java-index,Java Essentials,Java Programming...