I just want to call a JSP at startup, where I can use JSTL to make some
database calls, set some application variables and populate an application
scope hashmap.   I don't want to code the logic in a servlet, because I want
a non-Java programmer to be able to modify the JSP page in the future.

Aaron

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Eric Kreiser
> Sent: Wednesday, November 21, 2007 9:09 AM
> To: General Discussion for the Resin application server
> Subject: Re: [Resin-interest] Calling a JSP on Start Up 
> (likeload-on-startup)
> 
> what are you trying to do?  I would think you would be coding 
> startup type processes in a ServletContextListener not in 
> Servlet's or JSP's
> 
> 
> 
> Aaron Freeman wrote:
> > Is there any way to have Resin call a JSP when it first 
> fires up, similar to
> > how you can call a servlet:
> >
> > I saw somebody doing this with Resin 2.x, but it doesn't do 
> anything for
> > Resin 3.0.22:
> >
> > <servlet> 
> > <servlet-name>login_jsp_sname</servlet-name> 
> > <jsp-file>/login.jsp</jsp-file> 
> > <load-on-startup>1</load-on-startup> 
> > </servlet> 
> >
> > So I am guessing the <jsp-file> tag has been deprecated, 
> but for the life of
> > my I can't figure out how to get Resin to call a JSP on start up.
> >
> > Thanks,
> >
> > Aaron
> >
> >
> >
> > _______________________________________________
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
> >
> >   
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to