Re: [S1] Curly braces are unescapable in MessageResources

2011-04-20 Thread Dave Newton
I'd play with the MessageFormat Javadocs: > Within a String, "''" represents a single quote. A QuotedString can contain > arbitrary > characters except single quotes; the surrounding single quotes are removed. An > UnquotedString can contain arbitrary characters except single quotes and left > c

Re : Struts 2 problem in In url tag variable

2011-04-20 Thread kiala davy
Thank you. My variable is set now. De : Ilya Kazakevich À : Struts Users Mailing List Envoyé le : Mer 20 avril 2011, 23h 53min 37s Objet : RE: Struts 2 problem in In url tag variable Try to put the following directive on the top of your JSP page <%@ page

Re: Re : Struts 2 problem in In url tag variable

2011-04-20 Thread Chris Pratt
You have to define the registerInputLink action in your struts.xml file. Take a look at the complete examples that are shipped with struts. (*Chris*) On Apr 20, 2011 2:39 PM, "kiala davy" wrote: > > > Thanks for your answer. registerInputLink does not contain the registerInput > action. Here is

RE: Struts 2 problem in In url tag variable

2011-04-20 Thread Ilya Kazakevich
Try to put the following directive on the top of your JSP page <%@ page isELIgnored="false" %> Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" -Original Message- From: kiala davy [mailto:davy_ki...@yahoo.fr] Sent: Thursday, April 21, 2011 1:

Re : Struts 2 problem in In url tag variable

2011-04-20 Thread kiala davy
Could you give me a code example please ? De : Ilya Kazakevich À : Struts Users Mailing List Envoyé le : Mer 20 avril 2011, 23h 43min 13s Objet : RE: Struts 2 problem in In url tag variable AFAIK EL is not enabled by default in JSP 2.0 which is used in t

Re : Re : Struts 2 problem in In url tag variable

2011-04-20 Thread kiala davy
Here is my page register.jsp <%@ taglib prefix="s" uri="/struts-tags" %> http://www.w3.org/TR/html4/loose.dtd";> Basic Struts 2 Application - Welcome Welcome to Struts 2! Please register for our prize drawing. De : Chris Pratt À : Struts User

RE: Struts 2 problem in In url tag variable

2011-04-20 Thread Ilya Kazakevich
AFAIK EL is not enabled by default in JSP 2.0 which is used in tomcat 5. Set ELIgnored="false" in your page attribute Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" -Original Message- From: kiala davy [mailto:davy_ki...@yahoo.fr] Sent: Thursda

Re : Struts 2 problem in In url tag variable

2011-04-20 Thread kiala davy
Thanks for your answer. registerInputLink does not contain the registerInput action. Here is my output when i click on the link. Struts Problem Report Struts has detected an unhandled exception: Messages: * There is no Action mapped for namespace / and action name ${registerInputLink}.

Re: Re : Struts 2 problem in In url tag variable

2011-04-20 Thread Chris Pratt
Did you include the JSP taglib directive at the top of the page? (*Chris*) On Wed, Apr 20, 2011 at 2:26 PM, kiala davy wrote: > My file is register.jsp and i use Tomcat 5.5.30 > > > > > > > > De : Chris Pratt > À : Struts Users Mailing List > Envoyé le : Mer

Re : Struts 2 problem in In url tag variable

2011-04-20 Thread kiala davy
My file is register.jsp and i use Tomcat 5.5.30 De : Chris Pratt À : Struts Users Mailing List Envoyé le : Mer 20 avril 2011, 23h 11min 21s Objet : Re: Struts 2 problem in In url tag variable For most containers, that will have to be in a file that ends in

RE: Struts 2 problem in In url tag variable

2011-04-20 Thread Ilya Kazakevich
Hi, registerInputLink here is EL variable of type java.lang.String. It contains URL of the registerInput action What is output of this code? Do you have this action set in your struts.xml? Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop w

Re: Struts 2 problem in In url tag variable

