are of the nested
taglib yet, now I am.
From: "Niall Pemberton" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Some further newbie woes
Date: Thu, 6 Ma
Instead of using the "name" property, try the "path" or "absolutePath"
properties.
None None wrote:
Ok, I've banged my head enough in the past two hours...
I'm working on a file manager Struts app to get myself acquainted with
Struts. The first logical step is a list of drives. Here's what I
Its all looks good to me except that File.getName() is returning an empty
String - instead of using "name" in your try "path" and I think
you'll see what you're expecting:
Niall
- Original Message -
From: "None None" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thur
rs Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: Some further newbie woes
Date: Thu, 6 May 2004 15:37:53 -0400
Any joy looking at the page source maybe..?
> -----Original Message-----
> From: None None [mailto:
Any joy looking at the page source maybe..?
> -Original Message-
> From: None None [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 06, 2004 3:43 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Some further newbie woes
>
>
> I'll stick with None None until I get
I
tried again anyway, and it didn't help.
From: "Geeta Ramani" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: Some further newbie woes
Date: Thu, 6
Nope, that didn't seem to make any difference. I get the same result, which
is no output from the tag.
From: "Solley, Tim" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL
uts Users Mailing List
> Subject: RE: Some further newbie woes
>
>
> Hi None None...
>
> So in your JSP you are iterating over an ArrayList of File
> objects, trying to get at a property inside the File objects.
> To get at nested objects, you use the Struts nested
Hi None None...
So in your JSP you are iterating over an ArrayList of File objects, trying to get at a
property inside the File objects. To get at nested objects, you use the Struts nested
tag library.
Try replacing your with the equivalent from the nested library:
(below off the top of my h
9 matches
Mail list logo