RE: problem There is no Action mapped for namespace / and action name hellome. -

2007-11-22 Thread Rajagopal_Yendluri
Where is your struts.xml placed How you are invoking the action from your jsp ??? Regards, Rajagopal Y (Raj) HCU-Consulting & Enterprise Solutions. Phone: (C) +91-9986584084 / (W)+91-80-6658 3685. -Original Message- From: kushi [mailto:[EMAIL PROTECTED] Sent: Friday, November 23, 200

problem There is no Action mapped for namespace / and action name hellome. -

2007-11-22 Thread kushi
Hello i am beginner,i have just make a small hello program .when i run my program i fine this error. HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception There is no Action mapped fo

Invalid Field Value For Field

2007-11-22 Thread sagarlotiya
Hi, When i am trying to add "String" in "int" field, struts2 gives me following message. "invalid field value for field xyz". Now i want to change this message to my custome message. Then i have to create file ClassName.properties and in that if i will put something like this invalid.fieldvalue.fi

How to include CSS file in struts

2007-11-22 Thread Unnikrishnan
Hello I am new to struts and started building a sample application . I would like to know how a css file should be included in struts2 . and where should I include the file exactly (in which folder). Could any one please help thanks Unnikrishnan -- View this message in context: http://www.nab

[s2]Runtime exception in a bean setter

2007-11-22 Thread Vincent Lin
I'm using struts 2.0.9. I have a bean in a action. The setter of the bean will throw a RuntimeException when the value is not a legal value. But when I submitted the form with the illegal value, and the RuntimeException was thrown. Nothing happens to struts 2 container. The exception disappeared an

[Dojo] Pass topic parameters to action

2007-11-22 Thread Matthew (IRQ)
Hi there, I'm using Struts 2.1.1 with the new dojo plugin library and I stumpled over the following problem for which I couldn't find any solution yet even after hours of searching the net. The application I'm building is a small calendar application that shows your absences in a monthly view. W

how to avoid css clashes?

2007-11-22 Thread Giovanni Azua
hi all, I have lot of trouble importing any css as it will most likely clash and screw the dojo widgets. I was wondering whether there is a configuration setting in Struts that would yield the same effect as e.g. displaytag.property "css.table" i.e. provide a different css namespace and avoid

Re: param tag won't work!

2007-11-22 Thread Dave Newton
Is it rendering properly? (I'm actually a little surprised you don't have to use the "#" character, eg. href="#url"--I thought you did.) --- slideharmony <[EMAIL PROTECTED]> wrote: > > hi, > I'm using the following code in my jsp: > > > > > Link > >the following code for my action

param tag won't work!

2007-11-22 Thread slideharmony
hi, I'm using the following code in my jsp: Link the following code for my action: package prova.actions; import java.util.Iterator; import java.util.Map; import java.util.Set; public class Test extends ActionSupport { public String execute() throws Exception { return

Re: Select tag on freemarker

2007-11-22 Thread Aristides P. Preto Jr
Hello, For anyone interested... After several searches (and some sleeping too :-)), I've finally found a possible solution - to use the freemarker "r" (raw) prefix: <@s.set name="entityTypeList" value=r'#{"CST":"Customer", "SPL":"Supplier" }' /> <@s.select name="entity.entityType" value="%{e

Re: [s2] conditional validation

2007-11-22 Thread lbastil
Yes, ok, right, thats a point. But I still cannot see a clear alternative to handle it at all, not in the xml way and even less in the annotation way (which would be our preferred realization approach) In a model driven action I have to handle in model, or? Ok I could specify it direct on action

Re: Migration from S2.0.x to S2.1.x

2007-11-22 Thread Dave Newton
--- Giovanni Azua <[EMAIL PROTECTED]> wrote: > I have put together all issues I have encountered > while migrating my application from Struts 2.0.x > to 2.1.x under the following link: Thanks :) > redirect-action Redirect action is still supported; the result type is "redirectAction". d. --

RE: using in struts2..

2007-11-22 Thread Filippov, Andrey
That's great!! Thanx a lot!!! -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, November 22, 2007 6:18 PM To: Struts Users Mailing List Subject: Re: using in struts2.. Well, only iterates over a single array--it has no idea about any other arrays you're dea

Re: Migration from S2.0.x to S2.1.x

2007-11-22 Thread Antonio Petrelli
2007/11/22, Giovanni Azua <[EMAIL PROTECTED]>: > > I have put together all issues I have encountered while migrating my > application from Struts 2.0.x to 2.1.x under the following link: > > > http://cwiki.apache.org/confluence/display/S2WIKI/Migrating+From+Struts+2.0.x+to+2.1.x Nice work Giovan

Re: using in struts2..

2007-11-22 Thread Dave Newton
Well, only iterates over a single array--it has no idea about any other arrays you're dealing with. If your action has, say, three arrays of equal length... public String[] getArr1() {... public String[] getArr2() {... public String[] getArr3() {... ... then... ... will iterate ove

Re: Migration from S2.0.x to S2.1.x

