Naggi:
We're not using EJBs in our project, but we are writing data to a
database. Here is how we are doing the conversion from form bean to
data bean (value bean in your case).
public abstract class BaseBean {
public abstract String getQueryString();
public abstract PreparedStatement getU
Just change the getAttribute line so it reads like this:
ActionForm form =
(ActionForm)pageContext.getAttribute("webutilCollapse",
pageContext.REQUEST_SCOPE);
or you could change it to:
ActionForm form = (ActionForm)r
I don't know if I'm the right person to respond to this since I've only
been using Struts a short while, but why can't you access the formbean
properties in a scriptlet. The formbean is stored in the pageContext so
why can't you do this:
<%
MyFormBean form = pageContext.getAttribute("name or f
to factorize functions in sevral Classes of different
types you only need to delegate. But maybe I missunderstood what Ashish
whant.
Malik.
Friday, January 31, 2003 4:55 PM , Cory Newey <[EMAIL PROTECTED]> a
écrit :
> Yeah, if you read his entire post, he says that he knows that multiple
>
Yeah, if you read his entire post, he says that he knows that multiple
inheritance isn't allowed in Java. It looks to me like you'll have to
make CommonFunctions an interface. If the methods in CommonFunctions
actually are identical for both MyAction and MyDispatchAction, you could
avoid having d
I've heard of this approach to protecting access to JSP pages but I've
never been able to get it to work. How, exactly, do you route to a JSP
in the /WEB-INF directory? Could you maybe provide a little of the
struts-config.xml file that would do this or the code in the Action
class that does this
Your problem is that your opening tag is closed (see the '/' at the
end?). Change the tag to:
and everything should work.
>>> [EMAIL PROTECTED] 12/13/02 08:54AM >>>
Here's a snippet of JSP which is not working:
It is giving a compile error "org.apache.jasper.JasperException: O
7 matches
Mail list logo