Perforce Public Depot
Perforce JSP Project
Java Server Pages Web Application

About This Project

Back to
Table of
Contents

Content Source and WAR for the Perforce JSP, a Java API based web interface to Perforce. This package includes all the pages required for a basic web application.

This application allows multiple users to access the perforce using the same web application using their own credentials. This makes it easy to add pages that implement other perforce functions and have them execute using appropriate authorization. An example would be a page that handled integrations from branch to another at the click of one button or link.

Curator David Markley. Please email david@markley.cc if you have submitted contributions you'd like published, if you have ideas for enhancement, or if you have preferences among the potential enhancements listed below.
Getting Started In order to get the web application up, you will need to have set up a JSP engine (web server). These pages have been tested only with Tomcat 4.0, but should work with any JSP engine that supports WAR files. The steps to follow once your JSP engine is in place are:
  • Download the p4jsp.conf file into your /etc directory.
  • Modify the p4jsp.conf file to work at your location.
  • Download the p4jsp.war file into your JSP engines wep application directory.
  • Make your JSP engine pick up the new WAR file (i.e. restart Tomcat).

With all this completed, you should be able to access the web application through your JSP engine under the /p4jsp directory. For tomcat, this is typically something like: http://localhost:8080/p4jsp. Each user will need to log in using their perforce username and password.

Project Updates

Back to
Table of
Contents
DateUpdate
May 22, 2002 Initial publication of the Perforce JSP web application.
September 5, 2002
  • Corrected to work with Tomcat 4.0.4.
  • Removed dependance on common tag library (since it is somewhat unstable).
October 4, 2002
  • Removed all use of the common tag library.
  • Removed specific inclusion of the crimson API.


Copyright ©
2002
Perforce Software
You're browsing a file stored as
$Id: //public/perforce/api/index.html#6 $
in the Perforce Public Depot.
Back to
Table of
Contents