Dear
Java Servlet Programmers
I would like to know if it is possible to call a servlet when we refresh a
JSP page. Usually we call a servlet from a <a href> and form. But now, how can we call a servlet through the same URL or a refresh page
For example, the users is already logged in and browse at my profile page for couple of minutes.
Then the users want to refresh that page because he/she just feels like to do it. When the users press the refresh button, it will call a servlet named "ProfileServlet.java" or perhaps call a Filter instead going directly the JSP page.
I aksed this because, I am facing a problem with my session Time out. For every 20 minutes, I refresh a page. It always gies me this irritating 500 HTTP error message. I guess the problem is in the session time out.
Recently I have google the problem, but most of the respond said that I must use a Filter.
So again, how can I call a servlet or Filter by refreshing a page instead calling the JSP page.
Is there any posibility this could be achieve or perhaps another cool alternative solution
Please advice/assist. I really appreciate your time and help. God Bless =)
----------
Love Java Programming