aspose file tools*
The moose likes Tomcat and the fly likes Tomcat and XAMPP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat and XAMPP" Watch "Tomcat and XAMPP" New topic
Author

Tomcat and XAMPP

vignesh gopalakrishnan
Greenhorn

Joined: Jun 27, 2012
Posts: 21
<%@ page import="java.io.*" %>
<html>
<body>
<%
System.out.println("HELLO WORLD");
%>
</body>
</html>

this is the jsp code i written with a notepad .. but the problem is when i execute it in a browser window it does not give me any answer, no error messages as well .. after installing XAMPP(this is the control panel i used for tomcat)i stored the folder named sample inside the "WEBAPPS" folder and placed this jsp code in a file named systemdate.jsp(at first i tried to print system date . but i cant .. so i decided to simply print the hello world string..)i created a folder names "WEB-INF" inside sample and created another folder named "CLASSES" and i pasted the java source files which is in "C:\Program Files\Java\jdk1.7.0\src\java" in it( I think this is where i made a mistake ) ... after doing it i executed but no result.. So i created a folder named "LIB" inside "WEB-INF" and pasted the same java source files there and tried to execute .. still no solution ... Any one please help me out .. And what is the mistake i have done in this... please guys..
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Tomcat is not part of XAMPP.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
vignesh gopalakrishnan
Greenhorn

Joined: Jun 27, 2012
Posts: 21
Bear Bibeault wrote:Tomcat is not part of XAMPP.


but what do you mean by this. It is a part of and also its the service provided by the XAMPP control panel.. i am working on it bear bibeault .
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Neither of this page or this page mentions nothing of Tomcat. Or is some other "XAMPP"?

In any case, if Tomcat is installed, are you sure that it is running? Can you run the sample apps? Did you configure Tomcat to find your web app, or place the web app in Tomcat's webapps folder?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16139
    
  21

No only does XAMPP not appear to be related to Tomcat, it doesn't even appear to be related to Java.

However, it sounds like you don't understand the basic architecture of a Java webapp, and without that knowledge, even if XAMPP were a J2EE technology, you'd just be fumbling around.

Despite what the managers and users keep saying, sometimes it does take more effort than just "a child can do it".


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat and XAMPP