Okay this is basically what I am trying to do....
I am trying to look up an item and invoice number in a database. We
are supposed to go into a QueryServlet (which I have written), check
the logic with the numbers and so on.
Then we are supposed to go into a JSP, and access the bean (Also
written). How does the bean's information get into the interface?
The DAO files are all created.. so all I have to worry about is how to
access an interface file with a bean. How the hell do you do that?
Daniel Pitts - 26 Jul 2007 00:12 GMT
> Okay this is basically what I am trying to do....
>
[quoted text clipped - 7 lines]
> The DAO files are all created.. so all I have to worry about is how to
> access an interface file with a bean. How the hell do you do that?
In your Servlet, you would put your Bean into the Request scope, then
you can access it in your JSP (either with ${bean.property} notation,
or <%= bean.getProperty() %> notation.)