RE: Problem with initialize servlet - load-on-startup

2003-12-20 Thread Les Dunaway
OK, I found the problem and in the process learned something I DID NOT want to know. The mistake I made was a typo - the class is com.glsi.share.ApplicationInitialize and I typed com.glsi.share.ApplicationInitialze. It makes perfectly good sense that when Tomcat went to load the class, I should

Problem with ServletContext.getAttribute

2003-12-20 Thread Les Dunaway
I'm using an initialization servlet (load-on-startup). It is successfully (per log.debug) putting an object into ServletContext with a key of FOOTER_BEAN When a jsp does jsp:useBean beanName=%= getServletContext().getAttribute(FOOTER_BEAN); % I get attribute FOOTER_BEAN has no value. Doing %=

Problem with initialize servlet - load-on-startup

2003-12-17 Thread Les Dunaway
I'm running Tomcat 406 on Redhat9 I have a working Struts app I've added a second servlet to web.xml, specifying load-on-startup 2 (where 1 is Action servlet The second servlet is ignored (or at least it doesn't produce anything in the logs) - the log shows the parsing of the web.xml going

Problems loading images - tomcat 4.1.18 / struts 1.1-rc1

2003-04-03 Thread Les Dunaway
Folks, I am loosing what little mind I had: I've got html:base/ It renders base href=http://localhost:8080/MyApp/WEB-INF/pages/as_home.jsp; and html:img page=/WEB-INF/images/header.jpg alt=Header/ It renders img src=/MyApp/WEB-INF/images/header.jpg alt=Header All of which looks like

Who's creating the session?

2002-07-03 Thread Les Dunaway
I've put % boolean newSess = session.isNew() ; if (newSess) {out.print(new session);} else {out.print(session not new / + session.getId());} % in a .jsp which is reached by forward from the index.jsp. I expected to find a new session, instead I find a session with

Re: struts-user Digest 7 Jun 2002 16:18:07 -0000 Issue 1540

2002-06-13 Thread Les Dunaway
On Fri, 2002-06-07 at 12:18, [EMAIL PROTECTED] wrote: From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 22:26 To: Struts (E-mail); Servlets (E-mail); J2ee (E-mail) Subject: Java Website ISP I fired my ISP yesterday for refusing to support