I tried that. The Arraylist displayed both the addr and cust columns and data. I also tested the database and connection without the inserting it in an array and it displayed fine.
I really want to thank you for all your help. I tried the above and now I get the following errors:
javax.servlet.ServletException:javax.servlet.jsp.el.ELException: An error occurred while getting property "info" from an instance of class database.Info
root cause
java.sql.SQLException: Invalid...
I ended up adding the setter and getter method for "addr" in my info.java because everytime I added this
<td>${t1.addr}</td>, it also had an error that it couldnt find the "addr" getter method.
//info.java
package database;
public class Info{
private String user;
public Info(){
}
public...
Am still getting the same error as before.
EXCEPTION: javax.servlet.ServletException: Error looking up property "info" in object type "info".
ROOTCAUSE: [.LookupUtil] Error looking up property "info" in object type "info". Cause: Unknown property 'info'
Thanks for the help.
But why is the setter and getter in both Info.java and Infobean.java?
private String user;
public Info(){
}
public void setUser(String user)
{
this.user = user;
}
public String getUser()
{
return user;
}
I am trying to display data info for each user by getting the user value which is already in the session but I keep getting this error.
Exception: Error looking up property "info" in object type "test.info". Cause: Property 'info' has no getter method
WHat am I doing wrong?
//info.java
public...
I am connecting to a Basis database using JDBC (Basis driver). It works in commandline but not in a JSTL <sql:query>.
For testing purposes, I connected to a sample MySQL database using the sql-connector in Tomcat, used the same JSTL statement, and it works fine. So am thinking there is...
I have this statement in a JSTL tag. But it only displays
the last field "addr".
How do I select both tables or multiple unrelated (except for "user" field) tables
and display all data found on one page?
From what I read, the UNION is what am looking for, but its not working
right and am not...
I installed PostgreSQL 7.4 on RedHat8, but I keep getting this error when I do "createdb testdb" or "createuser username".
I rebuilt postgresql but same thing. Then, I tried a fresh installation, still didnt work.
All directory permissions are set to 'postgres'
psql: FATAL 1: cannot open...
All images in my directory all start with a 6 digit number, right now the script displays all of the images in that directory and subdirectories.
How do I make my form pick up the requested image. Like if I type 012345, it should only display the images that start with the name 012345...
The webuser has access to /var/www/images, I can access it from my browser right now. And I sliced out /var/www/ from the url so its displays http://url/images/someimage.jpg but it still doesnt work in the browser. Could there be another explanation for this error. I checked to see if the...
Am a perl newbie.
when I try displaying this script in a browser, I get this error "Can't cd to : " .
However, this script works in command line.
For now, I would like to display the list of files in a browser.
Also, how do I create a form to search these images with?
thanks
#find.pl...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.