Hi,
A String cannot be handed in when it expects a String
array. Try
public String[] getMessageCode() {
return new String[] { string here };
}
Adrian
--- mail [EMAIL PROTECTED] wrote:
getMessageCode() returns a String.
The error message I get is:
setMsgCode(java.lang.String[]) in
for this, try:
return new String[] { string1, string2, string3,
string4, string5, string6, string7 };
Adrian
--- mail [EMAIL PROTECTED] wrote: I placed
this in the Action class and everything
compiled, but it moved
everything iteration of gridDetermination
MessageCodes into only the
Hi Scott,
I think what you want to do is initialise the form
values? If so, use a request parameter to define an
initialise call on your Action, like this say:
http://yourapp/upload.do?action=initialise
check for this action parameter in your perform()
method of your action, and then fill in
, the solution is to use an
action rather than
trying to do this from the actionForm?
Scott
- Original Message -
From: Adrian Brown [EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 10:45 PM
Subject: Re: Is httpServletRequest
Hi Vincent,
I'd suggest you might want to check out Ant for your
deployment problems. I think you'll be pleased. Export
your code from your Forte workspace and then use Ant
to compile and jar/war/ear it up for you, then place
the war/ear in the required directory in JBoss.
Noting the spirit of open comment and criticism on
Struts-alternative products in the J2EE community, I
was mildly surprised to search the archives of
theserverside and the Struts users list and find no
reference to 'Apple Web Objects'.
I was wondering if anyone had come across them in
their
Hi Keven,
A trick for young players is that you may not have put
in the line for the logic tags at the top of your jsp.
Check you have this:
%@ taglib uri=/WEB-INF/struts-logic.tld
prefix=logic %
If you do in fact have this, and you have the ability
to set break points in your Struts code,
Hi Lee,
I suggest you try grabbing the Tomcat plugin for VAJ,
have a look in the archives for posts on that topic.
Once you have Tomcat going under VAJ, getting tiles
going is a breeze.
Adrian
--- struts user [EMAIL PROTECTED] wrote:
Hello everyone,
I would like to know if there is
Hi Jenny,
In case no one else answered this, you need to put
some errors in your session before they can be
captured and displayed by the errorpage.jsp.
Try the following code in your action:
ActionErrors errors = new ActionErrors();
errors.add(ActionErrors.GLOBAL_ERROR, new
Hi Patria,
I found this article by Sheldon Wosnick to be of great
assistance.
http://www7.software.ibm.com/vad.nsf/data/document2389?OpenDocument
Let me know if you need any other help.
Adrian
--- Patria Lukman [EMAIL PROTECTED] wrote: Hello
everyone
I really don't want to bother you
delete the
'pageContext' bit).
Hope that is not to confusing!
Adrian
--- Adrian Brown [EMAIL PROTECTED] wrote:
Hi Billy,
What I had in mind was not really a silver bullet,
but
rather doing something like looking for a server
property set in your web.xml file for the *actual*
name
Hi Frederic,
Usually when I get this error it means something is
amiss in the web.xml file, either it cannot be parsed
because of unexpected elements or cannot be found at
all. Check the output from the console where you
started tomcat from, it should give you some clues.
Adrian
--- Frederic
- Original Message -
From: Adrian Brown [EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 7:51 PM
Subject: Re: Problem with Proxy Pass
Hi Billy,
This might not be optimal for you, but try
altering
Hi Billy,
This might not be optimal for you, but try altering
the org.apache.struts.taglib.html.BaseTag to generate
the altered server name, this is one way to get it to
work. You might want to control it using a properties
lookup of some sort. If you want more details, let me
know.
Adrian
1. Check for ampersands () is your struts-config.xml
file or other problems in your struts-config.xml file.
2. Remove them.
Worked for me, good luck.
--- Harinath [EMAIL PROTECTED] wrote:
When the Exception javax.servlet.jsp.JspException:
Cannot find
ActionMappings or ActionFormBeans
This probably isn't what you want to hear, but this
sounds like a great time to extend the logic tags in
your own application and create your own Custom tag.
There are a couple of examples in the example
application.
Adrian
--- Rick Reumann [EMAIL PROTECTED] wrote: Is
there a way to check
Hi Team Gasoline,
I found that I had to change the ErrorsTag to fix
this.
Try changing the following lines in the doStartTag()
method of org.apache.struts.taglib.hmtl.ErrorsTag
// Render header iff this is a global tag or
there is an error for this property
boolean
17 matches
Mail list logo