Hi,
I am creating a webapp and I have one issue which I am explaining below.
When mysite.com is opened, it is supposed to show news, events information and other information on homepage, Like a news website. Now to retrieve that info I have a
servlet which calls other classes for this information and then return it back while responding. This all is working, but through a response.sendRedirct command from index.jsp file. That file is doing a redirect to call the servlet and then it sends the information to a new page.
Since its a redirect its not good for performance. How can it be avoided and still all information can be shown when site is opened.
User types mysite.com --> On Server there is index.jsp ---> Which redirects to servlet to retrieve information --> Servlet gather the info and through dispatcher send it to new
jsp page
I am using
Tomcat 6.x as the container.
Thanks, Vikas