How do you use dynavalidator forms with
or
whatever I need to specify the type as a file.
I need the other fields to be validated and I dont want to create a compilable
ActionForm or ValidatorFrom. I would like to continue using form-property
Firstly, when starting a new topic it's a better idea to post a new
message rather than replying to an existing one. Anyone not following
the thread you reply on wont see you message if you do that.
As far as your problem goes, it's not clear what the problem is because
it doesn't look like yo
Is there any helps here? Thank you in advance.
Carl Smith <[EMAIL PROTECTED]> wrote:
I am sorry for this a little long question, but you will be finding it
interesting... Simply put, I have (1),(2) and (3), then we I run struts
testing, I got error described as (4)
(1) item in struts-config.x
vijay wrote:
Hello,
I am trying to use the html:img tag to display an
image. The image's filename(eg, photo1.jpg) is stored
in the database and the actual images are stored in
the
"ContextPath/out/" folder.
I have set the value of the image_path in the form
bean but I am not able to display the
Note that the 'locale' attribute is deprecated. What happens if you
remove it? I think that might be what's causing the 'lang' attribute to
be generated.
L.
Xavier Vanderstukken wrote:
In the top on my jsp page :
The generated html page looks like that :
http://www.w3.org/1999/xhtml"; lang
You can't nest a custom tag in an attribute of another custom tag. It's
illegal JSP syntax. You have (at least) a couple of options, depending
on what level of the servlet spec you're using:
should work everywhere. An alternative if you have JSTL available:
tha
Yes, that's the 'standard' pattern.
L.
Rob Turknett wrote:
Thanks for the help. Are you suggesting, in other words, to have a separate
Action that retrieves the data to populate the select box, that is executed
prior to the ActionForm?
Rob
-Original Message-
From: news [mailto:[EM
梁炳場 wrote:
In the header.jsp, I try to add something like "About Us", "Contact Us".
Make them align to the right.
But it does not work.
I spread across the header section.
I do this in the header.jsp (and use classLayout.jsp).
...
How can I make it work?
This is nothing to d
Did you look at the documentation on wildcard mappings yet? If you use
/do/admin/** it'll match arbitrarily 'deep' URLs.
L.
emre akbas wrote:
Thank you Dave. I'm afraid predefined mapping schemes like /do/admin/*/*"
and "/do/admin/*/*/* won't work for me since I want to implement a generic
fil
Hello,
I am trying to use the html:img tag to display an
image. The image's filename(eg, photo1.jpg) is stored
in the database and the actual images are stored in
the
"ContextPath/out/" folder.
I have set the value of the image_path in the form
bean but I am not able to display the image using th
Peter A. Pilgrim on 24/09/05 12:41, wrote:
I am getting into Maven using Struts and the OReilly "A Developer
Notebook" edition.
One thing I am clueless about is how to tell Maven about a build that is
not
in a repository like
"weblogic.jar"
?
How do tell Maven about ``commercial'' dependen
Murry,
Thanks but NO as I think you suspected you DO NOT need to put the ".do" on
the end, the tag looks in the struts-config.xml to find the
action. I have more than a dozen struts applications all working fine and
even other forms within the problematic application also working fine. As a
mat
Thank you very much, I solved the problem.
Francisco - São Paulo - Brazil escreveu:
Hi all,
How can I insert/use an .JS (javaScript) file in my .jsp which is
using Struts?
I have this:
script.js:
alert('testing...');
in my .jsp :
...
But nothing happens whey I run the JSP file. It
Hi all,
How can I insert/use an .JS (javaScript) file in my .jsp which is using
Struts?
I have this:
script.js:
alert('testing...');
in my .jsp :
...
But nothing happens whey I run the JSP file. It should show a window
dialog saying "testing...", right?
PS. Both, .js and .jsp are
I am getting into Maven using Struts and the OReilly "A Developer Notebook"
edition.
One thing I am clueless about is how to tell Maven about a build that is not
in a repository like
"weblogic.jar"
?
How do tell Maven about ``commercial'' dependencies? Have any of you guys (and
gals)
alread
Remove the dots, leave the slash: path="/_common/..."
I had tried that but the page is blank.
I found the problem eventually. _header.jsp has a getAsString used for
the username and I hadn't given any text because I had forgotten about it.
Thanks for your time, Graham Reeds.
--
Greg Reddin wrote:
On Sep 23, 2005, at 9:17 PM, Graham Reeds wrote:
Now nothing appears when I try to open Test.jsp from a page that has
uses the method
I'm not quite following what you mean there. Are you saying you have a
page with the following?
and you expect Test.jsp to includ
<2cents>
I think you should check Rick Reumans lessons on struts.
Unfortunately I forgot the link, but you can easily google it out.
In short words, nothing in your classes which has an import to
*.struts or javax.http.* should even know anything about the database
or that there is a database.
Yo
thanks for the help
see inline comments
> -Original Message-
> From: Sławek Tuleja [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 24, 2005 1:57 PM
> To: Struts Users Mailing List
> Subject: Re: tag within tag
>
>
> rahul wrote:
>
> >Hi all,
> >
> >Can anyone tell me how to us
rahul wrote:
Hi all,
Can anyone tell me how to use tag inside
I tried it like:
but its not working, it is generating the following html
http://localhost:8080/someAction.do?id=">My Desc
what's the correct way of doing this?
--RahulJoshi
I like the tag due to the ability to have markup inside the
button, except that it is no use because IE doesn't follow the standard.
You can use
with fancy html in here like
bold for example
which makes nice buttons with mark-up and stuff.
You can have several of these type="submit" bu
Thank you Dave. I'm afraid predefined mapping schemes like /do/admin/*/*"
and "/do/admin/*/*/* won't work for me since I want to implement a generic
file server. I cannot know the length of the URL nor its number of tokens
separated with "/". Actually, I have written such a fileserver using plain
o
Hi all,
Can anyone tell me how to use tag inside
I tried it like:
but its not working, it is generating the following html
http://localhost:8080/someAction.do?id=">My Desc
what's the correct way of doing this?
--RahulJoshi
In the top on my jsp page :
The generated html page looks like that :
http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
--> 2lang attributes
and the w3c validation fails :
/Result:
Failed validation, 1 error
/
/
Error /Line 8 column 48/: there is no attribute "lang"./
/|http
24 matches
Mail list logo