As Wendy indicates, you should just use "html:hidden" for this.
However, the error in your code is because you have nested double
quotes. Change it to this to avoid the error:
It's also noteworthy that you managed to find a small bug in the Tomcat
code, in that the error key "jsp.error.attribu
>name="teacher"
> property="id"
> value="${teacher.id}" />
You still don't need the value attribute. Assuming that "teacher" is your
form bean, you don't need the "name" attribute either.
--
Tim Slattery
[EMAIL PROTECTED]
---
On 13 Apr 2004, at 18:09, as as wrote:
I just changed Html:hidden to html-el:hidden as follows:
I did note the valuable suggestions provided by archive members about
not needing to specify value above..and just use
I am running the whole large app now so hopefully there is no r
> From: as as [mailto:[EMAIL PROTECTED]
> I just changed Html:hidden to html-el:hidden as follows:
>
This isn't going to work... means you can use an expression
such as ${teacher.id} .
You STILL cannot put a tag inside of a tag.
Is your property 'ID' or 'id'? You keep switching it back and
Subject: RE: Jasper error
Have you tried this?
The other option is to populate your form in the action which is
called prior to displaying this page. If you do this, then you
can simply just use:
If you are still having problems, you might consider changing
your property "ID" to
t; To: Struts Users Mailing List
> Subject: RE: Jasper error
>
>
> I just changed Html:hidden to html-el:hidden as follows:
>
>
>
>
>
>
>
> I did note the valuable suggestions provided by archive members about not needing to
> specify value abov
> I just changed Html:hidden to html-el:hidden as follows:
>
I don't think so. This still is nesting tags, and it still won't work.
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I just changed Html:hidden to html-el:hidden as follows:
I did note the valuable suggestions provided by archive members about not needing to
specify value above..and just use
I am running the whole large app now so hopefully there is no run time error too
Previously I was getti
> From: as as [mailto:[EMAIL PROTECTED]
> Thanks all
> I started using html-el tags and seems to run fine.
What was your solution? For the archives if nothing else... It's very
frustrating to find a thread with the *exact* problem you are facing,
only to find that it ends with "Thanks, it's fixe
S [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 13 April 2004 22:43
To: 'Struts Users Mailing List'
Subject: RE: Jasper error
> > property="id" />"/>
> Is this syntax right...Thank you!
No need for the "value" attribute< since Struts will get the
that case:
-Original Message-
From: as as [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 7:03 AM
To: Struts Users Mailing List
Subject: RE: Jasper error
Wendy,
Yes I did try using it:
"/>
seems it doesnt like two "" may be one of them need to be "
> Wendy,
>
> Yes I did try using it:
>
> property="id" />"/>
You cannot nest tags, so this will not work. As I said before, you don't
need a value attribute, Struts will populate the control from the "id"
property of the form bean.
If there's really a need to do something like this, the solu
Wendy,
Yes I did try using it:
"/>
seems it doesnt like two "" may be one of them need to be "
it still doesnt work though...
Thanks in advance,
Sam.
Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: as as [mailto:[EMAIL PROTECTED]
> [input] > value="">
> need I change the synta
> From: as as [mailto:[EMAIL PROTECTED]
> property="id" />"/>
> Is this syntax right...Thank you!
No. You cannot put a tag inside a tag. (Further, I wonder about
name="ID" in your tag.) If you really need to do this,
then look into the Struts-EL tags and JSTL. But in your case, I really,
r
lol. Good point Tim, - I should have read his code closer before I told him
to use a scriptlet.
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 13 April 2004 22:43
To: 'Struts Users Mailing List'
Subject: RE: Jasper error
> property=&q
:[EMAIL PROTECTED]
Sent: Tuesday, 13 April 2004 22:38
To: Struts Users Mailing List
Subject: RE: Jasper error
"/>
Is this syntax right...Thank you!
(getting error at this line i my jsp compilation)
Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: as as [mailto:[EMAIL PROTECTED]
&
> property="id" />"/>
> Is this syntax right...Thank you!
No need for the "value" attribute< since Struts will get the initial value
from the form bean.
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PRO
"/>
Is this syntax right...Thank you!
(getting error at this line i my jsp compilation)
Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: as as [mailto:[EMAIL PROTECTED]
> [input] > value="">
> need I change the syntax...
What's wrong with:
Is there some reason you're not using the Struts tag
> From: as as [mailto:[EMAIL PROTECTED]
> value="<%= request.getParameter("id") %>">
> need I change the syntax...
What's wrong with:
Is there some reason you're not using the Struts tags?
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
--
19 matches
Mail list logo