--

Just yesterday I got everything with Jserv and GnuSP working, and now I've
got a new problem.  Can anyone please point me to some info on using Java
Beans as a bridge between a servlet and a JSP page?

Ostensibly what I'd like to do is as follows:

When a user hits our site, instantiate a servlet based on the url, grab
some data appropriate to that url, then wrap this data in a bean, and call
a JSP page which will use minimal java code to render that data with a
particular look and feel.  In a perfect world, this would work without
passing along a session ID in the url.  I *think* beans are the way to go
for this, and consequently spent practically the whole day yesterday
combing the net and looking through books to try and confirm this, but
haven't had any luck.

I see the big obstacles in doing this as:

1) Passing data between a servlet and a JSP page 
and
2) Calling a JSP page to get the resulting formatted data WITHOUT using a
redirect to the page or a quick call to java.net.url to get the results of
the JSP page.  

Any pointers to information on servlet-JSP integration is very, very much
appreciated.

Thanks,

-Tim      




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to