Hosting JSP on Xampp

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

Hosting JSP on Xampp

Postby abhijitp » 26. May 2009 13:51

I am trying to host a JSP based site on my xampp. How can i do this?

Here is the code of the system.jsp file
Code: Select all
<%
// database driver, leave it.
String DRIVER = "com.mysql.jdbc.Driver"; 

// username for your database
String USERNAME = "root";

// password
String PASSWORD = "password";

// full address of your database
String STRING = "jdbc:mysql://localhost/JMessageBoard";

// the name of your database
String DB_NAME = "JMessageBoard";

// The page title
String TITLE = "My Message Board";

// The page description
String DESCRIPTION = "JMessageBoard, a simple, powerful Java Message Board";

// page keywords
String KEYWORDS = "Java Message Board, Message Board, Java, JSP message board";

// The board can verify you as an Admin after if you post a message by using this email

address,
// in fact this value can be a password.
String ADMIN = "admin@localhost.com";

// The name of your message board
String SiteName = "My Message Board";

// The message board backgournd color
String SiteBgColor = "#000000";

%>



SETUP instuction:

Unzip the package.

1. Create a 'JMessageBoard' database and a table 'messages' in it.

See setup.sql file.

2, Modifiy the values in 'system.jsp' file under WEB-INF/JMB directory.


3. Copy 'JMB' folder to your hosting WEB-INF.

eg: http://Yourhost/WEB-INF/JMB

4. Copy 'JMessageBoard' folder to your hosting.

eg: http://yourhost/JMessageBoard

5. After you complete the above 4 steps, access http://yourhost/JMessageBoard/messages.jsp
abhijitp
 
Posts: 12
Joined: 18. March 2009 14:06

Re: Hosting JSP on Xampp

Postby Wiedmann » 26. May 2009 14:18

I am trying to host a JSP based site on my xampp. How can i do this?

You need a JSP-capable web server like Apache Tomcat.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Hosting JSP on Xampp

Postby abhijitp » 26. May 2009 14:26

Can i use Apache tomcat parallel with the xampp?
abhijitp
 
Posts: 12
Joined: 18. March 2009 14:06

Re: Hosting JSP on Xampp

Postby Wiedmann » 26. May 2009 14:45

Can i use Apache tomcat parallel with the xampp?

That's possible.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 107 guests