You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Brian Bowman <br...@nordicwave.com> on 2001/03/12 10:17:59 UTC

RE: Tomcat (servlet2.2 spec question)

Cool but I don't see it as much better than a web page

-----Original Message-----
From: Johan Compagner [mailto:jcompagner@j-com.nl]
Sent: Monday, March 12, 2001 10:20 AM
To: Struts
Subject: Tomcat (servlet2.2 spec question)

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: Albert.Schreuder@topicus.nl
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                       support@servletexec.com
  Support FAQ    http://www.servletexec.com/support/support-faq.jsp
--------------------------------------------------------------------


-----Original Message-----
From: Albert Schreuder [mailto:Albert.Schreuder@topicus.nl]
Sent: Friday, March 09, 2001 11:10 AM
To: info@newatlanta.com
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


RE: Tomcat (servlet2.2 spec question)

Posted by Brian Bowman <br...@nordicwave.com>.
Sorry. Please ignore my last email. It was a reply to a completely different
email.

-----Original Message-----
From: Brian Bowman [mailto:brian.bowman@nordicwave.com]
Sent: Monday, March 12, 2001 10:18 AM
To: struts-user@jakarta.apache.org
Subject: RE: Tomcat (servlet2.2 spec question)

Cool but I don't see it as much better than a web page

-----Original Message-----
From: Johan Compagner [mailto:jcompagner@j-com.nl]
Sent: Monday, March 12, 2001 10:20 AM
To: Struts
Subject: Tomcat (servlet2.2 spec question)

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: Albert.Schreuder@topicus.nl
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                       support@servletexec.com
  Support FAQ    http://www.servletexec.com/support/support-faq.jsp
--------------------------------------------------------------------


-----Original Message-----
From: Albert Schreuder [mailto:Albert.Schreuder@topicus.nl]
Sent: Friday, March 09, 2001 11:10 AM
To: info@newatlanta.com
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


RE: Tomcat (servlet2.2 spec question)

Posted by Brian Bowman <br...@nordicwave.com>.
Please ignore last message. It was a response to an entirely different email

-----Original Message-----
From: Brian Bowman [mailto:brian.bowman@nordicwave.com]
Sent: Monday, March 12, 2001 10:18 AM
To: struts-user@jakarta.apache.org
Subject: RE: Tomcat (servlet2.2 spec question)

Cool but I don't see it as much better than a web page

-----Original Message-----
From: Johan Compagner [mailto:jcompagner@j-com.nl]
Sent: Monday, March 12, 2001 10:20 AM
To: Struts
Subject: Tomcat (servlet2.2 spec question)

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: Albert.Schreuder@topicus.nl
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                       support@servletexec.com
  Support FAQ    http://www.servletexec.com/support/support-faq.jsp
--------------------------------------------------------------------


-----Original Message-----
From: Albert Schreuder [mailto:Albert.Schreuder@topicus.nl]
Sent: Friday, March 09, 2001 11:10 AM
To: info@newatlanta.com
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