restful actions

2007-03-04 Thread Aram Mkhitaryan
Hi, Does someone tried restful actions??? I'am working with blank application and trying to add restful action. Here is my struts.xml -- Here is my mapping in example.xml -

Struts validator

2007-03-04 Thread Suman Maity
I am using struts validator framework for both client and server side validations. The problem is validations of the same type occur together. But I want all validations for a particular field to be finished first and if that field passes all validations, then only validations for the next field s

RE: Struts 2 with jetty

2007-03-04 Thread Wesslan
I use Jetty as web container to deploy my Struts2 projects (Struts 2.0.3) and I also use the Maven-Jetty-plugin without any problems. I don't recall any special configuration to get it running. What's the error message and your version of Struts2? Cheers, Peter -Original Message- From: al

Re: can't find struts-tags.tld

2007-03-04 Thread Aram Mkhitaryan
Thanks, already found, in struts2-core-2.0.6.jar!/META-INF/ Best, Aram

Re: can't find struts-tags.tld

2007-03-04 Thread Nuwan Chandrasoma
struts2-core-2.0.6.jar - Original Message - From: "Aram Mkhitaryan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, March 05, 2007 5:28 AM Subject: Re: can't find struts-tags.tld which JAR? The TLD is inside the JAR file. ---

Re: Struts 2 with jetty

2007-03-04 Thread Aram Mkhitaryan
Hi, according to http://struts.apache.org/2.x/docs/application-servers.html there is no special configuration for jetty maybe you missed some JARs? some error information would be helpful Best, Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobi

Re: can't find struts-tags.tld

2007-03-04 Thread Aram Mkhitaryan
which JAR? The TLD is inside the JAR file.

@CustomValidator annotation

2007-03-04 Thread Alex Wibowo
Hi all, I was trying to find some examples on @CustomValidator annotation on the struts page. But I couldnt find any. Before we get to that, let me explain the situation I am having. I have a struts action class with a POJO bean in it. I wanted to validate this bean. The problem is that the valid

Re: ApplicationResource.properties file not be read?

2007-03-04 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niall Pemberton wrote: > It should work - is this exactly how you have things configured - > because theres a slight difference in names below - one has an "s" on > the end. > > eh... yeah.. the lack of "s" was the typo. They are actually the same n

Re: ApplicationResource.properties file not be read?

2007-03-04 Thread Niall Pemberton
It should work - is this exactly how you have things configured - because theres a slight difference in names below - one has an "s" on the end. Niall On 3/5/07, Peter L. Berghold <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, I've asked this question befor

ApplicationResource.properties file not be read?

2007-03-04 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, I've asked this question before, didn't get an answer but I had moved on to other things but I'm back tackling this burp. I have a message resource file that is stored under /WEB-INF/classes/org/bcdc/struts/ApplicationResource.properties

Struts 2 with jetty

2007-03-04 Thread alex xander
does anyone use jetty as web server with struts 2. i'm using struts 2 with tomcat 5.x and it's work. but when i try it with jetty, it doesn't work. it seems the struts 2 doesn't start is there any configuration with jetty 6.x. this is my first time using jetty. thx --

Re: Struts-Faces: Tomahawk tree

2007-03-04 Thread Dave Newton
--- Rodrigo Pereira <[EMAIL PROTECTED]> wrote: > I saw there are those references within > myfaces-extensions that ships with struts-faces > integration library example, but I got an err. When > I tried to download it from myfaces.apache.org, I > got another error Some information describing

Re: Struts-Faces: Tomahawk tree

2007-03-04 Thread Rodrigo Pereira
Hi, I am trying to user tree or tree2 component. I saw there are those references within myfaces-extensions that ships with struts-faces integration library example, but I got an err. When I tried to download it from myfaces.apache.org, I got another error Thanks, Rodrigo Pereira On 3/3/07,

Actions & Validation

2007-03-04 Thread stanlick
I want to leverage the validation support via XML file and my actions are POJOs that do not extend ActionSupport. How do I determine from within my action if the validation failed? My POJO actions have specific method names that are being requested via wildcard mappings and therefore may not con

Re: Two Struts validation problems

2007-03-04 Thread Oren Livne
Oren Livne wrote: P.S. An important fact I forgot to mention: my VO is persisted to a database using Hibernate. Hibernate wraps this object with its own type. Is it possible that the type conversion (String -> int) is not working properly because Hibernate's wrapper gets in the way? I did a si

Re: can't find struts-tags.tld

2007-03-04 Thread Dave Newton
--- Aram Mkhitaryan wrote: > but there is no struts-tags.tld in any distribution The TLD is inside the JAR file. d. Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo!

Re: Using the html:img tag inside html:submit

2007-03-04 Thread Dave Newton
--- Asad Habib <[EMAIL PROTECTED]> wrote: > Is their a way to do this? http://struts.apache.org/1.2.9/userGuide/struts-html.html#image > > altKey="image.rightArrow.alt" border="1"> > Can you do that with an tag? (I've never tried.) d. ___

Re: can't find struts-tags.tld

2007-03-04 Thread Aram Mkhitaryan
Hi, Thanks for the response, but Actually I can't test it since I get a huge amount of errors --- INFO: Starting Servlet Engine: Apache Tomcat/5.5.9 04.03.2007 16:36:26 org.apache.catalina.core.StandardHost start INFO: XML validation disabled 04.03.2007 16:36:27 com.opensymphony.xwor

Re: can't find struts-tags.tld

2007-03-04 Thread Nuwan Chandrasoma
hi, maks sure you have the struts2-core-2.0.6.jar in your lib folder.. and just add <%@ taglib prefix="s" uri="/struts-tags" %> in your jsp. that is all what you need. no need to add any entry in web.xml. are you using http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XM

can't find struts-tags.tld

2007-03-04 Thread Aram Mkhitaryan
Hi, in docs\docs\webxml.html it is described that - If, for some reason, a taglib configuration is needed within web.xml, copy struts2-core/core/src/main/resources/META-INF/struts-tags.tld to the WEB-INF directory as struts-tags.tld. Then, add a taglib element to the web.xml. --