On 09/26/2004 11:47 PM Craig McClanahan wrote:
On Sat, 25 Sep 2004 22:24:36 +0200, Adam Hardy
<[EMAIL PROTECTED]> wrote:
[snip]
The suggested solution is to wrap all form controls in a Spring-based
role-manager taglib. The JSPs are ugly enough as it is so I find that
idea bad.
Isn't that pretty mu
Hi all,
I'm using struts 1.1, jstl 1.1, and commons validator 1.1.3. I'm
trying to find a way to test (inside a jsp) if a given field is
required in the validation rules. I thought I read about a tag that
does this, but I can't find it now. Any ideas?
Thanks,
Brian
Does something like t
On Sat, 25 Sep 2004 22:24:36 +0200, Adam Hardy
<[EMAIL PROTECTED]> wrote:
> [snip]
> The suggested solution is to wrap all form controls in a Spring-based
> role-manager taglib. The JSPs are ugly enough as it is so I find that
> idea bad.
Isn't that pretty much the same thing that you would do if
You'll need to modify your servlet container to accomplish any of
these goals ... there's nothing you can do at the web application
level.
One thing you'll find more complex than expected is wanting to save
session attributes in the database. Remember that session attributes
can be any arbitrary
Axel Seinsche wrote:
Hi all,
How can I escape curly brackets in my message bundle so that I can
display {1} in my JSP? I already tried with \ or \\ but whenever I don't
receive an error {1} is replaced by 'null' in the text. Hope someone can
help me.
http://java.sun.com/j2se/1.4.2/docs/api/ja
The standard JSF component does what
does. There are also other variations for
representing the "select many" scenario with different types of
renderings.
Craig
On Fri, 24 Sep 2004 14:57:31 +0200, Mato Mira, Fernando
<[EMAIL PROTECTED]> wrote:
> I just started reading the Core JSF book, and a
On Fri, 24 Sep 2004 11:38:56 +0530, babloosony <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> How do I do client side validation(using struts) in jsf+struts
> integrated application which uses jsf-struts libary provided by
> CraigMc. ?
You enable client side validation with Struts+JSF the same way you
On Thu, 23 Sep 2004 15:16:18 -0700, Amit Gupta
<[EMAIL PROTECTED]> wrote:
> Can any body guide me how to rewrite URL with JSP and tomcat as it is
> possible with mode_rewrite with apache?
Doing "rewriting" within the scope of a web application is possible
with a Filter (Servlet 2.3 or later) that
Does your application actually have multiple modules? If so, you are
running into the first item listed under "Known Limitations" in the
README.txt file (top level directory of the distribution). I'm
planning to build a solution based on a Filter that should make this
work -- it will require Serv
I have a jsp that I will return to, and depending on the button pushed I
wand to return to a different anchor.
I tried adding an anchor name with #stat for example at the end of the
.jsp name in the action forward. It says it is not found.
What is the solution for this?
Thanks,
Kristen
I only use one resource file, but not for performance reasons. I have
never come across anyone complaining of performance issues due to the
resource messages file.
However it would be best not to assume that you can do no wrong with it.
I recently had to justify the use of resource messages fil
Yves Sy wrote:
What do you mean "failure"? You explicitly return
mapping.findForward("failure")? Or do you mean when the validate
method in ActionForm fails?
Actually both, in my code when the validate is false, then it comes back
to the MemberAction controller and I do explicitity call:
return ma
On 26/9/04 5:30 pm, "Chris" <[EMAIL PROTECTED]> wrote:
>> - configure your web.xml correctly to enable EL
>> - use struts non-el tag libraries or any non-el tag library (jstl
>>included)
>
> BTW, in JSTL, which one is non-el tag library? c.tld or c-rt.tld ?
If you are using Tomcat5... t
On 26/9/04 5:30 pm, "Chris" <[EMAIL PROTECTED]> wrote:
>> - configure your web.xml correctly to enable EL
>> - use struts non-el tag libraries or any non-el tag library (jstl
>>included)
>
> BTW, in JSTL, which one is non-el tag library? c.tld or c-rt.tld ?
If you are using Tomcat5... t
> - configure your web.xml correctly to enable EL
> - use struts non-el tag libraries or any non-el tag library (jstl
>included)
BTW, in JSTL, which one is non-el tag library? c.tld or c-rt.tld ?
Regards
Chris
-
To uns
To forward to the "failure" page try using mapping.getInputForward();
It is better than defining a failure forward everytime and is less
error-prone.
Pedro Salgado
On 26/9/04 4:11 pm, "Yves Sy" <[EMAIL PROTECTED]> wrote:
> What do you mean "failure"? You explicitly return
> mapping.findForw
On 26/9/04 11:10 am, "M. Onur Tokan" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Should I use struts-el with jstl or struts built-in tag libraries ?
> What are the differences between these?
If you have support for JSP2.0 in your servlet container (which seems the
case):
1st - you can't use struts
Axel
Try
%7B
-OR-
B
Martin-
- Original Message -
From: "Axel Seinsche" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 26, 2004 10:55 AM
Subject: How to escape {1} that it appears in the text?
> Hi all,
>
> How can I escape curly brackets in my message bundle so t
Might be a unicode only thing but try { for { and } for }
Mark
On 26 Sep 2004, at 16:55, Axel Seinsche wrote:
Hi all,
How can I escape curly brackets in my message bundle so that I can
display {1} in my JSP? I already tried with \ or \\ but whenever I
don't receive an error {1} is replaced by 'nu
What do you mean "failure"? You explicitly return
mapping.findForward("failure")? Or do you mean when the validate
method in ActionForm fails?
And what's the path of the page where you're being redirected?
-Yves-
On Sat, 25 Sep 2004 13:03:58 -0400, Tom Holmes Jr. <[EMAIL PROTECTED]> wrote:
> I'v
Hi all,
How can I escape curly brackets in my message bundle so that I can
display {1} in my JSP? I already tried with \ or \\ but whenever I don't
receive an error {1} is replaced by 'null' in the text. Hope someone can
help me.
TIA,
Axel
---
I think i found my answer and its basically scope to session and set
the StateManager to save on the client.
javax.faces.STATE_SAVING_METHOD
client
This stores session information on the client rather than on the
server..
I found it when i was read the jsf spec..
[McClanahan et al, Java
Hi Guys,
I am using the Struts Frame Work and Servlets in my Application. And It's working
fine...
But the Problem is
It's working only the Static IP Address Systems ...but Some of the systems connected
through Proxy ,those on systems my application is not working properly .
In my a
Hello
Do most of you use more than one resource message file?
Or just put all messages into one single message file.
If only one message file is used, then does it affect
performance? eg, if you have many modules such as
GL, AP, AL, POS...
Thanks
PC Leung
---
Hi,
Should I use struts-el with jstl or struts built-in tag libraries ?
What are the differences between these?
--
Regards,
M. Onur Tokan
>
>
>
> - Original Message -
> From: "David G. Friedman" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Satish Talim"
25 matches
Mail list logo