File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Urgent, Error running /building the program/JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Urgent, Error running /building the program/JSP" Watch "Urgent, Error running /building the program/JSP" New topic

Urgent, Error running /building the program/JSP

brijesh sharma

Joined: Nov 13, 2004
Posts: 3
<Head><Title>An Example of Finding the Projects</Title></Head>
<FONT SIZE="6" COLOR="blue"> Listing of Projects</FONT>
<%@ page import="com.starbase.starteam.*"%>
<%@ page import="com.starbase.util.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.lang.*"%>
<%@ page import="java.awt.*%>


String strAddress="localhost";
int nPort=49201;

String strUserName="Administrator";
String strPassword="Administrator";


// Create a new Starteam Server object
Server s=new Server(strAddress,nPort);

// Establish a connection to the Server
// This is optional -logon() connects if necessary.
// Logon as a specific user .
// use the Server object to find the number of versions
// enumerate the projects that are available on a given server
// The project collection is a simple array.
Project[] projects=s.getProjects();
for(int i=0;i<projects.length; i++)

<TD><%= projects[i].getName()%></TD>
<TD><%= projects[i].getCreatedBy()%></TD>
<TD><%= projects[i].getCreatedTime().toString()%></TD>


//disconnect when finished
Venkatraman Kandaswamy
Ranch Hand

Joined: Jul 07, 2004
Posts: 120
can you tell us what error you are getting? in future post your errors and be as descriptive as possible. not all people are blessed with esp

--Venkatraman<br />SCJP 1.4<br /><a href="" target="_blank" rel="nofollow">blog</a>
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33106

We're pleased to have you here with us in the JSP forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Forum Bartender

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Urgent, Error running /building the program/JSP
It's not a secret anymore!