[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: How do you write a quick bean for JSP servlets??



A JSP is a servlet.  Execute a JSP once and then look in your servlet directory.
If, for example, your JSP was named 'hello.jsp', you will see 'hello.jsp',
'hello.java', 'hello.class' in your servlet directory.  Thus, if you want to see
the code that interfaces bean to JSP, look in the '.java' file ('hello.java' in
my example).

Kit

On Sun, 07 Feb 1999, Keith Kwiatek wrote:
>Hello,
>
>I am just starting up with GNUJSP, and want to get some simple
>"soup-to-nuts" examples (template, servlet, bean code) of a javaservlet that
>uses JDBC and the GNUJSP for HTML display....
>
>In particular, I want to see the java bean code that is used to interface
>between the servlet and JSP template....Can anyone provide insight on how to
>write a quick bean to accomplish the servlet -> JSP template
>interaction? ---OR do I need to jump into complicated bean development
>books?
>
>Keith