2011-04-20 Thread Chris Pratt
For most containers, that will have to be in a file that ends in .jsp to work. What servlet container (and version) are you using? (*Chris*) On Wed, Apr 20, 2011 at 2:07 PM, kiala davy wrote: > Hi, > > I am a newbie in Struts 2.2.1.1. So i am learning to use Struts. I am > facing a problem

Struts 2 problem in In url tag variable

2011-04-20 Thread kiala davy
Hi,I am a newbie in Struts 2.2.1.1. So i am learning to use Struts. I am facing a problem in the example on the following link http://struts.apache.org/2.2.1/docs/message-resource-files.html. The following code does not work: "registerInput" var="registerInputLink" />"${registerInputLink}">Please

[S1] Curly braces are unescapable in MessageResources

2011-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've been using S1 for years to great satisfaction. Thanks! I'm coming up against a problem that I think I can't get around, so I'm posing it to the community to see if anyone can help. We have a regular expression that we want to put into a pr

Re: Struts @Inject vs. Spring @Autowire

2011-04-20 Thread Dave Newton
He's saying that he prefers @Inject since it's a standard; there are multiple implementations of the annotation. Dave On Wed, Apr 20, 2011 at 9:49 AM, M. Rakowski wrote: > >> @Inject is the JSR-330 standard, right? > > I meant com.opensymphony.xwork2.inject.Inject. > But you are right, I should

Re: Struts @Inject vs. Spring @Autowire

2011-04-20 Thread M. Rakowski
@Inject is the JSR-330 standard, right? I meant com.opensymphony.xwork2.inject.Inject. But you are right, I should try EE6 with Java DI. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

Re: Struts @Inject vs. Spring @Autowire

2011-04-20 Thread Paul Benedict
@Inject is the JSR-330 standard, right? I prefer that over @Autowired to remove spring dependency in code; @Autowired was created by Spring and influenced the JSR, and they did a pretty good at getting DI right for the rest of us. On Wed, Apr 20, 2011 at 8:01 AM, Dave Newton wrote: > If you're u

Re: Struts @Inject vs. Spring @Autowire

2011-04-20 Thread Dave Newton
If you're using Spring as anything other than a DI framework, yes. If not, depends. Dave On Apr 20, 2011 8:55 AM, "M. Rakowski" wrote:

Struts @Inject vs. Spring @Autowire

2011-04-20 Thread M. Rakowski
Hi Everyone, which annotation should I use for DI? I have successfully used both. Spring requires additional libraries, is it worth it? Thanks in advance - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For addition

common validator combine constants / constant-name

2011-04-20 Thread userxxx
Hello, I want to to mix constants in the common-validator I Use struts 1.2.9 and common-validator 1.3.1 on weblogic 10.3.2.0 Here is a simple example: validation.xmlfinalpos...@googlemail.com [...] K_alpha [A-Z] K_num [0-9] K_alpha_num

[OT] RE: Using Strut in Desktop Application

2011-04-20 Thread Dave Newton
As far as I know it'd run on any server, but you'd be better off talking to to Sonar folks about that. d. On Apr 20, 2011 5:50 AM, "Alok" wrote: > > Is it possible to use Sonar to run on embedded server? > > > > > > Please explain in some detail. > > > > > Keenly waiting for your reply. > > Rega

RE: Using Strut in Desktop Application

2011-04-20 Thread Alok
Is it possible to use Sonar to run on embedded server? Please explain in some detail. Keenly waiting for your reply. Regards, Alok From: Dave Newton-6 [via Struts] [mailto:ml-node+4315353-1426382771-199...@n5.nabble.com] Sent: Wednesday, April 20, 2011 3:16 PM To: Singh, Alok (Cogn

RE: Using Strut in Desktop Application

2011-04-20 Thread Dave Newton
Why a "desktop" app? And even if you're dead-set on that, why not run an embedded server? Sonar is a web app. Dave On Apr 20, 2011 2:38 AM, "Alok" wrote: > > I am trying to create an Desktop Application which function as Code > Review for COBOL. > > > > > > > > > Input- Cobol File(s) which will