Hi All,
I'm using struts menu and dhtmlExpandable.jsp. And it is working fine. But
i'm facing one problem.
I'm using frames. And the menu jsp is left frame. And I want all other pages
shoud open in right side.
When I specify the target as below in menu-config.xml file, it is not
opening in right
Hi All
Hope all are doing well.
I am using following code for form submit in one of the JSP.
html:submit property=submit value=Save/
It is displaying normal html button.
On clicking this button form will be submitted to corresponding action.
Now my question is,
Instead of normal html
Good morning Shabbir!
try this:
html:image page=/images/enter.gif property=submit value=Enter/
Regards,
Bernhard
-Ursprüngliche Nachricht-
Von: Shabbir Khadir Mohammed [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 24. Februar 2003 09:15
An: Struts Users Mailing List
Betreff: How to Show
use html:image
http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#image
Nico.
- Original Message -
From: Shabbir Khadir Mohammed [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 9:15 AM
Subject: How to Show gif image instead of
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
he.orgmsgId=658517
-Original Message-
From: Amit Keshav Kulkarni [mailto:[EMAIL PROTECTED]
Sent: 24 February 2003 04:28
To: Struts Users Mailing List
Subject: Tiles... When to use?
Hi
I have a web application in which I need to
have a
(apologies if you've already seen this but it did not seem to appear on the
list - almost positively user error - but attached again).
Hi Olivier,
I notice, actually in tiles examples, specifically:
tiles-documentation/layouts/vboxLayout.jsp
... there is a note that don't use iterate
if you want to use localizable buttons this is not a good approach.
because you are not able to nested tags in tags.
you are not able to do this:
html:image page=../bean:message key=images.buttons.url//Apply.gif/
property=submit value=Enter/
so i use this:
html:link
Hi all,
I'm having a problem reconnecting to a database after a number of hours of
inactivity or of the database times out for any length of time.
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Communication link
failure
My datasource definition reads as follows:
data-sources
This should work too :
bean:define id=localImage type=String
bean:message key=images.buttons.url/
/bean:define
html:image page=%= localImage % property=submit/
and this is browser-indepentend. as far as i know input type=image...
is
IE-specific.
input type=image is HTML 3.2, not browser
html:image page=%= localImage % property=submit/
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Montag, 24. Februar 2003 10:07
To: Struts Users Mailing List
Subject: Re: How to Show gif image instead of html button in the forms
for html:submit tag ?
This should
i have this tag:
bean:size id=size name=useraccounts/
now how can i display the value of size? what the getter method for the
bean:size?
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
bean:define id=localImage type=String
bean:message key=images.buttons.url/
/bean:define
html:image page=%= localImage % property=submit/
1. Might be. dont know.
but you should avoid using scriptlets in your code.
and this is scriptlet.
Not scriplet !
JSP scriptlet is :
%
i have this tag:
bean:size id=size name=useraccounts/
now how can i display the value of size? what the getter method for the
bean:size?
thanks
bean:size id=size name=useraccounts/
bean:write name=size /
Nico.
-
Hi all,
I'm having a problem during running the struts application on JBoss
server. The application deployed successfully on JBoss server, but, most of
the time the error will occur when i try to call the first page of the
application. It will only run smootly if i restart the JBoss server
Either your web.xml contains an error or your taglib reference in your jsp
files is not setup correctly. How does your web.xml look like?
Marcel
-Oorspronkelijk bericht-
Van: vincent [mailto:[EMAIL PROTECTED]
Verzonden: maandag 24 februari 2003 11:15
Aan: [EMAIL PROTECTED]
Onderwerp:
you should, you should...
don't forget... philosophical purity should always yield to pragmatism
Nicolas De Loof wrote:
1. Might be. dont know.
but you should avoid using scriptlets in your code.
and this is scriptlet.
hi guido,
you can do whatever you want.
but i will avaoid using scriptlets in my code.
i think thats the reason why struts came into life.
and now i wnat to stop further discussions about this theme.
-Original Message-
From: Guido [mailto:[EMAIL PROTECTED]
Sent: Montag, 24. Februar 2003
Hi All,
I want to assign the value of a key from my Application Resources file to a Java
variable
in a JSP Page.
e.g. In My Application Resource file i have
prompt.welcome=Welcome
In my JSP file I want this value of propmt.welcome to be assigned to a Java Variable.
How can I do this?
TIA
Hi.
Check struts-config.xml syntax.
If syntax errors exist, it may occur.
Keishi.
Ethan Michaels wrote:
Hi. I'm trying to get a simple link to work on a page.
I use a link tag like this:
html:link forward=searchSearch/html:link
When I try to load the page using JRun 4, a null
pointer
Don't feel it as an agression Georg,
I agree with you it's a good practice to avoid scriplet in JSP, and myself I
never use it and suggest never using it. They're is alway a way to do
without scriptlet, (if not, perhaps your beans are not well designed for you
webapp, or think about building a
Try this :
bean:define id=myVariable type=String
bean:message key=propmt.welcome/
/bean:define
You can then use myVariable as a script variable or a bean in page scope.
Nico.
Hi All,
I want to assign the value of a key from my Application Resources file to a
Java variable
in a JSP Page.
hi nico,
i didnt feel it as an agression.
but my english is not that best so i wanted do prevent any discussion
that would request a better english.
so sorry if i hurt you.
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Montag, 24. Februar 2003 11:58
To: Struts
Hi all,
This is a a bit long question,... :-\
We are going to start a new project with Struts, and we HAVE TO use frames.
So we have different approaches. Tha navigation is quite complex: same
action can go to different frames, and different actions can go to the same
frame,
Hi Nico,
I tried the same.
It gives the following error:
The TLD description for tag 'define' requires that the body be empty.
probably occurred due to an error in /jsp/Welcome.jsp line 6:
bean:define id=myVariable type=String
-Amit
-Original Message-
From: Nicolas De Loof
I would certainly suggest you check out alternative drivers; the JdbcOdbcDriver is not
recommended
for production use.
Ideally, you should look for a type 4 driver that supports at least JDBC API V 2.0 -
try the M$
driver it's free!
Has anyone used a single form bean for multiple jsps?
I am trying to use it and have set form scope as session in my action
declaration in config-struts file
worst part is, for every jsp itz creating a new form bean ?
whatz the catch, can anyone help me in this ?
request.setAttribute( )
Chetan Sahasrabudhe wrote:
Hi,
I have a requirement to populate my html:select list through DB entries.
The list will be appearing on multiple forms with respect to different
form beans.
My problem is, when I define the collection bean for individual
html:select,
Thanks vic,
that problem is solved, and have gone to new set of problems,
check my mail with subject as
HELP-SOS
- Original Message -
From: Vic Cekvenich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 5:12 PM
Subject: Re: Best way to write html:select
By searhing the mail archive for you for other times this question was
asked:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg48962.html
Shabbir Khadir Mohammed wrote:
Hi All
Hope all are doing well.
I am using following code for form submit in one of the JSP.
html:submit
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
--///--
On Fri, 21 Feb 2003 [EMAIL PROTECTED] wrote:
Date: Fri, 21 Feb 2003 16:34:03 -0500
From: [EMAIL PROTECTED]
----
Since you are one of the developers of struts, can you tell
me how old is
I have an ActionForm in session scope. I cannot open two separate
browser windows at the same time to do edits, because they will share
the session form bean declared in struts-config.xml .
The easiest solution I can think of is to be able to dynamically alter
the form-bean name property from a
Hi
I am getting the following error in release1 of struts when I access
anything ending with .do:
Cannot initialize RequestProcessor of class
org.apache.struts.action.RequestProcessor: java.lang.NoSuchMethodError -
javax.servlet.UnavailableException: Cannot initialize RequestProcessor of
class
Zsolt,
There is a nice description of exactly what you want to do
on the Struts web pages. Here's the link, see the bottom
part of the page:
http://jakarta.apache.org/struts/userGuide/dev_validator.html
It even has the exact fields you want to check. (represents
-Original Message-
From: Jean-Baptiste Onofré [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 1:35 AM
To: [EMAIL PROTECTED]
Subject: Number of logic:equal ... in JSP
Hello all,
i'have a strange Exception in a JSP view.
This JSP include a lot of logic:equal ...
That's not true. What version of Struts are you using?
Try it this way:
bean:define id=myVariable
bean:message key=propmt.welcome/
/bean:define
* Also, you mispelled prompt. Not sure if you were aware or
maybe just a typo.
--
James Mitchell
Software Engineer/Struts Evangelist
Hi,
I am trying to write the javascript for my own validation rules based on
the javascript in the validation-rules.xml file. Can anyone tell me what
the statement 'new required()' does. Where is required defined?
Any help would be greatly appreciated
Brian
in struts-bean.tld (1.1RC1) :
namedefine/name
tagclassorg.apache.struts.taglib.bean.DefineTag/tagclass
teiclassorg.apache.struts.taglib.bean.DefineTei/teiclass
bodycontentJSP/bodycontent
in 1.0.2
namedefine/name
tagclassorg.apache.struts.taglib.bean.DefineTag/tagclass
Hi
Over the weekend I upgraded from 1.1 beta 2 to beta 3,
because I found there was a problem with the
validation framework in beta 2 - if a form containing
a required field failed validation on said field, the
only message reported to the frontend was the required
message, regardless of what
Hi
Can anyone tell me how to install and configure Struts.please?
=
joseph
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
K Pullin
Upgrading from 1.1 beta 2 to beta 3 got rid of this problem for me.
However upgrading to RC1 introduced a further problem - see my
message to the group of a few minutes ago.
rt.
--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
I've got 3 fields on a form and in the validation.xml
Either I am just trying to do
something that is impossible, or I do not know what I am doing. Please help me
figure out which:
I have a page (home.jsp) that
is a secured page through FORM based JAAS in jboss 3, Struts 1.1 and Tiles and
all my data is being used in a body-text.jsp tile. I
Did you check the home page of Struts for several great books, some of
them available in PDF instantly?
.V
joseph agunpopo wrote:
Hi
Can anyone tell me how to install and configure Struts.please?
=
joseph
__
Do You Yahoo!?
Everything
read INSTALL in your struts distrib
If you encouter some specific problems you can ask this list...
Nico.
- Original Message -
From: joseph agunpopo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 2:40 PM
Subject: Struts Installation
Hi
Can anyone tell me
Have you downloaded binary version of struts, I will suggest you go for it,
reason is if u take source and try to compile it, u will any way die doing
that and
final installation will happen after 2 months :)
get the binary build
Expand it to a folder
in main folder where u have expanded it
Joseph,
Struts isn't really installed or configured because it is not a
free-standing application. It must be incorporated into your own
application.
Here is how you install the demo:
Copy 'struts-example.war' (from the Struts' tarball's webapps directory)
in your container's own webapps
A possible cause of this symptom is that you are referring to the bean by a different
name in the various locations. When using a form-bean 'fruit', Struts looks in the
request/session for an object with key 'fruit'. If you want the same instance to be
reused it has to be referred to as
I seem to be getting a little further along, but I am still stuck on
this process. If I request a *.jsp page, my Application.properties
file is being read at some point. I don't see how the Servlet can
know where to read the file if ActionServlet is not handling this
request and thus reading
Hi
I got a Tiles template design question. I have a web site like Amazon.com
that
using Tabs to navigate around a set of HTML Form elements. Each Page has a
HTML Form that contain lots of HTML Input elements. I have written the JSP
in the first phase to be monolithic and now I want to break
Do you have any bean tags in your jsp page i.e. bean:message
key=blah.blah if so this will attempt to read the resources files i.e.
It's the tags that are doing it not the ActionServlet
Dan Allen wrote:
I seem to be getting a little further along, but I am still stuck on
this process. If I
Hi Jeff,
thank you but my problem is that I just don't understand the examples.
I'm sure they are excellent but they do much more (as far I understand
them) than I need.
Could you please write me which example is the best for me? When I look
to the example below I don't understand what field[0],
The example referenced by Jörg Maurer is available in Struts 1.0.2 as well. It
includes the following
tr
th align=rightMultiple Select Allowed:/th
td align=left
html:select property=multipleSelect size=10 multiple=true
html:options name=multipleValues
I can't help with the first one but as for the second one...
We did something similar to the way a couple of struts tags work. If look at
the struts code (we're using 1.0.2) they actually have the fields args1 args
2, etc hard coded. If you know your never going to use more than like 5
parameters
I hate to throw a wrench into things but...
In IE if you open up a window from your current browser you do share the
session scope.
In Netscape, if you open up a whole new browser from the OS, they still
share session scope. Not sure how this impacts your app but you need to
consier this too
I'm just going to make a wild guess here.
You probably dont have the logic tag imported.
Make sure that you have:
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
at the top of the page doing this action.
I know this is kind of silly but I've gotten that same error before for the
same
This is pretty open ended. It is also a VERY large topic of conversation.
For ease of development distribution I highly recommend including the
struts.jar in your webapp. Make sure you include the tlds, struts-config.xml
and your Application Resources file. You can change all kinds of struts/web
(unless it message bundle
is retrieved by the taglib itself by use of the RequestUtils).
That's probably what's happening. You could check the bean:message tag's
code to see how it finds the messages.
David
_
Protect your PC - get
This back and forth is about as fun as the latest Mike Tyson fight.
And makes about as much sense too. _
-Tim
-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 22, 2003 5:45 PM
To: Struts Users Mailing List
Subject: RE: [OT] What's your IQ?
Can
Michael,
Thanks for your response. I recognize the browser/session issue - which
is why I'm having trouble coming up with a good solution for this
particular issue. =)
Users *will* open up multiple browser windows - and they won't read
documentation saying this is a bad idea. (Just being
Hi,
jsp:useBean id=currentSchedule scope=session
class=edu.berkeley.eberkeley.CurrentSchedule/
The way I understand the above line is that an object
reference to the Bean class CurrentSchedule is created
if it does not already exist in the session (this is
working).
Now I want to iterate over
See, even though you just want firstname dependent on lastname,
you could tie the requirement to more than one other field,
hence the array notation:
field[0], field-test[0], ... for the first conditional dependency.
field[1], field-test[1], ... for the first conditional
So I have to create Collection-type classes to hold the values so that the
select tag can populate them? That doesn't make sense, when with a
non-multiple select I can just refer to a single String property. I
looked at the example and I still don't have an answer to my original
question: What
One thing that might help you is this, Tiles 201, that basicaly has a
controler for each tile, with it's own setup, it should give you good
ideas, else repost.
http://blogs.browsermedia.com/patrick/index.do?date=20030211#130200
Templates are deprecated in favor of tiles.
.V
PILGRIM, Peter, FM
Is there a utility that will take strings formatted according to printf and
convert them to MessageFormat in a Locale friendly way?
If not, is there a good website with guidelines on converting printf
formatted strings to MessageFormat strings?
TIA
Jerome
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent: 24 February 2003 15:24
To: [EMAIL PROTECTED]
Subject: Re: [TILES] Foxy Tiles Problem
One thing that might help you is this, Tiles 201, that basicaly has a
controler for each tile, with it's own setup, it
Hi, I am trying to get a simple example working using LookupDispatchAction
but keep getting the following exception, does anybody know what could cause
this exception, has anyone had this exception before trying to use the
LookupDispatchAction?
javax.servlet.ServletException: BeanUtils.populate
On Monday, Feb 24, 2003, at 10:17 US/Eastern, bobd wrote:
Hi,
jsp:useBean id=currentSchedule scope=session
class=edu.berkeley.eberkeley.CurrentSchedule/
The way I understand the above line is that an object
reference to the Bean class CurrentSchedule is created
if it does not already exist in
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
One thing that might help you is this, Tiles 201, that basicaly has a
controler for each tile, with it's own setup, it should give you good
ideas, else repost.
This morning I got rc1 and copied over all the .jar and .tld files, plus
validator-rules.xml into my webapp. I cleaned, recompiled, deleted all the
work files, restarted Tomcat, reinstalled my app, and I repeatedly get a NPE
when trying to access my forms:
[ServletException
While messing around with things a minute ago, I found that the only setter
method in my ActionForm that gets called is
public void setIds (String[] ids), but when it does get called I get the
following error:
javax.servlet.ServletException: BeanUtils.populate
at
So I have to create Collection-type classes to hold the
values so that the select tag can populate them? That
doesn't make sense, when with a non-multiple select I can
just refer to a single String property.
First let me explain the need for a LabelValueBean. I will then tell you why
Are you sure? I am sure I recall a mention of a Struts 0.50 in the
some time during the winter 2000/2001.
Yeah, I could've sworn that I found out about Struts from a collegue who attended a
BOF at the 2000 JavaOne conference. We started using it within a month from that.
Maybe it was
I don't use HttpUnit's servlet testing framework, which is what you seem
to be hinting at here. The suggestions others have already made are
probably better substitutes for that. I do use HttpUnit for functional
testing by having it simulate a web browser, but use it in connection
with
Hi all,
one day some1 of you said that using applets in webapps wasn't a good
choice.
I don't like applets too, but for example, can someone explain to me how
to handle the rows of an invoice or an order?
Infact rows can shrink and grow, and I should be able to pickup items
from a list.
It
I wrote:
[ServletException in:/WEB-INF/jsp/chooseProfileBody.jsp] null'
I have debugging info showing at the bottom of my jsp's, and I can see the
Form beans in the appropriate scope.
I've examined the contents of request/session/application scope, and the
only difference I see is an
-Original Message-
From: PILGRIM, Peter, FM
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
One thing that might help you is this, Tiles 201, that
basicaly has a
controler for each tile, with it's own setup, it should
give you good
ideas,
Jeff,
thank you very much, now it works.
Zsolt
On Mon, 2003-02-24 at 16:19, Jeff Kyser wrote:
See, even though you just want firstname dependent on lastname,
you could tie the requirement to more than one other field,
hence the array notation:
field[0], field-test[0], ... for the
Not sure if this will help, but here goes. I have Form based JSPs that can
be used across multiple actions. Therefore these JSPs have dynamic form
action attributes. I didn't want to set the form action in the Action
class. Instead I define it in struts-config.xml on a per action mapping
I noticed you're using the el tags so you must be using a Servlet 2.3
container. You don't have to copy tld files for 2.3. If you use the
official uri listed in the tld to import the taglibs the container will find
the tlds automatically. This isn't causing your NPE but it will save you
Hi Every1
I am just using this opportunity to say special thanx
to everyone that took it upon themselves to help me
solve my problem. Mostly Bryan, Micheal Lee, Nico, V
and the annonymous, once angain thanx.
Hope in a short time I will be able to return the
favour to someone else.
Cheers
=
Great resource. Thanks for making it a wiki and allowing the general
population to participate.
I think another good resource would be what are the cons of using struts?
What are the kinds of things in web applications that Struts doesn't handle
well? I proposed using Struts on my current project
Hi folks,
I am using a container class (a collection referenced by queuesName) to hold data for
populating a select list, and I can't access the internal strings with the getter and
setter methods i have written. I have included code and can elaborate if needed. Can
anyone tell me what I am
Did that jsp code come through? my webmail removed it from my side...
---Original Message---
From: Jason Vinson [EMAIL PROTECTED]
Sent: 02/24/03 11:37 AM
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: bean:write issues... or a better solution
Hi folks,
I am using a
There is a multibox and multiselect tag, but what if I'd like to have an
array of text boxes which are the same name, though will be submitted as one
array of values. Do I have to manually do this, or does struts have some
sort of facility to help out with that, though using the power of
-Original Message-
From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]
Sent: 24 February 2003 16:24
To: Struts Users Mailing List
Subject: RE: [TILES] Foxy Tiles Problem
Not sure if this will help, but here goes. I have Form based
JSPs that can
be used across multiple actions.
It's working perfectly now. I don't know for sure what fixed it; I compared
the example code to mine, started pulling stuff OUT of my class, Tomcat /
Sun ONE Studio started acting funny, so I closed everything, blew away the
Tomcat /work directory, tried again, and *poof* no more errors. I think
If queuesName is a session or request level attribute then
the options tag should be
html:options collection=queuesName property=objid/
given that the collection elements implement the getter getObjid ( ).
Hope this helps!
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
I have the same problem and I am thinking about setting session variables in a
Lists. and add the
index of the list to the form.
.anil
Becky Norum wrote:
Michael,
Thanks for your response. I recognize the browser/session issue - which
is why I'm having trouble coming up with a good
Have you tried this syntax:
html:options collection=statusLookup property=name
labelProperty=value/
statusLookup is my Collection (in request scope), each element has getName()
and getValue() methods...
you're not going to be able to accomplish this by nesting jsp tags, as that
is 'illegal'...
Ah-HAH! I was adding back in some other methods and broke it again, but I
think I get it.
My setter method is called public void setIds (String ids[]) -- when I
created a method called public void setIds(int i, String ids) that killed
it because BeanUtils.populate was calling the wrong setter
Here's a puzzler:
We need to be able to mix displaying different languages and different currencies. For
example: A user comes in with a locale of es_MX, but they wish to view the price of
their results in Yen. We have the I18N functionality in place, but I haven't seen a
way to handle this
-Original Message-
From: Ian Hunter [mailto:[EMAIL PROTECTED]
My setter method is called public void setIds (String
ids[]) -- when I
created a method called public void setIds(int i, String
ids) that killed
it because BeanUtils.populate was calling the wrong setter method.
Call
DO NOT NEVER EVER OVERLOAD METHOD NAMES of JAVA BEANS. NEVER. I swear to
you, i was going mad about this 2 weeks ago. Sorry I didn´t catch your
problem earlier. My experience - INTROSPECTION DONE BY STRUTS CANT
DISTINCT on METHOD parameters - JUST BY METHOD NAME! First come,
first serve -
-Original Message-
From: Nelson, Laird [mailto:[EMAIL PROTECTED]
So, to sum up, you should have:
public String[] getIds();
public void setIds(String[] ids);
public void setId(int i, String id);
...and public String getId(int i);
Laird
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]
Sent: 23 February 2003 09:22
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: [ANNOUNCEMENT] Struts 1.1 Release Candidate 1 released
The Struts team is proud to announce the release of Struts
- Original Message -
From: atta ur rehman [EMAIL PROTECTED]
To: struts users mailing list [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 9:33 AM
Subject: html:file tag and exception in validate method
Dear all,
One of our JSP has html:file tag in it. Whenever validate method of the
Do any of you face this issue? and how do you deal with it?
SCENARIO:
I have a set of classes that handle event calendars.
The same classes can be used within one site to maintain multiple event
calendars.
The event calendar contains multiple categories.
I want to utilize the event calendar
Hi Peter,
I'm not sure I fully understand but we're using ... template layout within
templates layout? successfully and I think this is necessary for all but
the simplest tiles layouts. Indeed, tiles examples have used this mechanism
a lot and appears the only way of using layouts within layouts.
It seems to be related to the html/html-el:form... tag in the JSP could
you post this part of the JSP?
H.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: 24 February 2003 15:44
To: '[EMAIL PROTECTED]'
Subject: NPE, webapp broken after moving to 1.1-rc1
This
You shouldn't drop the s. You should have:
public String[] getIds()
public void setIds(String[] ids)
public String getIds(int i)
public void setIds(int i, String id)
See:
http://java.sun.com/products/javabeans/docs/spec.html (Section 7.2)
Brandon,
I have a similar situation and I ended up extending ActionMapping
and using the set-property in the action-mapping in the struts-config file.
robert
-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 12:35 PM
To: Struts User
1 - 100 of 183 matches
Mail list logo