I have started working successfully on the Display TagLib in Struts.
There are no issues except that the export to .xls, .csv format gives
following errors in Tomcat.
Exception:
javax.servlet.ServletException:org.apache.commons.collections.IteratorUt
ils.arrayIterator
Root cause:
Hi to all,
my struts-webApplication is used by almost 80 people.
After 1-2 weeks my application doesn´t react anymore,
if I do call an ActionClass which will connect to an oracle database.
So I guess I do have a problem with the database connection.
My database config shows that:
Take a look at the advanced tiles pdf that someone else mentioned on
another tiles thread. If you extend tilesaction then you could generate
your definitions from the data collected from your model.
I'm not sure of the performance issues related to this. And i don't
thing anyones done the work
Hi,
I am a newbie in struts,
I have to populate a dropdown using html:options. I have to use a collection of beans.
This collection should be stored in my Action Form.
I have a collection of CountryBeans named as collectionCountry.
In my action class I am writing
Sounds like your db connections are not properly closed.
ML Hi to all,
ML my struts-webApplication is used by almost 80 people.
ML After 1-2 weeks my application doesn´t react anymore,
ML if I do call an ActionClass which will connect to an oracle database.
ML So I guess I do have a problem
But why are only 5 suspended connections left?
So I might have 15 free connection resources?
What is a good value for maxDatabaseCount?
Hello,
I am new. I have Problems with my first Struts Projekt.
After a User is logged in, I show a List of datas. This list I put
as Object in the session (session.put(list,datas))
When another side is opend I cant`t read the Parameter from the
Session, when the User don`t
accept Cookis in his
Hi Claudia,
why don´t you put the list in a Struts FormBean?
You can get the list from the form bean easily, if you use the
UseBean-Tag in your jsp-Site.
Greetings,
Manuel
I doubt you need to store your list in the session, 'in this case' you
can use the request without introducing additional work, complication,
geeking and/or messing around.
request.setAttribute(list,data);
[data is the plural (datum singular), not that this matters I
understood what you are
Can someone PLEASE help?
I need to create a User Interface (in JSP) which
presents the user with a number of input fields. The
number of input fields is not known until run-time
(based on user selections in a previous screens).
The 2 issues I see are:
1. generating the JSP dynamically with the
Hi ,
sorry if this is not the right forum for this
question:
I am using Eclipse 3.0M6, Tomcat 5.0.18 and Sysdeo
plugin for Tomcat 2.2.1, and Struts 1.1.
everything works fine until I wanted to use Log4J in
my code. When I start Tomcat from within Eclipse, it
reports missing log4j.jar in
When the user doesn't accept cookies, session is of no use.
After login, you can fill the data in request object and *forward* the
request.
look into RequestDispatcher.forward()
HTH
Navjot Singh
-Original Message-
From: Claudia Woestheinrich [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Maybe its a working directory thing?
I know when I use sysdeo 2.2.1 (2.2 is buggy) with Eclipse 2.1 the working
directory will be c:\eclipse (cos thats where my eclipse is), so any code in
the webapp that makes the assumption that its working directory is the
tomcat bin folder has problems.
(In
Hi,
I have a button (.gif) object and on mouse-over, it shows Shortcut to
javascript:selectCookCrumb(1) in the browser's status bar. How can I hide this
information displayed in the status bar?
Kindly let me have the replies.
Regards
S Srikanth
Satyam Computer Services Limited
12 C P Ramaswamy
http://www.google.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 februari 2004 12:47
To: [EMAIL PROTECTED]
Subject: sorry --- not a struts related question.
Hi,
I have a button (.gif) object and on mouse-over, it shows Shortcut to
Hi Manuel,
Do have a look at my data source configuration. Probably, it might help.
Set the timeout value lower and try.
data-sources
data-source type=org.apache.commons.dbcp.BasicDataSource
set-property property=driverClassName
value=org.gjt.mm.mysql.Driver /
set-property
Hi,
I have found the code fragment (given below). Thanks.
onMouseOver=status='';return true
Regards
S Srikanth
Satyam Computer Services Limited
12 C P Ramaswamy Road
Alwarpet
Chennai 600018
Office +(91)-(44)-24983221 Extn 2793
Thanks for your tip.
Where do I get more Infos about the parameters you have set (any good web
adress)?
Am I able to set all of this parameters (I use Oracle DB) or is this
dependend on the driver?
ConnectionPooling must be implemented within the dbDriver?
Do I have to devide statements and
Hi Manuel!
Have a look at these. These are what I referred myself.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg87729.html
http://jakarta.apache.org/commons/dbcp/configuration.html
Richie
At 05:28 PM 2/17/2004, you wrote:
Thanks for your tip.
Where do I get more Infos about the
Hi there! I know I can retrieve messages using the bean:message tag. But
I need to put it inside another third party tag, so It's not working, I
tried to use bean:define name=message id=msg but did not work. Any
other way? How do I access it using scriptlets?
Thanx
Have in mind that in selects tags, you have a value and a text, and the
user sees the text, but the value is in fact the id, so if you shows the
value with bean:write name=orderForm property=productId user will
see the id and not the description.
For this problem we use a tag that extends WriteTag
Hi Wendy!
On 2004-02-09 at 13:04:36 -0700, Wendy Smoak wrote:
...
I was trying to get it straight recently, and made this note to myself:
In the Action:
ActionMessages am = new ActionMessages();
am.add( ActionMessages.GLOBAL_MESSAGE,
new ActionMessage(
hi its code from
1.2-dev
there is saveErrors with ActionErrors deprecated
and a new saveErrors with ActionMessages
http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.htm
l
in 1.1 there is only
saveErrors() with ActionErros
(This will be removed after Struts 1.2)
and
M... I think it's the slower one... :(
-
| Executing performance test in Case Insensitive Maps |
-
-
Run:
Hi
As I use the validator framework I'm reading the mail archive and I have
come across a few comments like One more reason to use Strings for all
ActionForm properties? though I haven't found a good discussion on why.
Is this piece of advice still current, can someone point me in the direction
I previuosly posted a mail to this list asking why DynaForms are called
Dynamic if you have to declare them statically in Struts-Config. But
there was no answer :(
We created in our project a DynamicBean (previous DynaBean release and
when Struts 1.1 was no available) and extended ActionForm to
This is not entirely true:-((
Even if the user disables cookies, you can use still URL rewritting to maintain
sessions...
I always thought that struts tags take care of URL rewritting for you in case cookies
are disabled.
-Original Message-
From: Navjot Singh [mailto:[EMAIL
Do you mean on the fly generation or generate then deploy ?
The former lets you do things like user-customisable UI. The latter would
reduce development time. What do you need ?
JC
-Message d'origine-
De : shankarr [mailto:[EMAIL PROTECTED]
Envoyé : mardi 17 février 2004 05:51
À :
try this
onmouseover=status='nbsp;';return true;
Tomek
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 17. Februar 2004 12:47
An: [EMAIL PROTECTED]
Betreff: sorry --- not a struts related question.
Hi,
I have a button (.gif) object and on
Sorry to ask this, but where do you get the Display Taglib ? The url
mentionned [www.displaytaglib.org] is not found.
JC
-Message d'origine-
De : Unmesh Nadkarni [mailto:[EMAIL PROTECTED]
Envoyé : mardi 17 février 2004 09:13
À : 'Struts Users Mailing List'
Objet : [SPAM] - Display
You need to ensure that you have to correct version of the
commons-collections.jar, which is discussed here:
http://displaytag.sourceforge.net/install.html
On 2004-Feb-17 13:02, Unmesh Nadkarni wrote:
I have started working successfully on the Display TagLib in Struts.
There are no issues
Actually, it's www.displaytag.org, not displaytaglib. :)
Regards,
David
-Original Message-
From: Gagné Jean-Christian [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:09 AM
To: 'Struts Users Mailing List'
Subject: RE: [SPAM] - Display TagLib Struts - Found word(s) list error
Hi JC,
Here you can finde the Display Taglib:
http://www.displaytag.org/index.jsp
This one is quite nice too:
http://htmltable.yuriy-zubarev.com/jsp/index.jsp
I answere you offlist because otherwise their would be too much comments
Like: try use google.
Oliver
-Ursprüngliche
That sounds excellent, is it available for use?
Paul
Global Equity Derivatives Technology
Deutsche Bank [/]
Guillermo Meyer [EMAIL PROTECTED]
17/02/2004 09:43
Please
http://displaytag.sf.net/
On 2004-Feb-17 14:02, Gagn? Jean-Christian wrote:
Sorry to ask this, but where do you get the Display Taglib ? The url
mentionned [www.displaytaglib.org] is not found.
JC
--
Nick Heudecker
System Mobile, Inc.
Email: [EMAIL PROTECTED]
Web:
I downloaded the Struts version 1.8 2003/12/10 01:04:10 form jakarta..., and now I'm
have some troubles with my javaScripts because don't have name at tag html:form
name=? . I'm was using the Struts 1.1 with html:form name=form and it was work
ok, What's wrong, what I need to fix this
On 16/02/2004 10:25 Turner Benjamin wrote:
Thomas,
The simple answer is that you don't. Struts has nothing to do with data
persistence. What I think you're really asking is how to implement
persistence in a web application.
I do realise that. My question was indeed how to implement such a
Actually, not today, because this development we made is not Open
Source, but who knows... may we remake it and open it for free use.
Cheers.
Guillermo
-Original Message-
From: Paul-J Woodward [mailto:[EMAIL PROTECTED]
Sent: Martes, 17 de Febrero de 2004 10:41 a.m.
To: Struts Users
I'm using ActionMessages class and ActionMessage for manipulate my errors and show
it in the html:errors / at jsp file but the message don't show , I was using the
ActionErrors and ActionError and was ok, no problems. How can I make to solve it.
cheers
Daniel S.
hi daniel
use this:
struts-html:messages id=error property=foo
struts-bean:write name=error/
/struts-html:messages
cheers,
-Original Message-
From: Daniel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 3:30 PM
To: Struts Users Mailing List
Subject: html:errors /
I'm
Sorry I didn't get any reply because i was unsubscibed.
Now I have subscibed again.
Hi,
I hav one problem with struts framework.
My application is developed with struts and its working fine.
As a enhancement I have to integrate Query Builder which is a JSP based
application.
Query builder is
Hi!
Well, my objective is as follows :
The user will have the ability to decide what kind of layout he would like
to have. So, the first time he logs in , I will show him some UI which is
created by default. Then, the user will customize how and what data he
wants to see. This may be thru
I tried google, and I found this mailing list's archive :-)
-Message d'origine-
De : Oliver Thiel [mailto:[EMAIL PROTECTED]
Envoyé : mardi 17 février 2004 14:40
À : 'Struts Users Mailing List'
Objet : [SPAM] - [OFFLIST] - Found word(s) list error e-mail
in the Text
body.
Hi
Hi
How can we submit a form without using
html:submit tag. I dont want to use _javascript_ for this?
Thanks Regards
Avinash Tiwari
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.comDISCLAIMER: The information contained in this message is intended only and solely
With the generate then deploy approach, jsp pages are generated at
development-time using external screen configuration (XML files, db, ...).
Then you deploy your application normally. The goal is to reduce development
time, not to support user-customization at runtime.
I think what you need is
Sorry, but still dosn't work can you help-me ???
my source code is:
in execute method:
ActionMessages messages = new ActionMessages();
HttpSession session = (HttpSession)request.getSession();
try{
LoginBO loginBO = new LoginBO(conexao);
loginBO.eUsuarioValido(usuario,senha);
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
How can we submit a form without using html:submit tag. I
dont want to use JavaScript for this?
AFAIK, the only other option is to put the parameters in a URL:
http://www.example.com/myapp/someAction.do?abc=123
But without JavaScript, you'd
hi ,
i have an ActionForm with countries in html:options , there are some
other fields, that i have to validate. So, when i submit and errors
occur, the field selected in countries is set to default. Is there a way
to mark the selected field?
The other fields (text fields) are not cleared.
In
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
Hi there! I know I can retrieve messages using the
bean:message tag. But
I need to put it inside another third party tag, so It's not
working, I
tried to use bean:define name=message id=msg but did
not work. Any
other way? How do I
hi daniel
watch here for action.execute();
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionError
s
mine was for ActionForm
there i add Message to an ErrorS-Object
and the code was from my form-page
greetings
-Original Message-
From: Daniel [mailto:[EMAIL
You could generate different Skins (for example using Xkins at
http://xkins.sourceforge.net) and the user can choose the one that he or
she likes.
But creating user's own skin on the fly... Xkins doesn't support it
nowadays, but i think it could be done. May it be a new feature for
Xkins.
You
c:set var=message
bean:message key=title.from.ressources /
/c:set
-Message d'origine-
De : Wendy Smoak [mailto:[EMAIL PROTECTED]
Envoyé : mardi 17 février 2004 16:06
À : Struts Users Mailing List
Objet : [SPAM] - RE: Retrieving messages from resource bundle
From:
Hi Guillermo,
I have one question: will 'your trick' work also if I have
properties of type, for example, Short, or Integer, or java.sql.Date?
Thanx and regards
marco
-Original Message-
From: Guillermo Meyer [mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 12:43
To:
there is a hyperlink in my form - clicking
this hyperlink should submit the form.
I can't use html:submit because
it displays a button instead of a hyperlink.
And the restriction is not to use _javascript_.
Avinash Tiwari
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website:
May I ask why you don't want a submit button?
On 17 Feb 2004, at 15:55, [EMAIL PROTECTED] wrote:
Hi
How can we submit a form without using html:submit tag. I dont want
to use JavaScript for this?
Thanks Regards
Avinash Tiwari
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website:
DynamicBean can have it's properties typed:
Example:
DynamicBean db = DynamicBeanFactory.create();
db.setCalendar(date, Calendar.getInstance());
db.setLong(idXX, 123);
db.setString(prop, Hello World);
db.setObject(objPropName, new Object());
db.add(collectionPropName, Item1); //this creates a
In which case you want a
input type=image ..
in stuts speak
html:image ..
On 17 Feb 2004, at 16:26, [EMAIL PROTECTED] wrote:
there is a hyperlink in my form - clicking this hyperlink should
submit the form.
I can't use html:submit because it displays a button instead of a
hyperlink.
Having a button using html:submit submits all of the form variables
(including hidden). Keeping a button itself gives you more control in Action
which you can use to manipulate the forwarding page (if the need be).
So in effect, you can achieve the more than link
-Original Message-
I want to use a hyperlink instead -
for example
On a typical employee list page clicking
the employee id of an employee takes you to the employee detail page.
In this scenario employee id can not
be displayed over a button - it has to be a hyperlink..
Use of _javascript_ is restricted. So
i
Should java.sql.Date belong in an form bean?
On 17 Feb 2004, at 16:15, Marco Mistroni wrote:
Hi Guillermo,
I have one question: will 'your trick' work also if I have
properties of type, for example, Short, or Integer, or java.sql.Date?
Thanx and regards
marco
-Original
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
there is a hyperlink in my form - clicking this hyperlink
should submit the form.
I can't use html:submit because it displays a button
instead of a hyperlink.
And the restriction is not to use javascript.
So the objection is really how
Veresh Jain wrote:
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 2:24 PM
To: Struts Users Mailing List
Subject: RE: overlapping cells in table with firebird
Have you tried 'dipping' the window? That is - dragging the window by its
title
Our DynamicBean holds java.util.Calendar, not java.util.Date nor
java.sql.Date.
We have a persistence framework that converts ResultSet in a collection
of DynamicBeans, so our Business layer doesn't use java.sql.Date but
Calendar.
We use DynamicBean as DTO from UI (used by DynamicForm) to
sounds like you want to display an image instead of a submit button.
html has provision for such things..
input type=image src=mybutton.gif
in struts tags this is
html:image ..
if you have many employees in one form then you want to use indexed
properties or mapped backed form using the id
Hello .
I have to get the description from a html:select example in html
select name =xx
option value=zz/option
/select
how can I do to get the z value ??? ( using struts )
thamks ..
serge
Avinash:
How about trying something like this:
%String myLink = /EmplyeeDetailAction.do?employeeId= + employeeId; %
html:link page=%=myLinkEmployee Detail Page/html:link
Regards,
Geeta
[EMAIL PROTECTED] wrote:
I want to use a hyperlink instead -
for example
On a typical employee list
From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED]
I have to get the description from a html:select example in html
select name =xx
option value=zz/option
/select
how can I do to get the z value ??? ( using struts )
Make the tag look like this instead:
select name =xx
Hallo,
is there any support for listing tree of phorum topics in page? something as
- first
- reply to first
- reply to reply
- second
etc...
Thanks,
Jiri
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
form.xx.options[form.xx.selectedIndex].text;
On 2004-Feb-17 17:02, Gonzalez, Sergio Eduardo wrote:
Hello .
I have to get the description from a html:select example in html
select name =xx
option value=zz/option
/select
how can I do to get the z value ??? ( using struts
Ok .
How can I do to send the value displayed ?
-Mensaje original-
De: Wendy Smoak [mailto:[EMAIL PROTECTED]
Enviado el: martes, 17 de febrero de 2004 17:25
Para: Struts Users Mailing List
Asunto: RE: html:select
From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED]
I have
From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED]
How can I do to send the value displayed ?
Can you post the code from the JSP the way it is now? Someone can
probably help you change it so that it does what you want.
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA
I am looking into using SecurityFilter to handle all the authentication
for my app.
Since it uses filters, like sturts, how does the Struts action get
called?
Will the request pass through multiple servlet filters?
Should the authentication servlet filter be placed above the struts
filter?
Hi,
I'm subclassing DynaValidatorForm to implement some security features
(connected with the value of disabled fields, see my post a few days ago).
Is there any possibility to get a session variable in the bean? I need
to get the current user the bean is associated with. Or I just set a
Sure.. that sounds great. It was just the question where your bean
generation supported form beans with sql date, i was querying.
On 17 Feb 2004, at 16:43, Guillermo Meyer wrote:
Our DynamicBean holds java.util.Calendar, not java.util.Date nor
java.sql.Date.
We have a persistence framework that
From: Arne Brutschy [mailto:[EMAIL PROTECTED]
Is there any possibility to get a session variable in the
bean? I need to get the current user the bean is associated with. Or I
just set a
variable inside the bean when I'm prepopulating the form..
Any comments?
The Form bean is just a
I need to send the value and text dispayed to the server
-Mensaje original-
De: Wendy Smoak [mailto:[EMAIL PROTECTED]
Enviado el: martes, 17 de febrero de 2004 17:39
Para: Struts Users Mailing List
Asunto: RE: html:select
From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED]
What is the best way to do printer friendly pages using Tiles?
We've got a portal type application. I'm looking at the Dynamic Look
Feel capability of Tiles as a canidate for implementing print friendly
pages.
Does anyone have any suggestions or wish to share about how they did it?
Many
http://jakarta.apache.org/struts/api/org/apache/struts/validator/DynaValidatorForm.html
The validate method has a request parameter, so I assume you just do
request.getSession().getAttribute(...), or I have I misread what you are
trying to achieve?
Paul
Assuming you're not cramming too much formatting inline then change the
layout.
On 17 Feb 2004, at 17:58, Eric Dahnke wrote:
What is the best way to do printer friendly pages using Tiles?
We've got a portal type application. I'm looking at the Dynamic Look
Feel capability of Tiles as a
Nathan,
Struts actually uses a Servlet rather than a Filter. But you are right about
Filters in general -- requests can pass through as many filters as you have
configured. If you have both SecurityFilter and Struts in the same app,
SecurityFilter will always be called first (when the request URL
Well, I guess that's what Wendy was suggesting in the first place: make the value
and the text the same, that way sending one is tatamount to sending both.. The other
option is to use a hidden field and javascript (onSelect fill hidden field kind of
thing along with the
Surely your application is responsible for creating the options in the first
place? Why not create a map of the key,value pairs at that time refer to
it later?
Paul
-Original Message-
From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 16:13
To: Struts
That sounds great (I hate write lot of set/get methods.. :-) )!
One further enquiry: so the actual DynaBean TO PersistenceObject
'transformation' is done where the DynaBean is 'created' (persistence
layer
I guess)?
Since as far as I understood that is the only place that knows about
Yeah, what I do is just use a LabelValueBean form property to pass the value and
txt back to the server. I set the text property using the onBlur javascript event.
On 2004-Feb-17 17:02, Gonzalez, Sergio Eduardo wrote:
I need to send the value and text dispayed to the server
-Mensaje
From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED]
I need to send the value and text dispayed to the server
Now I have to ask, why? Presumably you're generating the selections
from something, maybe a Map? All you need is the value, they key, and
you can pull the value out of the Map
I use the EL and JSTL to accomplich the same thing:
td nowrap align=left
html:link page=/searchByPersonId.do?personId=${result.personId}
c:out value=${result.ssn}/
/html:link
/td
This creates a link for
Thanks for the response. Where would you change the layout?
Something like this within the pages/*.jsp files?
String layout = .stackedStandard;
if (request.getParameter(printFriendly) != null) {
layout = .stackedPrintFriendly;
}
tiles:insert definition=%= layout % flush=true
DynamicBean2PersistenceObject is a class that we use and implements
org.apache.commons.collections.Transformer.
The business layer uses these classes to transform inputBean
(DyanmicBean) to the corresponding PersietenceObject and passes this
PersistenceObject to the Persistence framework to be
The cost of the getters and setters IMO usually don't outweigh the
benefits of the validation framework, and having something in the
middle of the form submission and the action.
Before struts validator action forms provided a convenient place to
stick validation methods (and still do). So how
Can't figure out why this code is giving me an error:
import java.io.Reader;
import com.ibatis.common.resources.Resources;
Reader reader =
Resources.getResourceAsReader(properties/sql-map-config.xml);
The error I'm getting is:
java.io.IOException: Could not find resource
And this is struts related how?
-Original Message-
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 17:22
To: 'Struts Users Mailing List'
Subject: Could not find resource error
Can't figure out why this code is giving me an error:
import
Paul-J Woodward wrote:
The validate method has a request parameter, so I assume you just do
request.getSession().getAttribute(...), or I have I misread what you are
trying to achieve?
Yes, that is true. But that needs the form to be validated to check the
access, too. I want to allow/deny a
Good point! :) The only reason it is struts related is because it's
happening my struts app. (A pretty weak link I must admit.) I suspect it's
more of a general java development environment issue. Got any good java
development environment issue mailing lists?
-Original Message-
From:
We do use Validation framework. DynamicForm is a top level class but we
use ValidatorDynamicForm that extends DynamicForm.
We use strategies to validate in each form declaring them in the
action-mapping:
action path=/admCuenta type=mypackage.CuentaAction
name=adminCuentaForm parameter=dispatch
Hmm nasty, thinking quickly, I'd guess you have three options:
1. pass the username to the form (dangerous as it's easy to hack)
2. don't display fields the user can't set (again easy to hack)
3. have two copies of the form, one in a session, one in the request. On
submission, copy the fields
Hi,
I'm having a problem with html:form input values not populating my
ActionForm. I can get it to work if I invalidate() the session immediately
prior to populating the form and submitting, or consistantly by using get
rather than post.
It appears that the form values when posted are not added
I'm having a problem with html:form input values not
populating my ActionForm. I can get it to work if I
invalidate() the session immediately prior to populating the
form and submitting, or consistantly by using get rather than post.
I'd guess a problem in struts-config.xml. The action
More information -
Here is my test for that's exhibiting the behaviour:
%@ taglib uri=/web/tld/struts-html-el.tld prefix=html %
html
head
/head
body
html:form action=/Test
table
tr
tdInput 1:/td
td
html:text property=input1
Hi,
I am a newbie in struts,
I have to populate a dropdown using html:options. I have to use a collection of beans.
This collection should be stored in my Action Form.
I have a collection of CountryBeans named as collectionCountry. In my action class I
am writing
I did this by creating a new Tiles Definition factory and modifying the
Action servlet and Local Request Processor. The factory was essentially a
(dummy) proxy to a caching layer which in turn grabbed the tiles
definitions from the database. Having dynamic action forwards makes things
a bit
1 - 100 of 150 matches
Mail list logo