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
>
-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
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
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
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
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
> 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
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
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
> 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
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
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
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
> 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
> 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
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
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
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
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
19 matches
Mail list logo