I am a little unclear what you mean by using modules?
Steve
- Original Message -
From: "David M. Karr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 01, 2003 3:45 PM
Subject: Re: datasource problem
> >>>>> "Steven
--> "ConPool" / Re: datasource problem
> Will the data-source key case-sensitive? "conPool" --> "ConPool"
>
> Try
>
> dsSrc= ( DataSource ) context.getAttribute( "conPool" );
>
> Good luck !
>
>
>
> - Origi
When I try to get a datasource which has been defined in the struts-config.xml no
matter what I do the datasource returns back null. My struts-config.xml for
data-sources is:
In
for my menu options I would like to load a dynamic list of menu options which will be
read by the jsp file. The java code will load a vector with the menu options like
this:
VectorvecMenuOpts= new Vector();
Hashtable htblMenuOpt = new Hashtable();
htblMenuOpt.put( "forward",
Yes, you need to set the a couple of elements in your properties file. They
are errors.header and errors.footer. You are seeing null because the tag
will default to null if these are not set.
errors.header =
errors.footer =
If you want anything else,
- Original Message -
From: "Jua
that you want to show on jsp" on
>the
> > > jsp page.
> > >
> > > Thanks,
> > > Yanhui
> > >
> > > -Original Message-
> > > From: liudsm [mailto:[EMAIL PROTECTED]]
> > > Sent: Sunday, March 17, 2002 10:02 PM
> > >
Where can I find specific and thorough documentation regarding all the
possible settings for the web.xml and struts-config.xml files as well as
struts in general? Some have mentioned that you can find the web.xml info
in the User's guide but in my hunting for it on the jakarta site I failed to
How do I know if an applicationresource.properties file can be read? I have
an applicationresource.properties file present in the WEB-INF/classes
directory, but the messages are not being found. Someone mentioned that the
log files would have a clue but I cannot find any indications in any of
seeing. If you
>are
>using , then the header and footer will be displayed. You
>can
>also refer to error messages individually and place them in the relevant
>part of your form/page.
>
>Hope that helps.
>
>Lindsay
>
> -Original Message-
>From: S
How do I know if the application has found the properties file? I have a
file of the right name in the right place (WEB-INF/classes) and yet the
tag returns "null null" with no message in between. I know
that I have created a message of the right description. Do any of the
tomcat log files ind
I am not getting any errors showing up with the jsp page. I have the
following action code:
public class UserAction extends Action
{
public ActionForward perform( ActionMapping actMap,
ActionFormactFrm,
HttpServletRequest hsReq,
HttpServletResponse hsRsp
When attempting to submit a jsp page with some fields for a database filled
out I get the following:
java.lang.IllegalArgumentException: argument type mismatch
at java.lang.reflect.Method.invoke(Native Method) at
org.apache.struts.util.PropertyUtils.setSimpleProperty(PropertyUtils.java:988)
I a
When attempting to submit a jsp page with some fields for a database filled
out I get the following:
java.lang.IllegalArgumentException: argument type mismatch
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.struts.util.PropertyUtils.setSimpleProperty(PropertyUtils.java:98
8)
I
javax.servlet.jsp.JspException: No getter method for property UserLog of
bean org.apache.struts.taglib.html.BEAN
at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
at
org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:188)
at org.apache.jsp.login$jsp._jspServ
javax.servlet.jsp.JspException: No getter method for property UserLog of
bean org.apache.struts.taglib.html.BEAN
at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
at
org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:188)
at org.apache.jsp.login$jsp._jspServ
I found the problem was with the data source portion of the
struts-config.xml file
- Original Message -
From: "Steven Dahlin" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, February 13, 2002 12:37
I am totally stumped. I cannot figure out the error that is occurring
below:
root cause
javax.servlet.jsp.JspException: Cannot find ActionMappings or
ActionFormBeans collection
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:773)
at org.apache.struts.taglib.html.FormTag.doStartTag(
I am getting an error message indicating that a class cannot be found. It
occurs after entering a user login and password into login.jsp and pressing
the submit button. The class that cannot be found is:
logwork.entities.Users. I have the following structure for my app:
logwork (the jsps resi
18 matches
Mail list logo