It's not a secret anymore!
The moose likes JSP and the fly likes weird error log Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "weird error log" Watch "weird error log" New topic

weird error log

nene batungbakal

Joined: Apr 24, 2003
Posts: 16
gud evening guys, um, i had a jsp code written like this...
<%@ page language="java" import="*, java.util.*, java.lang.*, java.sql.*" %>
<%@ page language="java" import="acts.*"%>
System.out.println("display artifact");
String InputString = request.getParameter("InputString");
String IDacquired = request.getParameter("IDtransfer");
long IDtransfer = Long.parseLong(IDacquired);
long[] ArrayOfID = null;
int IDcounter = 0;
ACTSDatabase DB = new ACTSDatabase();
ACTSUser user = new ACTSUser(DB);
ArtifactText Data = new ArtifactText(user,DB);
ACTSExplorer tc = new ACTSExplorer();
ArtifactContainer Show = new ArtifactContainer(user,DB);
Show = tc.AccessArtifacts();
public void DisplayArtifact(JspWriter out) throws IOException


<title>View Files for the <%= request.getParameter("NameTransfer") %>Artifact</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body bgcolor="#f4f4f4" leftmargin="10" topmargin="10" marginwidth="0" marginheight="0">
<p><font color="#003300" face="Arial, Helvetica, sans-serif">Artifact</font> </p>
<table width="50%" border="1" align="center" bordercolor="#006600">
whenever i tested this a browser the error show this line...
500 Servlet Exception
Note: has been deprecated.
/DisplayArtifact.jsp:40: '}' expected.
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
/DisplayArtifact.jsp:28: Statement expected.
public void DisplayArtifact(JspWriter out) throws IOException
/DisplayArtifact.jsp:39: Identifier expected.
pageContext.write(_jsp_string2, 0, _jsp_string2.length);
3 errors, 1 warning
for some reason the error is found in 'public void DisplayArtifact(JspWriter out) throws IOException
}' in which i didn't even put anything inside yet..
could you help me out on this one guys....

if you have helped me in my questions, whether dumb or hard.. all i could say is...<br />YOU'RE THE MAN/WOMAN!!!
I agree. Here's the link:
subject: weird error log
It's not a secret anymore!