My servlet has a String called 'category'. I want to pass the String to a JSP. Therefore, I have the code shown below in the servlet:
session.setAttribute( "c", category ); OR request.setAttribute( "c", category ); And, I do the following in my JSP: <% String keyValue = (String)session.getAttribute( "c" ); %> OR <% String keyValue = (String)request.getAttribute( "c" ); %> How do I write out keyValue in my JSP in Struts? __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]