• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP-Time out error."Urgent."  RSS feed

 
Viral Thakkar
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! All,
I m new to this forum.
I am facing a problem while running a jsp.I am using Jrun.
Time out error comes.
Actually my .jsp file deletes the records from database .
When records are less , it works properly but when the records are more like 5000 or more than it gives a time out error problem.
so please any one help me.
 
maha anna
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does session timeout? Just to check add these tags in your web.xml file and check. In web.xml file value "50" means 50 mins.
Another way is , inside your java code when you create sessions use session.setMaxInactiveIntervel(time_in_secs) to set session's timeout. This api overrides the web.xml value.
Also please check this related discussion:
http://www.javaranch.com/ubb/Forum7/HTML/002745.html

regds
maha anna

[This message has been edited by maha anna (edited April 22, 2001).]
 
Viral Thakkar
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maha.Thanks for reply
I will try as per ur suggestions and will get back to you.
Thanks once again..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!