Thanks for replying. I will be having 6 different action class for the other pages.This is very simple application . As I said before , home.jsp is the main page. Users will be spending lot of time in the home page. Other pages will be preference page, Contact us etc. There will be no much action involved in other pages.
So I will be sending all the request from home page to that Struts action class for the home page.
I wanted to do same way they have done here
http://www.omnytex.com/articles/xhrstruts/. Instead of redirecting to a jsp in the execute method I will be having like this.
// Write the HTML to response
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println(html);
out.flush();
return null; // Not forwarding to anywhere, response is fully-cooked
} // End execute()
Please advice me what is the better way.