Re: CSS not being used when a Servlet is involved

2006-11-23 Thread Robbert
Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Robert, > > Robbert wrote: >> Christopher Schultz-2 wrote: >>> Whether or not you use struts, I highly recommend that you avoid tricks >>> like calling a servlet from a JSP in order to execute your business >

Re: CSS not being used when a Servlet is involved

2006-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, Robbert wrote: > Christopher Schultz-2 wrote: >> Whether or not you use struts, I highly recommend that you avoid tricks >> like calling a servlet from a JSP in order to execute your business >> logic. If you have a waterfall-style logical flo

Re: CSS not being used when a Servlet is involved

2006-11-15 Thread Robbert
Apologies for the late reply. I've had some more pressing to attend to. Christopher Schultz-2 wrote: > > Robbert, > >> Christopher Schultz-2 wrote: >>> You have your process turned upside down, here. >> >> Why is the process turned upside down, exactly? Or rather, is there any >> benefit in ma

Re: CSS not being used when a Servlet is involved

2006-10-29 Thread Christopher Schultz
Robbert, > Christopher Schultz-2 wrote: >> You have your process turned upside down, here. > > Why is the process turned upside down, exactly? Or rather, is there any > benefit in mapping /index to a Servlet and then forwarding to a JSP instead > of going to JSP pages which invoke my Servlet? > T

Re: CSS not being used when a Servlet is involved

2006-10-29 Thread Robbert
Christopher Schultz-2 wrote: > > Robbert, > >> Hm, alright. Should all else fail, is it possible to let a Servlet handle >> the CSS? > > You don't really want to do this. > > No, especially since it's not needed anymore. Christopher Schultz-2 wrote: > > I have four JSP pages (index, profile

RE: CSS not being used when a Servlet is involved

2006-10-29 Thread Robbert
Caldarale, Charles R wrote: > >> From: Robbert [mailto:[EMAIL PROTECTED] >> Subject: RE: CSS not being used when a Servlet is involved >> >> Hm, alright. Should all else fail, is it possible to let a >> Servlet handle the CSS? > > Some servlet

RE: CSS not being used when a Servlet is involved

2006-10-28 Thread Caldarale, Charles R
> From: Robbert [mailto:[EMAIL PROTECTED] > Subject: RE: CSS not being used when a Servlet is involved > > Hm, alright. Should all else fail, is it possible to let a > Servlet handle the CSS? Some servlet must handle everything; static content (including .css files) is norm

Re: CSS not being used when a Servlet is involved

2006-10-28 Thread Christopher Schultz
Robbert, > Hm, alright. Should all else fail, is it possible to let a Servlet handle > the CSS? You don't really want to do this. > I have four JSP pages (index, profile, statistics and gallery) that must > invoke the StatistiekServlet. The page is simply a normal, static HTML page > that calls

RE: CSS not being used when a Servlet is involved

2006-10-28 Thread Robbert
Caldarale, Charles R wrote: > >> From: Robbert [mailto:[EMAIL PROTECTED] >> Subject: RE: CSS not being used when a Servlet is involved >> >> Combining that with what you just said, I assume that you're >> basically saying that my servlet tries to handle t

RE: CSS not being used when a Servlet is involved

2006-10-27 Thread Caldarale, Charles R
> From: Robbert [mailto:[EMAIL PROTECTED] > Subject: RE: CSS not being used when a Servlet is involved > > Combining that with what you just said, I assume that you're > basically saying that my servlet tries to handle the > tag that contains the URL to my CSS, but f

Re: CSS not being used when a Servlet is involved

2006-10-27 Thread David Smith
to the css file on your server. Added benefit is the webapp can be deployed under any number of paths and still provide the correct absolute path to the css. --David Robbert wrote: Caldarale, Charles R wrote: From: Robbert [mailto:[EMAIL PROTECTED] Subject: Re: CSS not being used when a

RE: CSS not being used when a Servlet is involved

2006-10-27 Thread Robbert
Caldarale, Charles R wrote: > >> From: Robbert [mailto:[EMAIL PROTECTED] >> Subject: Re: CSS not being used when a Servlet is involved >> >> I'm using a link tag. It works fine if I take out the lines >> in web.xml that define the Servlet + Servlet

RE: CSS not being used when a Servlet is involved

2006-10-27 Thread Robbert
Caldarale, Charles R wrote: > >> From: Robbert [mailto:[EMAIL PROTECTED] >> Subject: Re: CSS not being used when a Servlet is involved >> >> I'm calling the Servlet with >> > > Shouldn't the above be: > > > Isn't the leading

RE: CSS not being used when a Servlet is involved

2006-10-27 Thread Caldarale, Charles R
> From: Robbert [mailto:[EMAIL PROTECTED] > Subject: Re: CSS not being used when a Servlet is involved > > I'm calling the Servlet with > Shouldn't the above be: Isn't the leading slash required to make the reference relative to the context rather than the

RE: CSS not being used when a Servlet is involved

2006-10-27 Thread Caldarale, Charles R
> From: Robbert [mailto:[EMAIL PROTECTED] > Subject: Re: CSS not being used when a Servlet is involved > > I'm using a link tag. It works fine if I take out the lines > in web.xml that define the Servlet + Servlet Mapping. But if > I add them back, it doesn't work

Re: CSS not being used when a Servlet is involved

2006-10-27 Thread Robbert
David Smith-2 wrote: > > 1. The location of servlet classes is documented in the spec. Place > them in either a directory structure that reflects the package structure > under WEB-INF/classes or in a jar file whose internal folder structure > reflects the package structure. > > Ex.: Suppose

Re: CSS not being used when a Servlet is involved

2006-10-27 Thread Robbert
Christopher Schultz-2 wrote: > > Robbert, > >> (Yes, I have three locations for the statistics servlet. I don't know >> where >> to place it!) > > See below. > >> $CATALINA_HOME/webapps/ROOT/doc/o23/index.jsp (deze jsp file roept dus de >> StatistiekServlet aan) > > This should be fine. Sorr

Re: CSS not being used when a Servlet is involved

2006-10-27 Thread David Smith
1. The location of servlet classes is documented in the spec. Place them in either a directory structure that reflects the package structure under WEB-INF/classes or in a jar file whose internal folder structure reflects the package structure. Ex.: Suppose you have the class StatistiekServlet

Re: CSS not being used when a Servlet is involved

2006-10-27 Thread Christopher Schultz
Robbert, > (Yes, I have three locations for the statistics servlet. I don't know where > to place it!) See below. > $CATALINA_HOME/webapps/ROOT/doc/o23/index.jsp (deze jsp file roept dus de > StatistiekServlet aan) This should be fine. > $CATALINA_HOME/webapps/ROOT/doc/o23/StatistiekServlet T