Emmanuel.Leguy a écrit :
Yes name is specified. I think it needs more explanations. My action
sequence is:
jsp0 ---> Action1> jsp1 -> Action2 > jsp2
| |
Laurie Harper a écrit :
Sure.
DynaActionForm dForm = (DynaActionForm) form;
dForm.set( "name", person.getName() );
You can also use BeanUtils to copy properties from the Person to the
Form bean:
BeanUtils.copyProperties( dForm, person );
Il get this error:
javax.servlet.ServletException: I
Wendy Smoak a écrit :
From: "Emmanuel.Leguy" [EMAIL PROTECTED]>
Wendy wrote:
In Action code, before forwarding to the JSP, look up the Person
object and pre-populate the form bean's 'name' property.
Is it possible with a dynaActionForm?
Sure.
DynaAction
Wendy Smoak a écrit :
From: "Emmanuel.Leguy" <[EMAIL PROTECTED]>
Laurie Harper a écrit :
Did you try this?
No. I didn't try this. That works but if an error ocure (validate),
the form is displayed with the person.name value and not with the
formb
Laurie Harper a écrit :
Emmanuel.Leguy wrote:
Hello,
I use the following code in a jsp:
If 'person' is not present <%= person.getName() %> is compiled and I
get this error: membreLIFL cannot be resolved
If i use this code:
"/>
No pro
Hello,
I use the following code in a jsp:
If 'person' is not present <%= person.getName() %> is compiled and I get
this error: membreLIFL cannot be resolved
If i use this code:
property="name"/>"/>
No problem.
How can i use the html:text tag?
Thanx,
Manu.
--
Emman
t to "Doctorant"? Is validwhen
powerfull enough to do that?
Thanx,
Manu.
Emmanuel.Leguy a écrit :
Niall Pemberton a écrit :
What you have should work - but its always going to give an error unless
statut is set to "Doctorant".
Yes! It's what i want.
Are you sure &
Niall Pemberton a écrit :
What you have should work - but its always going to give an error unless
statut is set to "Doctorant".
Yes! It's what i want.
Are you sure "statut" is in your bean and getting populated?
Yes, because when the error happen (every time with any "statut" value)
i
Hello,
I try to use the validator with validwhen. I want to use a string
comparison but it fails. I use struts 1.2.7 and here is my validators.xml:
"-//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN"
"http://jakarta.apache.org/commons/dtds/v
I am not very proud of it but i solved my problem.
Since apache web server produced a 404 error because it couldn't find
the file /path/to/mywebapp/action.do, i created it as a empty file. And
it works.
If someone knows a more academic solution...
Manu.
Emmanuel.Leguy a écrit :
Hi,
W
Hi,
When i access:
https://myserver/mywebapp
I get a 404 error.
If I define an apache alias directive like this:
Alias /mywebapp /path/to/mywebapp
It is OK because apache can make the relation between the URL and the
real directory.
I think that I have the same error with my action URL:
Jeff Beal a écrit :
What does your struts-config look like?
Here is the mapping for action.do. I don't use any form-bean because I
don't need it. I have to access directly to my action with the url:
https://myserver/path/action.do
Struts Configuration 1.1//EN"
"http://jakarta.apache.org
Nafise Dianatizade a écrit :
have you defined the ActionServlet in web.xml ?
action
org.apache.struts.action.ActionServlet
config
/WEB-INF/struts-config.xml
-
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mo
Hello,
Apache: 1.3.33
Tomcat: 5.5
Solaris 10
modjk 1.2
I try this direct URI:
https://myserver/path/action.do
And if i haven't a session opened I get an apache 404 error:
The requested URL /path/action.do was not found on this server.
In my web.xml:
action
*.do
In my mod_jk log:
14 matches
Mail list logo