Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

JSP + slow backend constructor



Hello

I am developing a web project using java and jsp.
Everything is working, but at the backend I have a constructor with is supposed to read a dictionary file which is quite large(20 sec load time).

My question is: How can i run this constructor before the users enter my jsp page? And how to I get access to that object?

Thanks in advanced,
Kjetil