Hi, you can return null inside the Action as ActionForward. In this case Struts doesn't dispatch the request to view.
BR Amleto -----Messaggio originale----- Da: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] Inviato: mercoledì 16 giugno 2004 18.28 A: [EMAIL PROTECTED] Oggetto: Using a servlet code within Struts Hello everyone I want to make some servlet code to work in Struts. i dont want to make the servlet to work. i want to rewrite the code into Struts. The servlet uses out = response.getOutputStream() and then out.write(); I know Struts uses the model 2, so that the view is a jsp. Im thinking of using and action, where i use the response object, and i would do it like i do in the servlet. However, i dont know how to use the ActionForward, because i would render the output, based in the servlet. i mean no JSP. How would u solve this problem? -- Ricardo Andrés Quintero R. Ubiquando Ltda. --------------------------------------------------------------------- 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]