Discussion:
Bean interaction with .jsp
(too old to reply)
Damon Getsman
2008-08-15 19:43:26 UTC
Permalink
I'm working on a project right now that has me deep in the middle
of .jsp source that makes sql queries, and relies on beans for some of
the processing.

I'm very new to Java; I can't pick up a book until later this weekend
to help me on some of the specifics that I'm going to be working with
here (ie JSF/AJAX frameworks/JavaBeans).

The .jsp I'm not having a hard time decoding, I'm starting to feel
pretty at home in it right now, actually. The one thing that I am
finding is a difficulty in correlating the .jsps where it references a
bean and A) where the bean is utilized and B) how the bean and .jsp
are passing values back to each other.

I realize this is potentially a complicated subject, but is there
anybody that could give me a quick general idea on what I'm missing
here?

TIA

-Damon
mtv134
2008-08-17 14:20:00 UTC
Permalink
you should not use dtabase code in the JSP
otherwise use utility classes that are called from the JSP or relative
servlet
Post by Damon Getsman
I'm working on a project right now that has me deep in the middle
of .jsp source that makes sql queries, and relies on beans for some of
the processing.
I'm very new to Java; I can't pick up a book until later this weekend
to help me on some of the specifics that I'm going to be working with
here (ie JSF/AJAX frameworks/JavaBeans).
The .jsp I'm not having a hard time decoding, I'm starting to feel
pretty at home in it right now, actually. The one thing that I am
finding is a difficulty in correlating the .jsps where it references a
bean and A) where the bean is utilized and B) how the bean and .jsp
are passing values back to each other.
I realize this is potentially a complicated subject, but is there
anybody that could give me a quick general idea on what I'm missing
here?
TIA
-Damon
--
vist www.thejavacode.com
for Java resources.
Loading...