Hi all:
 
How I can make a sendRedirect whitin an action in struts.
in action class I have to return ActionForward but I want to make sendRedirect to lose 
the request instance.
 
thanks in advance
Mohamed
 
 
 


"Nail, Evan Burke" <[EMAIL PROTECTED]> wrote:

Also, You have to make sure that nothing is written out to the stream before you set 
your content type. 

Also I did this just playing around a while back, I noticed that we had to move our 
jsp imports to the bottom of the file. Having them at the top caused errors in the 
output. I'm guessing for the above reason. 

If you have to use a jsp page, make sure all you do in the page is set the content 
type and output the content stream. 

bn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 7:10 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: PDF File Display in JSP-Struts


Are you setting the mime type properly on the response object?

-----Original Message-----
From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 1:55 PM
To: Struts Users Mailing List
Cc: WebSphere User Group Tech Q & A Forum
Subject: PDF File Display in JSP-Struts



Hi All,
I want to display one PDF file in my websphere struts framework. when i do
it without struts (only servlets ) it works but when i use JSP along with
struts it does not work. it does not read binary data properly... Is there
any body to help me out....


regards & thankx in advace...
Abhijeet Mahalkar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



**********************************************************************
This e-mail is the property of Enron Corp. and/or its relevant affiliate and may 
contain confidential and privileged material for the sole use of the intended 
recipient (s). Any review, use, distribution or disclosure by others is strictly 
prohibited. If you are not the intended recipient (or authorized to receive for the 
recipient), please contact the sender or reply to Enron Corp. at [EMAIL PROTECTED] and 
delete all copies of the message. This e-mail (and any attachments hereto) are not 
intended to be an offer (or an acceptance) and do not create or evidence a binding and 
enforceable contract between Enron Corp. (or any of its affiliates) and the intended 
recipient or any other party, and may not be relied on by anyone as the basis of a 
contract by estoppel or otherwise. Thank you. 
**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Yahoo! Messenger
Nueva versi&oacute;n: Super Webcam, voz, caritas animadas, y m&aacute;s #161;Gratis!

Reply via email to