A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Can we convert a Servlet into a Bean
Joined: Oct 10, 2000
Mar 21, 2001 00:01:00
Is there any way in which we can convert a
into a Javabean so that it can be used with a
page Eg is there a way in which i can convert a File Upload servlet into a Bean
<I>Chance Favours the Prepared minds"</I>
Joined: Aug 14, 2000
Mar 21, 2001 10:17:00
Well, usually we write information from a servlet into a bean. And access the bean from the jsp. I hope that helps.
Joined: Nov 06, 2000
Mar 21, 2001 11:17:00
If you have a servlet and want to use its output in a JSP you would probably want to include the servlet output directly in the JSP rather than convert the servlet to a bean. See the syntax for "<jsp:include " for details.
It is sorta covered in the
JavaRanch Style Guide
subject: Can we convert a Servlet into a Bean
Returning the different type from the Servlet Filter
Convert Http request to https in servlet/jsp ?
Convert struts' Action class into stateless session bean ?
WAS 4.0 MDB faker conversion to WAS 5.0
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014