| Author |
weird error log
|
nene batungbakal
Greenhorn
Joined: Apr 24, 2003
Posts: 16
|
|
gud evening guys, um, i had a jsp code written like this... <%@ page language="java" import="java.io.*, java.util.*, java.lang.*, java.sql.*" %> <%@ page language="java" import="acts.*"%> <html> <head> <% 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"> </head> <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"> <tr> <%out.println(InputString);%> <%out.println(IDacquired);%> </tr> </table> </body> </html> whenever i tested this a browser the error show this line... 500 Servlet Exception Note: sun.tools.javac.Main 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!!!
|
 |
 |
|
|
subject: weird error log
|
|
|