**
Please Note:
The information in this E-mail message, and any files transmitted
with it, is confidential and may be legally privileged. It is
intended only for the use of the individual(s) named above. If you
are the
I'm getting desperate with my problem.
I have a very simple class named Party defined as
public class Party() {
public Party()
ArrayList phoneList_ = new ArrayList();
ArrayList addressList_ = new ArrayList();
public ArrayList getPhoneList() {
return phoneList_;
No, I don't have any overloaded methods. I even created a getBogusList()
and setBogustList(List) just to make sure I'm not overloading anything and
I had the same problem.
Sri Sankaran [EMAIL PROTECTED] on 12/20/2002 10:34:35 AM
Please respond to Struts Users Mailing List
[EMAIL
I tried almost every combination. Reversing the order, doing just the
addressList then the just the phoneList. Whatever combination I use, the
addressList is always introspected ok while the phoneList isn't. I even
tried renaming the getPhoneList() to getTelephoneList() and then tried to
invoke
I imported the struts-example.war 1.1b2 file straight into WSAD 4.0.3 but I
get the following message. It can't find the ApplicationResources file. If
I take out all bean:write tags, the sample app works fine. I've tried
moving the properties files into several folders but the app still couldn't
Thanks, it fixed my problem.
Raffy
[EMAIL PROTECTED] on 10/25/2002 04:06:08 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject: Re: WSAD 4.0.3 - ApplicationResources not found
Hello,
i'm not firm with
I tried to read chapter 7 and the discussion on DTOs does not flow smoothly
into the ActionForm discussion so it's a bit confusing as to how the big
picture looks. It is also mentioned that DTOs are part of the model and
ActionForms are part of the view.
If BOs delegate persistence to DAOs, do
Take a look at your source code (view jsp source)
The source being generate for the submit button is
input type=submit name=cmd[0] value=Edit
where the [0] is outside the quotes.
The generated code should be
input type=submit name=cmd[0] value=Edit
With the currently generated
Sorry about the OOTO message yesterday, our lan admin turned it on and
didn't notify me...
James,
I meant printing on a shared devide from the web server
James Mitchell [EMAIL PROTECTED] on 06/25/2002 10:11:36 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
I believe this has been answered in a previous thread. Either use a nightly
build of Struts or use a nightly build of commons-logging to fix this
problem.
Struts Newsgroup (@Basebeans.com) struts on 06/25/2002 03:40:02 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
Can anyone tell me the jdk versions in WAS 4.0 and WAS 5.0?
**
Please Note:
The information in this E-mail message, and any files transmitted
with it, is confidential and may be legally privileged. It is
intended only for the
DispatchAction has a lot of things to improve on...use of declarative
exceptions is one...then there's this issue you brought up about the
validator...you may have to do programmatic validation to provide different
validation rules for each method in the DispatchAction for now..
-
William W
Thanks. I get it now.
Trieu, Danny [EMAIL PROTECTED] on 06/12/2002 01:15:47 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
cc:
Subject: RE: Using redirect=true with tiles component
I guess what Cedric meant
Can you post your struts-config.xml entries?
William W [EMAIL PROTECTED] on 06/11/2002 12:34:40 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: RE: DynaValidatorForm and java.lang.NullPointerException
Hi Jason,
I think that
try adding the dynamic=true attribute in the form-bean entry
as in
form-bean name=logonForm
type
=org.apache.struts.validator.DynaValidatorForm
dynamic=true
William W [EMAIL PROTECTED] on 06/11/2002 12:47:45 PM
Please respond to
Why do you have two action mappings for the same DispatchAction?
You can just have one action mapping like,
form-bean name=InputForm dynamic=true
type=org.apache.struts.validator.DynaValidatorForm
form-property name=testfield type=java.lang.String/
/form-bean
action
The struts-example has a CheckLogonTag that you can use in each jsp to
check for a valid session. It forwards to the login page if the session is
null.
Struts Newsgroup (@Basebeans.com) struts on 06/07/2002 02:40:03 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
I tend to think it's either you NOT use DispatchAction if you have
different validation requirements for the same form. The validator ties to
only one form per action and since DispatchAction is still considered a
single action (with different delegated methods), then you are still bound
to use
I have the following entry in my config
action path=/login type=com.ffic.training.LoginAction name=logonForm
scope=session input=/Login.jsp
forward name=success path=welcome.page redirect=true/
/action
My tiles definition xml is as follows
definition name=welcome.page
Do you have the following entry in your struts-config.xml?
!-- Tiles --
controller processorClass=org.apache.struts.tiles.TilesRequestProcessor
/
Trieu, Danny [EMAIL PROTECTED] on 06/03/2002 10:45:10 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: '[EMAIL
Once the properties are defined in the config xml, how do you access them
from the action class?
James Holmes [EMAIL PROTECTED] on 05/31/2002 01:32:51 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject: Re:
My instructor at a servlet class deemed Struts as an overkill but
nevertheless recommended it's use. Overkill might not be the reason why
they do not like it, why not ask them for more compelling (and objective)
reasons for not using it? If you have proven it's worth in delivering a
successful
What happens if you take the slash out of the path? ie path
=otherAction.do
Nicolas De Loof [EMAIL PROTECTED] on 05/29/2002 06:28:35 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject: redirect=true mappings
There's an entry in the dev mailing list (see link below) that talks about
the NPE for the DynaValidatorForm.
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg06269.html
I don't know if this has been fixed, but I'm also getting the same problem even with
the latest nightly build
Go to this link for a tutorial on regular expression in JDK 1.4.
http://java.sun.com/jdc/JDCTechTips/2002/tt0423.html
Hertzel Karbasi - OPTinity eBusiness Solutions [EMAIL PROTECTED] on
05/23/2002 11:14:18 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:
Can I use declarative exception in DispatchAction? I'm not having any luck
with it.
In my code, I throw an Exception from one of the methods (ex.
findByPrimaryKey()) but I get the following message
[ERROR] FinderAction - -Dispatch[/adminDiv] to method findByPrimaryKey returned an
exception
Using the source distrib, open org.apache.struts.taglib.html
package.FormTag and make the following changes
Replace the following lines in the doEndTag() method in the FormTag
class:
pageContext.removeAttribute(Constants.BEAN_KEY,
Check your struts-config.xml and web.xml and make sure they are
well-formed. Use IE or anything that will tell you if your xml files are ok
or not.
Struts Newsgroup (@Basebeans.com) struts on 05/15/2002 10:55:01 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:
Has anyone had any luck in using Struts Menu 1.1B2 in VAJ 4.0/WTE? The
plug-in does not seem to be doing it's job and I'm not getting any errors
in the console. The ActionServlet simply fails to load. I did use a
struts-menu.jar from the site.zip from basebeans and that one worked (it's
dated
Create a from in your jsp (I do this in my welcome page), something like
(don't cut and paste this as I just quickly typed the following)
html:form action = setLocale.do
Choose Language :html:select name=locale
html:option value=EnglishEnglish/html:option
html:option
I didn't use the struts examples to test out my setup. Instead I just
provided my own little application, but it works. Just make sure the
package names are consistent as I made changes to the sample codes below
before I sending this out.
Installation and configuration
1. In VAJ, you will
I forgot to include this.
You will need to make some revisions to the Struts source code or you
will get the following error Cannot remove Attribute from request scope
in your browser. I think this problem only occurs in WebSphere.
In VAJ, go to the
you're welcome
Struts Newsgroup (@Basebeans.com) struts on 05/14/2002 01:10:01 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: VAJ 4 Struts Error 503
Subject: Re: VAJ 4 Struts Error 503
From: Marco [EMAIL PROTECTED]
This is a generic error put out by VAJ (actually WebSphere) when one of
your servlets in your app.webapp fails to load. In this case, it's most
probably the ActionServlet. Check all you classpaths (in the servlet
engine) and make sure you have the xml files in the correct directory. I
can post
In a non-nested context, you would do the following for a collection of
objects associated with the request object
logic:iterate name=entryList
id=entry
scope=request
type=com.xxx.xxx.xxx.Entry
tr
tdhtml:text property=entry_subject //td
tdhtml:text
Try to specify the name attribute in the html:text tag like so
tdhtml:text name=gbEntry property=entry_subject //td
tdhtml:text name=gbEntry property=entry_text //td
tdhtml:text name=gbEntry property=entry_date //td
Michael Delamere [EMAIL PROTECTED] on 05/13/2002 02:43:16 PM
Why don't you clean up your code first and make sure that you only have the
session.invalidate() in there? This will tell you if it works or not. If it
does then you can just add back the other bits and pieces of codes that you
have there (one by one) and see which one is causing your problem.
Hi,
Why don't you just put the action class' name in the href= instead of
doing an html:rewrite?
I do this in my code and it works
html:button property=doesNotMatter value=Cancel onclick=javascript:
document.location.href = 'goToNextAction.do?' /
[EMAIL PROTECTED] on 05/01/2002
Vip,
Acrobat provides an FDF Toolkit (version 5) where you select the target
frame for your pdf file. You can put a fictitious frame name in the
SetTargetFrame() method then return a null (instead of an actionforward) to
the actionservlet. Since the frame is non-existent, the resulting pdf
I don't think you need the property attribute
ajTreece [EMAIL PROTECTED] on 04/29/2002 04:04:18 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject: Re: session parameter values
Thanks Mark for the quick
can you describe your strange problem?
Struts Developer [EMAIL PROTECTED] on 04/26/2002 01:02:08
PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: link rel='stylesheet' ... treated as GET???
I am having a rather strange problem
Has anyone successfully installed Struts 1.1b in VAJ4.0 (and run it in
WTE)? Can you post the instructions on how to do so?
Thanks,
Raffy
**
Please Note:
The information in this E-mail message, and any files transmitted
with
never mind...I have it working now...
[EMAIL PROTECTED] on 04/24/2002 10:22:46 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Struts 1.1b/VAJ 4.0
Has anyone successfully installed Struts 1.1b in VAJ4.0 (and run it in
WTE)?
That's a good question...I also have the same problem...hope someone has
the solution
[EMAIL PROTECTED] on 04/18/2002 08:31:47 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Struts Validator error messages
Hello,
How do I
I believe this is the link
http://www.jamesholmes.com/struts/
Corneliu Rachieru [EMAIL PROTECTED] on 04/17/2002 02:14:20 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
cc:
Subject: multiple struts-config files
TGIF
Has anyone successfully used the DropDown in struts-menu? My problem with
it is that the javascript generated by struts-menu does not preserve the
state of the dropdown menu when I navigate to another page.
For example
1. I have the menu
File (expandable)
View
2. I expand
Yes, I have the sample working. It just doesn't provide any links
underneath each menu item. Actually, when you select an item from the
dropdown menu, it pops up a new browser instead of navigating to another
page on the same browser. So when I tried putting links in some of the
items and
Is there a jdbc-based security realm for WebSphere equivalent to the
org.apache.catalina.realm.JDBCRealm class for Tomcat?
Or to rephrase my question, how do I approach doing a JDBC-based
userid/role definition in WebSphere and tie it with the
security-contraint defined in the web.xml file?
I have an action class that creates an FDFdoc (PDF file) and saves it to
the response's outputstream. Before forwarding to the output jsp, I also
set the content-type of the response to the ff :
response.setContentType(application/vnd.fdf);
However, the resulting page seems to be in
49 matches
Mail list logo