2007-11-22 Thread Giovanni Azua
hi! I have put together all issues I have encountered while migrating my application from Struts 2.0.x to 2.1.x under the following link: http://cwiki.apache.org/confluence/display/S2WIKI/Migrating+From+Struts+2.0.x+to+2.1.x My knowledge of Struts 2 is very shallow and at Users level so don't

Re: [s2] conditional validation

2007-11-22 Thread Dave Newton
If you're doing validation differently based on the action then trying to do validation based on the model doesn't seem like a good idea: you're not trying to validate the model the same way for every action. --- lbastil <[EMAIL PROTECTED]> wrote: > > Could someone please state whether I have er

Re: is there any book on struts 2 in the market.................

2007-11-22 Thread Giovanni Azua
hi wicketshafi, You may also want to consider buying "WebWork in Action" I found it to be a great reference for Struts 2. HTH, regards, Giovanni wicketshafi wrote: Hello,, is there any book on struts2 in the market... if it is there please send a message. regards -Shafi

Re: Upload exception in Struts2

2007-11-22 Thread Le Van
Thank for your feedback, But that release is used in my active project and I don't want to upgrade it now. So have you ever get that error? is it be because of struts version? Thanks, Van On Nov 22, 2007 6:07 PM, Alexis Pigeon <[EMAIL PROTECTED]> wrote: > Hi Van, > > On 22/11/2007, Le Van <[EMAIL P

using in struts2..

2007-11-22 Thread Filippov, Andrey
Hi everybody! I have the following question - I have several String[] objects of the same size. I have to render them on the jsp. First I thought that this way is correct:

Re: is there any book on struts 2 in the market.................

2007-11-22 Thread Antonio Petrelli
2007/11/22, wicketshafi <[EMAIL PROTECTED]>: > > > Hello,, > > is there any book on struts2 in the market... > > if it is there please send a message. http://struts.apache.org/2.x/docs/home.html See the "books" section. Antonio

[S2] error 404 + sitemesh template

2007-11-22 Thread Joe Lam
I set this in web.xml 404 /error404.jsp but the output doesnt come with the site template (using sitemesh) anyone know why and how to solve this?? btw, any chance to make error 404 to call an action ? like 404 /custom.action seems tomcat on

Re: Upload exception in Struts2

2007-11-22 Thread Alexis Pigeon
Hi Van, On 22/11/2007, Le Van <[EMAIL PROTECTED]> wrote: > Hi all, > I'm using Struts 2 (2.04) and running it on Tomcat 5.5.20 (*Nix > machine). When I trace the log, I get this 2.0.4 never qualified as a GA release : < http://struts.apache.org/downloads.html#PriorReleases > The first GA release

is there any book on struts 2 in the market.................

2007-11-22 Thread wicketshafi
Hello,, is there any book on struts2 in the market... if it is there please send a message. regards -Shafi -- View this message in context: http://www.nabble.com/is-there-any-book-on-struts-2--in-the-market.-tf4855723.html#a13894838 Sent from the Struts - User mailing

Upload exception in Struts2

2007-11-22 Thread Le Van
Hi all, I'm using Struts 2 (2.04) and running it on Tomcat 5.5.20 (*Nix machine). When I trace the log, I get this 2007-11-22 10:13:40,158 - ERROR org.apache.struts2.dispatcher.multipart.MultiPartRequest(JakartaMultiPartRequest.java:130) - org.apache.commons.fileupload.FileUploadException: Process

Re: Struts+JavaScript i18n

2007-11-22 Thread nuwan chandrasoma
Hi, Sorry i replied to the mail you have sent to the dev list which is used by the struts developers to communicate about struts, sorry dev list guys :) As you have included the struts tag inside a .js file it will not be recognize as an jsp tag. therefore you need to include this inside the .jsp

Re: [s2] conditional validation

2007-11-22 Thread lbastil
Could someone please state whether I have error in reasoning here or not? ... even a "I would think its not possible with build in features yet" would help me. Thank you a lot, Basti lbastil wrote: > > OK, sorry, I may have to describe it a little more in detail or I did not > understand the

Struts+JavaScript i18n

2007-11-22 Thread iv_va_unq
Hi friends I need your help <<< Application.properties >>> pa.filter.show=Show <<< *.jsp >>> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <%@ taglib uri="/WEB-INF/struts-html.tld"

struts2 & i18n...

2007-11-22 Thread Filippov, Andrey
Hi everybody! I am developing WEBApp now and there is a problem... Well actually - 2 problems... My application should be bilingual. So I have 2 bundle files - locale_ru_Ru.properties and locale_en_Us.properties. As I understand struts2 tag automatically detect the user locale setting and c

Re: EL Statements are not evaluated in logic:equal tag

2007-11-22 Thread Antonio Petrelli
2007/11/21, Slattery, Tim - BLS <[EMAIL PROTECTED]>: > > > I saw many examples on the net with the normal logic:equal > > tag and the el > > statement: > > > > > So I thought I don't need > You can use EL without the EL libraries if your servlet container > supports J2EE version 2.4. If you have

Components for Struts2?

2007-11-22 Thread Joachim Ansorg
Hi all, I'm new to this list. I started to use Struts2 for a new project. I like it quite a lot compared to the frameworks I used before. Are there any additional component/tag libraries available for Struts2? Thanks a lot, Joachim -