Re: Struts and EL/JSTL

2004-09-26 Thread M. Onur Tokan
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 [EMAIL

Do most of you use more than one resource file?

2004-09-26 Thread PC Leung
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

Proxy Problem to run the application......................

2004-09-26 Thread Srinivas
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

Re: [OT] jsf dataTable scope.

2004-09-26 Thread Mark Lowe
I think i found my answer and its basically scope to session and set the StateManager to save on the client. context-param param-namejavax.faces.STATE_SAVING_METHOD/param-name param-valueclient/param-value /context-param This stores session information on the client rather than on the

How to escape {1} that it appears in the text?

2004-09-26 Thread Axel Seinsche
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

Re: findForward nto going to correct place

2004-09-26 Thread Yves Sy
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've been

Re: How to escape {1} that it appears in the text?

2004-09-26 Thread Mark Lowe
Might be a unicode only thing but try #123; for { and #125; 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

Re: How to escape {1} that it appears in the text?

2004-09-26 Thread Martin Gainty
Axel Try %7B -OR- #7B 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 that I

Re: Struts and EL/JSTL

2004-09-26 Thread Pedro Salgado
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-el (at

Re: findForward nto going to correct place

2004-09-26 Thread Pedro Salgado
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

Re: Struts and EL/JSTL

2004-09-26 Thread Chris
- 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

Re: Struts and EL/JSTL

2004-09-26 Thread Pedro Salgado
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... then I think

Re: Struts and EL/JSTL

2004-09-26 Thread Pedro Salgado
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... then I think

Re: findForward nto going to correct place

2004-09-26 Thread Tom Holmes Jr.
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

Re: Do most of you use more than one resource file?

2004-09-26 Thread Adam Hardy
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

How can you add an anchor to an action?

2004-09-26 Thread Kristen Henry
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

Re: java.lang.IllegalArgumentException: Cannot find module configuration

2004-09-26 Thread Craig McClanahan
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

Re: question related to action and tile

2004-09-26 Thread Craig McClanahan
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

Re: client side validation using struts in a jsf+struts integrated application

2004-09-26 Thread Craig McClanahan
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 do in

Re: JSF not usable?

2004-09-26 Thread Craig McClanahan
The standard JSF component h:selectManyCheckbox does what html:multibox 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

Re: How to escape {1} that it appears in the text?

2004-09-26 Thread Jason Lea
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.

Re: Session Customization

2004-09-26 Thread Craig McClanahan
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

Re: Spring security vs container-managed

2004-09-26 Thread Craig McClanahan
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

Tag to test if a field is required?

2004-09-26 Thread Brian Kuhn
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

Re: Spring security vs container-managed

2004-09-26 Thread Adam Hardy
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