Web Application with Java code
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Friday, July 26, 2002 05:30 AM

Hi everybody. In my web application (all still on local side) there are some JSP pages that interact with some Java classes created by me. So I'd like to know how can I pass the parameters from a JSP page to a Java class and, then, viceversa.

Thank you in advance

Re: Web Application with Java code

Posted By:   dennis_deChampeaux  
Posted On:   Monday, July 29, 2002 08:55 PM

Going from a servlet to an instance of a utility class UC is pretty easy. Just create an instance of UC in your servlet and invoke operations on it; or invoke a class operation.

I have avoided jsp-pages, hence the only thing I can say is that the same approach applies provided you can escape to plain Java code in your jsp-page.

Your "...viceversa." is unclear to me. You don't request how to call up a servlet from an utility class instance; right?

Good luck ...
About | Sitemap | Contact