I just want to carry parameters to action :login.do
I will make use of the url .../login.do?action=add&id=123 in the other
page as a link.
And I want to get those parameters using: request.getAttribute("action");
request.getAttribute("id");
to get them.
However,it does NOT work.
I would li
chamal desilva wrote:
For examle let's think there are four Accounts in
accounts vector. The first action displays this list
on a JSP. User clicks on first account and views
details. Then user goes back and clicks on second
account. Then the data of first account object is
reset and gets lost. Th
actually WAS6 comes with JSTL libraries, so the jars with TLDs are located
inside WAS6 lib directory.
If I include the taglib directive (<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>) all jstl tags in the
jsp page works perfectly, but If I include this same directive into a n
Hi,
As I know the reset method of a form bean is called
automatically when a action tries to add the form bean
to session or retrieve it.
Is there a way that we can stop the reset method being
called.
This is what I am try
How do you folks organize your package layout? I went with
com...action, .form, .bean, .db, etc for action
classes, form beans, other beans, and database entities. I have 32
action classes defined, so naturally things are getting a little
cluttered, and I'd prefer not to expand the package na
Hi
I just found out why this is happening. If you have nested objects under
your managed bean, and if it is a class defined by you, you must provide
the getter method of that object to return a new instance when the object is
null.
I got the solution from Rolodex example !
Thanks for pr
Jakub Milkiewicz wrote:
If you are thinking of creating custom validator remember that even if
your
custom validator fails it doesn't mean that your form is invalid! You
must
remember to add ActionError/ActionMessage to ActionErrors/ActionMessages
passed as a parameter to yor validator.
Wow,
Hi
As far as i remeber It works as a chain. Struts processes validators in
depends attribute from left to right.
If a validator fails (returns false) struts doesn't process the next one.
If you are thinking of creating custom validator remember that even if your
custom validator fails it doesn't m
Hi
Nobody answered me, so i decided to find a solution myself...
If you want to have UTF-8 characters support in string literals (like in
example i gave in previous mail), and you are not interestested in having
utf8 support in identifiers (like UTF8 characters in property names) you
need to follo
Yup.
That's OK.
I just wondering why the validation is omitted if I define the field as
Integer or int.
Defining all the fields as String may be a general way .
Thanks.
On 6/4/06, M.Liang Liu <[EMAIL PROTECTED]> wrote:
I test the " integer " depends and it works well in a single page.
Ther
I test the " integer " depends and it works well in a single page.
There must be something to do with the setCoustomer.do.
I am trying to define the field as String ,NOT Integer.
Just waiting...
On 6/4/06, M.Liang Liu <[EMAIL PROTECTED]> wrote:
I have got a strange problem as following:
I have got a strange problem as following:
I would like to use DispatchAction for one of my use case named
customerand I create a setCustomer
.do action to init the hidden property---methodToCall.
Then that action execute method returns mapping.findFordward("continue");
The continue page makes
Hi
I could not get/set property values of nested properties in my managed bean.
I am using normal HTML to reference to JSF components defined in my
clay-config.xml. Here is the code fragment.
...//supporing HTMLs code here
Mock password
Mock Error
Mes
also.. are the tld files located in WEB-INF?
HTH,
Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender im
Hi Abhimanyu,
The problem you are encountering is probably happening because Struts
Console stores the window size settings for the application in a
configuration file. Somehow your window size has been reduced to a size that
cannot be displayed. If you remove the Struts Console configuration file
Hi Scott,
That information can usually be found in the manifest.mf file. For
instance, the commons-digester jar that shipped with Struts 1.2.4 shows:
Manifest-Version: 1.0
Created-By: Apache Ant 1.5.1
Extension-Name: org.apache.commons.digester
Specification-Title: "Jakarta Commons Digester"
I have Struts 1.2.9, and I need to step through the source of some of
its dependencies. Couple questions:
- How can I find the versions of the dependencies distributed with the
Struts binary? (ie: commons-validator, commons-logging, etc.). I've
tried unzipping the JAR files shipped with the
17 matches
Mail list logo