[S2] Maven problems to startup a new project

2008-01-22 Thread Alexander Jede
Hi list, I tried to create a new project with maven. That for I entered: mvn archetype:create -DgroupId=com.myCompany.mySystem \ -DartifactId=myWebApp \ -DarchetypeGroupId=org.apache.struts \ -DarchetypeArtifactId=struts2-archety

Re: [S2] Maven problems to startup a new project

2008-01-22 Thread Alexander Jede
Hallo Nils Am Dienstag, den 22.01.2008, 13:29 +0100 schrieb Nils-Helge Garli Hegvik: > Is that the exact command you typed? On one line? The command works > just fine with me (except that the archetype version does not exist, I > think the latest is 2.0.9-SNAPSHOT). I only get the same error as yo

Re: [S2] [SOLVED] Maven problems to startup a new project

2008-01-22 Thread Alexander Jede
Hi, after upgrading maven to an other version now it works. Thanks Alex signature.asc Description: Dies ist ein digital signierter Nachrichtenteil

Moving from 1.2.9 to 1.3.8

2007-07-24 Thread Alexander Jede
Hallo list, I am quite new to struts and have, perhaps a quite stupid error. Until now a used Struts 1.2.9 (because my IDE had it onboard). Now I want to use some features of the version 1.3.8 and moved to this version that for. But now I have a strange error while starting tomcat (5.5). The error

Re: [Update] Moving from 1.2.9 to 1.3.8

2007-07-25 Thread Alexander Jede
Alexander Jede: . > Unable to initialize Struts ActionServlet due to an unexpected > exception or error thrown, so marking the servlet as unavailable. Most > likely, this is due to an incorrect or missing library dependency. > java.lang.NoClassDefFoundError: > org/apache/commo

[SOLVED]Moving from 1.2.9 to 1.3.8

2007-07-25 Thread Alexander Jede
Here I am again, I found my problem. I only had to add common-chain.jar to my libs. Am Mittwoch, den 25.07.2007, 08:50 +0200 schrieb Alexander Jede: > Hallo list, > I am quite new to struts and have, perhaps a quite stupid error. > Until now a used Struts 1.2.9 (because my IDE had i

[S1] access values of a Map

2007-08-01 Thread Alexander Jede
Hallo, me bean has a Map attribute. Now I want to get access to the values of the Map. But I do not want iterate throw the entire Map. In Java I would write something like: map.get("key") What is the best way to do this in my JSP with struts 1.3.8 ? Thanks Alex --

Re: [S2] accessing a JSP variable in a tag

2007-08-01 Thread Alexander Jede
Hi, Am Mittwoch, den 01.08.2007, 19:08 +1000 schrieb Fowler, Perryn: ... > > <% String foo = "bar" %> > > I want to write out the value of foo using the Struts property tag ( so > that I can make use of its handy escaping functionality) ... I would do this with But I think it should also work w

Re: [S1] access values of a Map

2007-08-01 Thread Alexander Jede
Hi, Am Mittwoch, den 01.08.2007, 12:26 +0200 schrieb Jasper Floor: ... > I believe you can access indexed properties with bean:write through > the property attribute. > > > I believe this because the struts documentation tells me so. ;) hmm ok I found it in the package description of bean.

[S1]minipulate output of

2007-08-02 Thread Alexander Jede
Hallo list, I have an ActionForm with an attribute (String) to print the value of this attribute I use . The problem is the String could have small and capital letters but I would like to print it always the same. For example always with capital letters. Exists a way to do this with struts or have