Hi,


I am working upload and download application. I have jsp file  it gets the
file name and content type.  I am want to pass this values to servlet.


So I can I pass session jsp session variables to servlet.  Please give me
some idia.

Please help me some idia.. I will thankful to u.

Thanks,
Malla Reddy


Here is the jsp code..



<%
if (rs.next()){

                // Initialization
                mySmartUpload.initialize(pageContext);

                name = rs.getString("FILENAME");
                contType = rs.getString("CONTENT_TYPE");


                // Download field
                //mySmartUpload.downloadField(rs,"ATTACH_BLOB",contType, name);

                // Field To File
                mySmartUpload.fieldToFile(rs,"ATTACH_BLOB", "/demo/download/" + name);


        }

        rs.close();
        stmt.close();
        con.close();

session.putValue("name",name);
session.putValue("contType",contType);
// Here I want to call servlet and I have to pass this session data to
servlet.


%>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

___________________________________________________________________________
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