How to deploy .Jsp pages or .class sevlets under htdocs

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to deploy .Jsp pages or .class sevlets under htdocs

Postby gigglie » 13. April 2009 07:51

I have heard Java can be deployed under apache http server . I am inquisitive about the procedure . Can anyone tell me how to do such things ? :o
gigglie
 
Posts: 4
Joined: 27. June 2008 17:05

Re: How to deploy .Jsp pages or .class sevlets under htdocs

Postby Nobbie » 13. April 2009 10:00

If you mean *.jsp, you dont mean Java but Java Server Pages. You need Tomcat Server for that (is not part of Xampp). Tomcat is a special Apache version with builtin *.jsp support.

Google for Tomcat.
Nobbie
 
Posts: 8759
Joined: 09. March 2008 13:04

Re: How to deploy .Jsp pages or .class sevlets under htdocs

Postby Sharley » 13. April 2009 10:53

There is a Tomcat Addon for XAMPP for Windows here (read the README file):
http://www.apachefriends.org/en/xampp-windows.html#644

The Apache Tomcat web site here:
http://tomcat.apache.org/
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: How to deploy .Jsp pages or .class sevlets under htdocs

Postby gigglie » 13. April 2009 11:25

What about servlet classes do they need Tomcat too ? Is any form of java other than javascript supported by the Apache http server ?
gigglie
 
Posts: 4
Joined: 27. June 2008 17:05

Re: How to deploy .Jsp pages or .class sevlets under htdocs

Postby Wiedmann » 13. April 2009 12:32

Is any form of java other than javascript

Java have nothing to do with JavaScript.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: How to deploy .Jsp pages or .class sevlets under htdocs

Postby gigglie » 13. April 2009 13:06

I know Java and Javascript are different concepts :mrgreen: but was asking that for an example . "whether Apache support any proper form of Java. "
gigglie
 
Posts: 4
Joined: 27. June 2008 17:05

Re: How to deploy .Jsp pages or .class sevlets under htdocs

Postby Wiedmann » 13. April 2009 13:45

"whether Apache support any proper form of Java. "

JavaScript is not a form of Java. BTW: Apache can't support JavaScript, because JavaScript is a client site language.

A Java Applet is also a client site technologie.

JavaServer Pages (and Servlets) is a server site technologie, and you need a webserver which supports JSP and Java Servlet technologies.

Apache HTTP Server (part of the XAMPP package) does not support this (without an extension). Apache Tomcat supports this (as a standalone webserver or as a module/extension for the Apache HTTP Server)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: How to deploy .Jsp pages or .class sevlets under htdocs

Postby JODECI » 27. May 2010 19:47

Please how do I make APACHE TOMCAT an extension of APACHE HTTP SERVER?
I can run my jsp and servlets on my apache tomcat, but it will be nice to run it via xampp.

thanks in advance
JODECI
 
Posts: 1
Joined: 27. May 2010 19:40

Re: How to deploy .Jsp pages or .class sevlets under htdocs

Postby MC10 » 31. May 2010 00:45

Want to try out ServletExec?
MC10
 
Posts: 148
Joined: 20. February 2010 20:13

Re: How to deploy .Jsp pages or .class sevlets under htdocs

Postby JonB » 31. May 2010 14:42

thanks for the ServletExec tip MC10.

:D
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 46 guests