Hi all,
Is it really true that everything that is in the webapp context must be served by the
webapp?
Here our discussion with the support of ServletExec:
------------------------------------------------------------------------------------------
Hi,
Who has made that specification??
Because it it stupid.
Apache/IIS must do the things they are goed at and that is serving static content.
ServletExec/Tomcat/JRun to name a few must do things they are good at and that is
serving jsp/servlets
And saying that i must keep the images, static html ect ect in an other place is an
enormous maintenance
and development problem. I want everything to getter what belongs to each other.
Apache with tomcat works perfectly the way i want.
Je specify a Alias in apache:
Alias /myprogram c:/tomcat/webapps/myprogram
And in the conf files of apache that is included in the httpd.conf of apache you say
this;
JkMount /*.jsp ajp13
JkMount /*.do ajp13
That is the way it should work!!!!
Only the JSP's and the .do (struts framework redirects) are handled by tomcat the rest
by tomcat.
And if i want to do the same with ServletExec then i must put the jsp ect in the
webapps/myprogram
and the rest in
xxxx/myprogramstatic?
And i must switch in both constantly pointing to each other?
What happens if
webapps/myprogram changes in
webapps/myprogram2 ?
Everything in xxxx/myprogramstatic my also change?
Because i can't use relative url's anymore??
Not to mention that in development you must do the same but there i use Tomcat as http
server and app server.
And for every project i must have 2 context in tomcat. And they must be exactly the
way be configured as the
deployment server! Horrible
Johan Compagner
----- Original Message -----
From: Unify Support
To: [EMAIL PROTECTED]
Sent: Friday, March 09, 2001 8:58 PM
Subject: Re: Information about coupling IIS and servletexec
Per the servlet 2.2 specification (see the last sentence of the first paragraph in
section 9), all requests to a web application
context are directed to the servlet/JSP container. If you need objects to be served by
the HTTP server, they will need to be outside
the web application (there is no reason why URLs in the web application cannot refer
to objects outside said web application).
--------------------------------------------------------------------
Unify Support [EMAIL PROTECTED]
Support FAQ http://www.servletexec.com/support/support-faq.jsp
--------------------------------------------------------------------
-----Original Message-----
From: Albert Schreuder [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 11:10 AM
To: [EMAIL PROTECTED]
Cc: Johan Compagner
Subject: Information about coupling IIS and servletexec
Dear reader,
Today we tried to couple Servletexec with IIS 5.0, after some compiliation problems,
we succeeded int this.
The ServletExec dll was indeed included in the ISAPI filter of the website.
But when we started testing, we got the idea, that all the information voor the
webapplication was done by ServletExec. To our opion
also information like for example html and gif was done by ServletExec.
Now were we wondering if there is a way to configure the coupling between IIS and
ServletExec, that only .jsp and .do files are
handled by ServletExec?
We hope we can get response from you soon, because this is a major item for us to go
using ServletExec.
With kind regards,
Albert Schreuder
Topicus BV
Deventer, The Netherlands