It's not a secret anymore!*
The moose likes Tomcat and the fly likes apache2 running jsp ,asp,aspx file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "apache2 running jsp ,asp,aspx file ? " Watch "apache2 running jsp ,asp,aspx file ? " New topic
Author

apache2 running jsp ,asp,aspx file ?

Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204

I am also wondering if their is a way to get apache2 to run asp , and asp.net files?
Would be nice to have this feature as well. Since I got apache running php , soon to be jsp , hopefully also asp , asp.net

Also wondering if I didn't have tomcat installed is their away to run jsp pages on apache and not going thru tomcat to do it?
Like with php all I had to do is install the php module in apache and I could code php pages directly in apache. Wonder if it is possible with jsp (not going thru tomcat first)


Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60780
    
  65

Sam Doder wrote:I am also wondering if their is a way to get apache2 to run asp , and asp.net files?
I know of no such plugin, and I'm not sure about a connector similar to that used for Tomcat. Have you searched google?

Also wondering if I didn't have tomcat installed is their away to run jsp pages on apache and not going thru tomcat to do it?

No. Apache must hand off such requests to a servlet container such as Tomcat.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204
No. Apache must hand off such requests to a servlet container such as Tomcat.


Ok , but is their away to use a different serverlet container such as weblogic or jetty web servers
to run jsp for apache.
Or does apache only work with tomcat server using jsp pages?

Because currently I have another computer that has apache on it but jetty webserver on it as well.
The jetty webserver is capable of running jsp pages ... so if it is possible can I do the equivalent of what I did for tomcat but for jetty so I can host jsp pages on apache but thru jetty instead of tomcat?

Also I have an ASP server ...IE IIS I am wondering if their is away to link asp pages to run on apache thru forwarding them to the IIS server? Like I did for jsp pages in tomcat.

Maybe somebody else knows more about asp,asp.net and running it on apache ....
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
You could set Apache to work as a reverse proxy for IIS
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41101
    
  45
Sam Doder wrote:Ok , but is their away to use a different serverlet container such as weblogic or jetty web servers
to run jsp for apache.

Yes that's possible. Check the documentation of Jetty, WebLogic, etc. for the specifics; it'll involve something called a "connector", just like it does for Tomcat.


Ping & DNS - my free Android networking tools app
Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204
You could set Apache to work as a reverse proxy for IIS


Could you eleborate on what you where thinking with this.
And how where you thinking of setting something like this up?
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Sam Doder wrote:Could you eleborate on what you where thinking with this.
And how where you thinking of setting something like this up?


Did you have a chance to check the link I have provided above? It gives you initial guidelines and you could also google for reverse proxy set up. There are plenty of places where you can get information about this.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: apache2 running jsp ,asp,aspx file ?
 
Similar Threads
J2EE Sever or Tomcat ?
tomcat6 and apache
Tomcat + Apache first time
SCWCD... Where to begin?
Connect Tomcat to Apache