Tim,
> From: Tim Christopher [mailto:[EMAIL PROTECTED]
> What does everyone think of using XDoclet to build
> Struts / Tiles / Validator configuration files?
I like using XDoclet for creating the struts-config.xml file. For permanent
items that are not in your .java files or which need to be con
Wendy Smoak wrote:
From: "Erik Weber" <[EMAIL PROTECTED]>
I see now that the problem appears to be that the c tag is assuming
"org.foo.ATTRIBUTE" means org.getFoo(), etc. How can I tell the c tag
that "org.foo.ATTRIBUTE" is the name of the request attribute, not
"org"?
What is the JSTL equival
Good stuff! Thanks for the post :-) It actually reminded me of a
couple of things I had forgotten ... or mislearned ;-P
On Sat, 29 Jan 2005 20:29:54 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> Appendix A of JSTL in Action is available here:
> http://www.manning.com/catalog/view.php?book=baye
I think there's been some movement to do this in the past. You might
try searching on sourceforge ... or even Google.
On Sun, 30 Jan 2005 03:28:27 +, Tim Christopher
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> What does everyone think of using XDoclet to build Struts / Tiles /
> Validator configura
From: "Erik Weber" <[EMAIL PROTECTED]>
I see now that the problem appears to be that the c tag is assuming
"org.foo.ATTRIBUTE" means org.getFoo(), etc. How can I tell the c tag that
"org.foo.ATTRIBUTE" is the name of the request attribute, not "org"?
What is the JSTL equivalent of this logic tag
Hi,
What does everyone think of using XDoclet to build Struts / Tiles /
Validator configuration files?
Is it likely to make life seem like it's worth living, or is a few
hours spent trying to learn it going to drive me mad? :o)
Cheers for your feedback!
Tim Christopher
---
Eddie Bush wrote:
I thought that's what you were getting at! ;-)
Please trim unnecessary dialog from your response when posting :-)
And now, here are the complete lyrics to "The Song That Never Ends" . . .
Just messin' with ya!
:-P
On Sat, 29 Jan 2005 21:57:26 -0500, Erik Weber <[EMAIL PROTECT
Thanks Eddie. That did the trick.
Erik
Eddie Bush wrote:
Erik,
Maybe I'm missing something, but do you have a bean in-scope named
org, which has a property named foo, which has a property named
ATTRIBUTE?
Maybe:
or
Tried that? I could totally be missing your point ... but, if the
"name" of the b
I thought that's what you were getting at! ;-)
Please trim unnecessary dialog from your response when posting :-)
On Sat, 29 Jan 2005 21:57:26 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> I see now that the problem appears to be that the c tag is assuming
> "org.foo.ATTRIBUTE" means org.getFoo(
Erik,
Maybe I'm missing something, but do you have a bean in-scope named
org, which has a property named foo, which has a property named
ATTRIBUTE?
Maybe:
or
Tried that? I could totally be missing your point ... but, if the
"name" of the bean is "org.foo.ATTRIBUTE", you're probably going to
I see now that the problem appears to be that the c tag is assuming
"org.foo.ATTRIBUTE" means org.getFoo(), etc. How can I tell the c tag
that "org.foo.ATTRIBUTE" is the name of the request attribute, not "org"?
Thanks,
Erik
Erik Weber wrote:
What is the JSTL equivalent of this logic tag?
I tri
What is the JSTL equivalent of this logic tag?
I tried this:
but it didn't work. Neither did "${!empty org.foo.ATTRIBUTE}".
Erik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dang, Kishore, you are relentless! I like that!
You have the option of setting each tag with the value you want for
these and programming them in, if you like.
On Sat, 29 Jan 2005 14:40:26 -0600, Kishore Senji <[EMAIL PROTECTED]> wrote:
> >response.setContentType(type);
> >response.setH
>response.setContentType(type);
>response.setHeader("Cache-Control", "");
>response.setHeader("Pragma", "");
>response.setHeader("Expires", "");
>response.addHeader("Content-Disposition","filename=" + name);
With the above headers, is caching turned on or off. Cache-Control is
Have you tried examining the source? ;-) Let's do:
If you set the code is going to set a
PageContext variable indicating XHTML should be used to true. You can
find an identical line of code in the XhtmlTag class. I'd say, based
off the code, that they're functionally equivalent.
For you DOCTY
At 5:29 PM +0800 1/29/05, Eric Chow wrote:
How can I not use the struts-config.xml but I can use my own config to
generate a HTML form and use a standard validator to validate the form
data ??
When Struts goes to get you a form bean (based on the "name"
attribute of an mapping, it goes to the cur
http://www.michaelmcgrady.com/button/
Jack
On Sat, 29 Jan 2005 21:25:44 +0200, Nils Liebelt <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> I am using a LookupDispatch action to add and delete stuff to a form. It
> works fine but it seems like quite a hustle to change my add and delete
> buttons
Hi everybody,
I am using a LookupDispatch action to add and delete stuff to a form. It
works fine but it seems like quite a hustle to change my add and delete
buttons into linked images. Is there a way of html:image tag in this
particular situation?
Any suggestions?
Regards,
Nils
--
Hi everybody,
I am using a LookupDispatch action to add and delete stuff to a form. It
works fine but it seems like quite a hustle to change my add and delete
buttons into linked images. Is there a way of html:image tag in this
particular situation?
Any suggestions?
Regards,
Nils
--
I really do think that "Smart Questions" should have a counterpart
"Smart Answers". By this I mean that I notice that a lot of the
bandwidth is taken up by people who jump in before reading a question
carefully and begin to give irrelevant advice and sometimes bad
demands (wrong list, etc.) becaus
On Sat, 29 Jan 2005 12:40:21 -0500, William Stranathan
<[EMAIL PROTECTED]> wrote:
> Don't put your html resources, CSS, etc. under WEB-INF - just put the
> JSP's there. If your images or CSS or .js files have anything you need
> to protect from direct access (passwords - perish the thought!
> Pro
lastly, I think, notice that 'resource.do?file=Whatever.jpg' in
is merely text, and so can be "nested" all you like.
Jack
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
"You can't wake a person who is pretending to be asleep."
~Native Prover
Perhaps I should have added that you access the resources as follows:
The rest should be obvious.
Jack
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
"You can't wake a person who is pretending to be asleep."
~Native Proverb~
"Each man is good i
Don't put your html resources, CSS, etc. under WEB-INF - just put the
JSP's there. If your images or CSS or .js files have anything you need
to protect from direct access (passwords - perish the thought!
Proprietary information?), put them under WEB-INF and use DownloadAction
to send them.
w
On Sat, 29 Jan 2005 16:28:42 +, Tim Christopher
<[EMAIL PROTECTED]> wrote:
> I've read that if you store your JSP files under the WEB-INF folder it
> blocks access to html resources (CSS etc).. What's the work around to
> ensure the JSP has access to all the resources it still needs?
>
> Tim
On Fri, 28 Jan 2005 13:18:29 -0800, Dakota Jack wrote:
> Hopefully, if there is a bandwidth problem, we can all cut down the
> repeating of unnecessary matter in our posts.
Struts has a large number of international users, so bandwidth on the mailing
list is always a concern. A lot of us have bro
I've read that if you store your JSP files under the WEB-INF folder it
blocks access to html resources (CSS etc).. What's the work around to
ensure the JSP has access to all the resources it still needs?
Tim
On Sat, 29 Jan 2005 10:20:25 -0500, David G. Friedman
<[EMAIL PROTECTED]> wrote:
> Fran
I have another question. I seem to only get the JavaDoc help for Struts
in the source of JSP files where I have the reference to the tag's via
an <[EMAIL PROTECTED] ...%> scriplet. In Java I receive the error "JavaDoc not
installed" from Netbeans so I was wondering where the docs folder for
The reason for the error is that the beanutils package cannot convert
the date string into a Date object. You can either populate the form
with the formatted date or register a Converter to handle the
conversion appropriately. I haven't yet used Converter but this problem
has been answer many tim
Frank,
I agree with you when a JSP is just a template. However, may people mix
JSP's with scriplets and other code nibblets. Having items such as those as
publicly accessible can cause security and functionality issues. Luckily, I
myself haven't needed to put scriptlets in my JSP's though I sti
My argument against it is that WEB-INF is meant to be configuration
information and "support files", and while I agree with viewing JSPs as
templates, I don't view them as support files either. Let me put it
another way... WEB-INF should be things that are not
application-specific, except for
We had this discussion a lot last week, and it seems to be somewhat
divided on whether JSP's belong in WEB-INF. What was your compelling
argument AGAINST it?
My compelling argument FOR it has always been that WEB-INF is where
application artifacts that are not complete web artifacts belong. W
Hi,
This is my form:
This is how I populate it:
List days = new ArrayList();
--fill list--
form.set("days", (MyClass[]) days.toArray(new MyClass[days.size()]));
This is my jsp-code:
The generated html seems correct as it finds the actual data in the
MyCla
How can I not use the struts-config.xml but I can use my own config to
generate a HTML form and use a standard validator to validate the form
data ??
On Fri, 28 Jan 2005 10:12:32 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote:
> At 8:03 AM -0700 1/28/05, Wendy Smoak wrote:
> >From: "Eric Chow" <[E
34 matches
Mail list logo