I have done that and I keep having the same problem. I'm completly loose.
Rodolfo García Esteban
Canal Isabel II
División de Aplicaciones Técnicas
C/ Santa Engracia, 125
Edificio 8
Tel. 91 545 10 00 - Ext. 2128
Fax. 91 545 14 41
___
Tom Ziemer <[EMAI
I assume you know about the HTML tag Users Guide?
(http://struts.apache.org/userGuide/struts-html.html)
Richard.
On Tue, 22 Mar 2005 14:35:25 -0600, Scott Purcell
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to do something pretty simple I would think. I am also trying to
> use html:sele
Thank you for your fast response
Yes, i realize that so many reloading in a production server is bad
practice. This is due 'the not very ideal' environment and policy in
my company. I'm doing it because I have different platform for
development and production. My company using Linux Redhat as
prod
Hello,
Current version of WrapDynaBean does not support
nested properties of bean ( does not do recursion when introspecting the
bean)
Is there intent to support that in next release ?
Thanks
Struts does not provide this sort of thing.
In the environments that I typically work in, production releases are
handled by a release manager(s). When a new release goes out, the server is
usually brought down and the new build is pushed out, then brought back up.
This being done after normal
Hi,
I'm running a server (Apache Tomcat 5.0.28 with 512 MB RAM) which
hosting two webapps, one using Spring and other using Struts. The
problem is, after i reload the Struts webapp for about 15-20 times i'm
getting out of memory error. This is not happend with the Spring
webapp.
After some search,
That has actually been on my todo list for quite a while now. Struts will
be changing soon to use commons-resources so it would be better to focus
such an effort over there.
I'm hoping to get back to working on commons-resources soon. My current
focus (with what little time I have) is to fini
Leon: My suggestion is to use Tokens. I know you dont feel very nice about it
but it is a practical (this is the keyword) solution.
>From my personal experience avoid JavaScript as far as possible. It does come
>across as a nice solution but becomes very painful to maintain.
Cheers
Rajesh
>
Can you do something like this inside your message-resources files?
//---
applicationName=My Application
error.application=You have run into an error caused the the
${applicationName} application.
//-
I think doing the post-redirect-get (the second option you mentioned) is the
best way to solve your problem, according to what most people recommend.
Abdullah
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 3:32 PM
To: 'Struts Users Mailing
Hi,
I have a problem which I think is common to many of the developers one the
list, and where I'd like to hark to your opinions / solutions.
I think it's a common use case in web applications, where you have to
present a list of something, lets say a list of bikes.
You have normally some commo
Hi,
I have a problem which I think is common to many of the developers one the
list, and where I'd like to hark to your opinions / solutions.
I think it's a common use case in web applications, where you have to
present a list of something, lets say a list of bikes.
You have normally some commo
Apologies for not reading more closely. And now that I have, I'm a little
confused. Your original post said "But it just seems to ignore this validation
whatever I set the form page property to". But below, you say "the form always
gets validated. Even when the page is set to a number where the
Hello,
I am trying to do something pretty simple I would think. I am also trying to
use html:select tags, logic, etc. to keep the project uniform.
I have a jsp page that I need to show a set of users in a select list.
So I have an action that creates a bean in memory and does not validate.
I'm trying to use hot deployment on an exploded archive with Weblogic 8 and
struts 1.2. Whenever I modify and recompile an Action I get an exception.
Does this look familiar to anyone? Thanks!
Mark
java.lang.ClassCastException
at
org.apache.struts.action.ActionServlet.getProcessorForM
I was just looking at the LazyValidatorForm page. Great addition
to the struts project IMO. Quick question, to use them in nested
situations (I saw the NestedLazyBean example) , does one still
have to implement a reset() method to reset checkboxes to false?
--
Plato is my friend, Aristotle is my f
No. I don't actually have a jsp page.
I'm generating a form in a StrutsTest and then testing what my action does
with it. It looks like this:
public void testAction() {
setRequestPathInfo("/myAction.do");
setActionForm(populateForm());
actionPerform();
verifyForward("correctActionForward")
thanks for your help
I know the validation.xml is well formed because it will work perfectly
without any page properties. It's just when I start using them that the
validation stops - think I will just have to create my own field and use the
compare two fields technique instead.
- Original Me
Having done exactly the same thing, I know it works (though it's been a while so
I'm trying to remember everthing I've done). Do you also have a page number
defined for the Javascript include tag e.g.
Jay
http://www.vtgroup.com/
-Original Message-
From: Brandon Mercer [mailto:[EMA
Jack Perrett wrote:
>All the previous form properties are set using the StrutsTest so all the
>required fields are in the form. This is not the issue however, the
>validation is just plain ignoring the validation, whatever the form property
>is set to - it should at least be performing the valiadt
Hello Guys,
I have a form that is called with a dymanic param in a url. Now after
saving the form succesfully or not i need to go back to the same form.
But to load the form correctly
I need the parameter I have started with. How do I include dynamic url
parameters inside
the action mappings speci
All the previous form properties are set using the StrutsTest so all the
required fields are in the form. This is not the issue however, the
validation is just plain ignoring the validation, whatever the form property
is set to - it should at least be performing the valiadtion on the fields
with th
Jack Perrett wrote:
>Thanks for gettig back to me so quickly.
>I am actually setting the hidden page property. I'm using a StrutsTest so
>the jsp doesn't actually exist at the moment but I'm creating a form, and
>setting the fields, and then using
>
>form.setPage(2);
>
>to set the this propert
Maybe it is my system but something strange started happening this
morning. I have an app that I have been deploying on tomcat, and I
needed to add some ejb's to the app so I went to jboss. (that's just for
background since it may be a weird jboss problem)
The app uses tiles and was deploying fine
Thanks for gettig back to me so quickly.
I am actually setting the hidden page property. I'm using a StrutsTest so
the jsp doesn't actually exist at the moment but I'm creating a form, and
setting the fields, and then using
form.setPage(2);
to set the this property. So I'm effectively submitt
Brandon,
The problem is that Struts does not give you access to the value of the cancel
button when using
It only gives you the isCancelled method which indicated whether or not it was
set.
I guess I'll just get it manually as mentioned in the other post.
Thanks!
Abdullah
-Original Mes
I ended up putting this in my base action class. Is there a better alternative?
public String getCancelledValue(HttpServletRequest request) {
return (String)
request.getAttribute(org.apache.struts.Globals.CANCEL_KEY);
}
-Original Message-
From: Abdullah Jibaly
Sent: Tuesday,
Jack Perrett wrote:
>I'm trying to create a form that will be validated over a series of jsp's. I'm
>using the page property with individual fields to specify whether they should
>be validated on a particular page and then setting the hidden page property to
>whatever the corurrent jsp page.
>
Abdullah Jibaly wrote:
>Hi all,
>
>I want to have two cancel buttons in a form, however I run into the problem of
>not being able to distinguish which one is being pressed (one cancels the
>whole operation and the other returns to the first screen). The reason is that
>they both use the Globals
I'm trying to create a form that will be validated over a series of jsp's. I'm
using the page property with individual fields to specify whether they should
be validated on a particular page and then setting the hidden page property to
whatever the corurrent jsp page.
This is how my field looks
Hi all,
I want to have two cancel buttons in a form, however I run into the problem of
not being able to distinguish which one is being pressed (one cancels the whole
operation and the other returns to the first screen). The reason is that they
both use the Globals.CANCEL_KEY parameter. What is
Simply define 2 datasources as resources for your webapp and get them
using a JNDI lookup.
You will not have a share transactionnal context until you use JTA and
2-pass commit, but for readonly access, you don't need it.
Nico.
Ryan julius a écrit :
Hi,
I would like, from a struts action, to q
Hi,
I would like, from a struts action, to query informations from 2 different
databases: mySql and Oracle.
both are on different servers, respectively (Jupiter:2740) and (orion:2556).
How should I configure the system for being able to do that.
Any references would be appreciated.
Thanks.
Try instead of . See
http://www.w3.org/TR/html401/interact/forms.html#buttons for a quick
description of the difference between and . (While you're there, read the whole page. It's
filled with good information on HTML form submission.)
-- Jeff
On Mon, 21 Mar 2005 14:35:31 +0800, Yen <[EMAIL
When I hit on the key, it wont submit the form unless I use the
mouse to click on the button. I tried with both method, it doesnt work.
Unless I put both codes together, and it will work..
any idea?
Method 1
"
onclick="javascript:doSubmitForm('showList')"/>
Method 2
---
Globals contain nothing but public static final constants use in the entire
struts framework. You can download the source code and with help of the good
tool you can find its usage in the code
/ Ashwani
> -Original Message-
> From: Sergey Livanov [mailto:[EMAIL PROTECTED]
> Sen
Well, one place to look would be the API documentation:
http://struts.apache.org/api/index.html
Click on "Globals" in the "All Classes" frame and check out the Field
Summary. Also, click on one of the key fields and you'll see a link to
"Constant Field Values". Follow that for a summary page conc
Erik!
Where can I find some docs and samples about Globals obj ?
EW> Yes, it's gone in 1.2.4 and replaced by Globals.LOCALE_KEY.
EW> Erik
EW> Sergey Livanov wrote:
>>Is Action.LOCALE_KEY deprecated ?
>>
>>
>>
EW> -
EW> To u
Yes, it's gone in 1.2.4 and replaced by Globals.LOCALE_KEY.
Erik
Sergey Livanov wrote:
Is Action.LOCALE_KEY deprecated ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is Action.LOCALE_KEY deprecated ?
--
regards,
Sergey mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Mark.
Thank you very much. You're right: exactly what I want :-) First attempt
at this works.
Bernd
Mark Lowe schrieb:
Hi Bernd
You want this, does exactly what you want.
http://tuckey.org/urlrewrite/
Mark
On Mon, 21 Mar 2005 21:23:51 +0100, Bernd Schiffer
<[EMAIL PROTECTED]> wrote:
Hi.
Thanks for your reply.
That property is required by LookupDispatchAction.
The action is defined as the following:
If I don't have that property, I got errors like:
Request[/submit202] does not contain handler parameter named 'action'.
This may be caused by whitespace in the label text.
Thank
Since Struts 1.3.0 doesn't exist yet :), please redirect this post to
the DEV@ list.
-Ted.
On Tue, 22 Mar 2005 11:46:05 +0530, Rajaneesh
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> With respect to the previous versions of struts, we had the controller
>
> 1. instantiating & populating ActionForm
43 matches
Mail list logo