Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

unable to compil class for jsp

843840Sep 30 2008 — edited Oct 12 2008
error is
HTTP Status 500 - 


description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 6 in the generated java file
Syntax error on token ".", Identifier expected after this token

An error occurred at line: 7 in the generated java file
Syntax error on token ".", Identifier expected after this token

An error occurred at line: 9 in the jsp file: /travel/issue.jsp
LibraryStudent cannot be resolved to a type
6: <BODY>
7: <H1>issue books</H1>
8: <CENTER>
9: <jsp:useBean id="student"
10: type="LibraryStudent"
11: scope="session" />
12: student name: 


An error occurred at line: 9 in the jsp file: /travel/issue.jsp
LibraryStudent cannot be resolved to a type
6: <BODY>
7: <H1>issue books</H1>
8: <CENTER>
9: <jsp:useBean id="student"
10: type="LibraryStudent"
11: scope="session" />
12: student name: 


An error occurred at line: 13 in the jsp file: /travel/issue.jsp
LibraryStudent cannot be resolved to a type
10: type="LibraryStudent"
11: scope="session" />
12: student name: 
13: <jsp:getProperty name="student" property="studentName" />
14: 
15: book name:
16: <jsp:getProperty name="student" property="bookName" />


An error occurred at line: 16 in the jsp file: /travel/issue.jsp
LibraryStudent cannot be resolved to a type
13: <jsp:getProperty name="student" property="studentName" />
14: 
15: book name:
16: <jsp:getProperty name="student" property="bookName" />
17: 
18: <jsp:getProperty name="student"
19: property="issueData" />


An error occurred at line: 18 in the jsp file: /travel/issue.jsp
LibraryStudent cannot be resolved to a type
15: book name:
16: <jsp:getProperty name="student" property="bookName" />
17: 
18: <jsp:getProperty name="student"
19: property="issueData" />
20: </FORM>
21: </CENTER>
LibraryStudent.java is
   
import java.util.*;
import java.text.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.*;

public class LibraryStudent {

private String emailAddress, s,password, sname,bname;
private String date,value;

public String getStudentName() {
return(sname);
}
public void setStudentName(String sname) {
this.sname = sname;
}
public String getEmailAddress() {
return(emailAddress);
}
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}
public String getPassword() {
return(password);
}
public void setPassword(String password) {
this.password = password;
}



public String getBookName() {
return(bname);
}
public void setBookName(String bname) {
this.bname = bname;
}
public String getDate() {
return(date);
}
public void setDate(String date) {
this.date = date;
}
public String getIssueData() //method that create connection withh database
 throws ServletException,IOException{
try{
getDate();                   //and add a entry in database 
getBookName();
getStudentName();
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:db2");
Statement st=con.createStatement();
String sql = 
    "insert into table1 (bookname,studentname,date) values(bname,sname,date)";
  st.executeUpdate(sql);
System.out.println(sql);

String s=  "your book has been issued ";
return(s);


}
catch(Exception e)
{
e.printStackTrace();
return "failed";
}
}


public String getSumbitData() 
throws ServletException,IOException{
try
{
getBookName();
getStudentName();
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:db2");
Statement st=con.createStatement();
String sql = 
    "delete from db2 where bookname='bname' and studentname=sname";
  st.executeUpdate(sql);
System.out.println(sql);
String s="your book has been sumbitted ";
 return(s) ;
}
catch(Exception e)
{
e.printStackTrace();
return "failed";
}
}

public static int findStudent    //to validate customer 
(String emailAddress,
String password) throws ServletException,IOException{
try
{
if (emailAddress == null) {
return(0);
}
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:user");
Statement st=con.createStatement();
String sql="select * from user where name='"+emailAddress+"' and password='"+password+"'";
System.out.println(sql);
ResultSet rs=st.executeQuery(sql);


if(rs.next())
return(1);
else
return(0);
}catch(Exception e)
{
e.printStackTrace();
return (0);}
}
}

  
to be continued.............

Comments

Nicolas Gasparotto
There's no way but going to My Oracle Support.
Not sure what exactly you are looking for, but click on Certification, choose product "PeopleSoft PeopleTools", choose the release you want (ie "8.52"), then plateform, you should be able to see IBM AIX. The supported OS/version are marked by a green sign. For instance, choose AIX7.1. You will see all the applications supported on the given AIX version as well as for the given Peopletools version.
Is not that what you want ?

Nicolas.
MeowMeow
Hm, guess this is what I can only have. But thank you for helping me!

I am looking for something similar to Oracle RDBMS certification matrix, release schedule that My Oracle Support document for customers.

But oracle support says:
Document and links to End of Life and Support Policy are attached in " E-UPG How to Determine End of Support or End of Life of a PeopleTools or PeopleSoft Application (Doc ID 1272860.1)".

"Road map" or release schedule is not longer published on the website. You can find all the certifications by navigating to the "Certification" tab of Support website.
Nicolas Gasparotto
Oracle has never comminicated about any date for any future version of the RDBMS, ever. And since Peoplesoft has been bought by Oracle, this is also more or less right for Peoplesoft Software (you may find the bundle and maintenance pack for the coming quarters though).
And regarding the lifetime, here below you can find all from the GA date till the end of the extended support :
http://www.oracle.com/us/support/library/lifetime-support-applications-069216.pdf

That said, according to what has been said during the (two) last Open World, you can count about a new version of Peopletools every (end of) year, and a new application every three years (started this year). Find out more in the note below :
+PeopleSoft Long Term Investment Plan and Roadmap [ID 1320581.1]+*

Nicolas.

PS: unless I misunderstand, I don't see how it is link within your thread title "Where to find certification matrix of Peoplesoft/PeopleTools on Oracle/AIX? "...

Edited by: N Gasparotto on May 11, 2012 9:53 PM
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 9 2008
Added on Sep 30 2008
12 comments
717 views