out.print(values[j].value);
out.print(Utils.addEntities(values[j].value));
	private void renderDefault()	throws IOException, java.sql.SQLException	{		JspWriter out = pageContext.getOut();				// Build up a list of things to display.		// To display a DC field from the item, do		//   fields.add(new String[] {"Display Name", "element", "qualifier"});		//      (or "qualifier" as null for unqualified)		// to display an actual value without getting it from the item, do		//   fields.add(new String[] {"Display Name", "The value to display")		List fields = new LinkedList();				// Title - special case, if there is no title, use "Untitled"		DCValue[] titleDC = item.getDC("title", null, Item.ANY);		if (titleDC.length == 0)		{			fields.add(new String[] {"Title", "Untitled"});		}		else		{			fields.add(new String[] {"Title", "title", null});		}				fields.add(new String[] {"Other Titles", "title", "alternative"});		fields.add(new String[] {"Authors", "contributor", Item.ANY});		fields.add(new String[] {"Keywords", "subject", null});				// Date issued		DCValue[] dateIssued = item.getDC("date",				"issued",				Item.ANY);		DCDate dd = null;		if(dateIssued.length > 0)		{			dd = new DCDate(dateIssued[0].value);		}		String displayDate = UIUtil.displayDate(dd, false, false);				fields.add(new String[] {"Issue Date", displayDate});				fields.add(new String[] {"Publisher", "publisher", null});		fields.add(new String[] {"Citation", "identifier", "citation"});		fields.add(new String[] {"Series/Report no.", "relation", "ispartofseries"});				// Truncate abstract		DCValue[] abstrDC = item.getDC("description", "abstract", Item.ANY);		if (abstrDC.length > 0)		{			String abstr = abstrDC[0].value;			if (abstr.length() > 1000)			{				abstr = abstr.substring(0, 1000) + "...";			}						fields.add(new String[] {"Abstract", abstr});		}				fields.add(new String[] {"Description", "description", null});		fields.add(new String[] {"Gov't Doc # ", "identifier", "govdoc"});		fields.add(new String[] {"URI", "identifier", "uri"});		fields.add(new String[] {"ISBN", "identifier", "isbn"});		fields.add(new String[] {"ISSN", "identifier", "issn"});		fields.add(new String[] {"ISMN", "identifier", "ismn"});		fields.add(new String[] {"Other Identifiers", "identifier", null});				HttpServletRequest request =			(HttpServletRequest) pageContext.getRequest();				out.println("<center><table class=\"itemDisplayTable\">");				Iterator fieldIterator = fields.iterator();		while (fieldIterator.hasNext())		{			String[] fieldData = (String[]) fieldIterator.next();			DCValue[] values;						if (fieldData.length == 2)			{				// Value direct from field data				DCValue v = new DCValue();				v.value = fieldData[1];				values = new DCValue[1];				values[0] = v;			}			else			{				// Grab the value from the item				values = item.getDC(fieldData[1], fieldData[2], Item.ANY);			}						// Only display the field if we have an actual value			if (values.length > 0)			{				out.print("<tr><td class=\"metadataFieldLabel\">");				out.print(fieldData[0]);				out.print(":&nbsp;</td><td class=\"metadataFieldValue\">");				out.print(values[0].value);								for (int j = 1; j < values.length; j++)				{					out.print("<br>");					out.print(values[j].value);				}				out.println("</td></tr>");			}		}				listCollections();				out.println("</table></center><br>");				listBitstreams();	}