I need to send a string which represents a xml file to browser, I need to
call response.setContentType(text/xml). But it is at ActionServlet level
and is default to text/html.
1. Any idea?
2. I can do the output at MyAction.perform() level, but how to handle the
return type of this method?
I need to send a string which represents a xml file to browser, I need to
call response.setContentType(text/xml). But it is at ActionServlet level
and is default to text/html.
1. Any idea?
2. I can do the output at MyAction.perform(, request, response, ) level, but
how to handle the return type
2 matches
Mail list logo