Re: [S2] User authentication best practice (2nd time...)

2007-01-31 Thread Sébastien LABEY
Thank you very much, I will have a look a this... Sebastien On 2/1/07, Ron Chan <[EMAIL PROTECTED]> wrote: http://www.acegisecurity.org/ is a popular os generic security layer http://appfuse.org/ is a "kickstart" app that has acegi, mvc, orm layer all pre-configured with a simple user manage

Taglib error JSTL 1.1

2007-01-31 Thread bjorn.de.bakker
Hi This morning I started Eclipse and all of a sudden a weird error appears: Referenced file contains errors (http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd). For more information, right click on the message and select "Show Details..." web.xmlline 1117031

Re: [S2] User authentication best practice (2nd time...)

2007-01-31 Thread Ron Chan
http://www.acegisecurity.org/ is a popular os generic security layer http://appfuse.org/ is a "kickstart" app that has acegi, mvc, orm layer all pre-configured with a simple user management system; S2 is one of its many mvc options even if you don't use appfuse it is a good source to pick up ide

Re: [S2] User authentication best practice (2nd time...)

2007-01-31 Thread Sébastien LABEY
Thank you all. That's what I was prepared to do. But because I don't know very much about security, I was wondering if there any risk to let parameters visible in the request. I will follow your solution Thorsten. But if anyone has more advices, they should always be helpful ! Thanks. Sebastien

RE: Issue with registering/lookup of converters in ConvertUtils

2007-01-31 Thread Nitin Paul Dsilva
We too tried with the registering/deregistering of locale specific converters. Apart from the bad performance, this will also result in interference if the time of lookup that one session performs happens just after the registering of the other session's converters. We are looking at the option

RE: [S2] User authentication best practice (2nd time...)

2007-01-31 Thread Thorsten Schäfer
Ahh, I had a similar question a couple of days before. If you request the data from a DB, you may change your query, e.g., SELECT * from picture where id=:id and userId=:userId to ensure that you may only see your photos. In our implementation, we kept the database queries and always retrived the

RE: Issue with registering/lookup of converters in ConvertUtils

2007-01-31 Thread Thorsten Schäfer
We had the problem with the latest stable Struts release (I don't know if S2 handles the issue). In our implementation, it was ok to stick to a single converter - so we did not need a workaround. IMHO, the problem is not Struts, but the static nature of beanutils. Maybe you can ask the commons guys

RE: Issue with registering/lookup of converters in ConvertUtils

2007-01-31 Thread Nitin Paul Dsilva
Hi, Thanks for the reply Thorsten. But the problem here is that such an implementation is already being used. But now we need to support multiple formats for different users who login to the system. Is there any other workaround for it other than copying parts of the implementation? Will it he

Re: [s2] file upload causing param problems

2007-01-31 Thread Nagraj Rao
oops.. its common-fileuploads-1.1.1.jar sorry for the mistake... - Original Message - From: "bob" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 31, 2007 11:20 PM Subject: Re: [s2] file upload causing param problems commons-lang-1.1.1.jar? Well, I've already got commons-lang-

Re: No getter method for property

2007-01-31 Thread Martin Gainty
Augustin are you perhaps working with a collection where you need to specify an index? Saludos Cordiales desde EEUU M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or ent

Re: Persistence

2007-01-31 Thread Martin Gainty
hibernate is great for autopopulating classes from DB tables identified from hibernate.properties watch their treatment of collection classes especially with lazy=true where classes are not initialized until the last possible moment.. (One of those features that needs to be tuned) M- ---

Re: formatting money values with bean:write

2007-01-31 Thread Laurie Harper
Adam Lipscombe wrote: Folks I am using "formatKey="global.moneyFormat"/> global.moneyFormat is defined in the vanilla ApplicationResources.properties file as "#,##0.00" To support users in France and Germany there are also ApplicationResources_fr and ApplicationResources_de property files

Re: No getter method for property

2007-01-31 Thread Laurie Harper
Agustín, there was a change in behaviour between the two JVM versions you are using which accounts for the difference in behaviour. The problem is indeed that your get/set methods do not conform to the JavaBean specification. Refer to the link Taras posted [1] and make sure you follow the conve

Re: [s2] file upload causing param problems

2007-01-31 Thread bob
Andrew, Well, thanks a lot. Adding the ActionContextCleanUp filter, as you recommend, fixed the problems; I no longer periodically lose all my parameters while using the file uploader. No doubt, I'm psyched. But I would certainly like to know more about why this all happens and, even more,

Re: how can you have multiple struts.xml configuration files ?

2007-01-31 Thread Dave Newton
> Just started with Struts 2.0. and I am trying to set > up multiple configuration files for action-mapping > (struts.xml) for each action class. > > how can we do this? Two ways are listed on the wiki: http://cwiki.apache.org/WW/can-we-break-up-a-large-strutsxml-file-into-smaller-pieces.html

Re: struts.xml error - Element type "constant" must be declared

2007-01-31 Thread Musachy Barroso
It was written using 2.0.3 :) musachy Don Brown wrote: I believe the tutorial requires at least Struts 2.0.3. Don On 1/31/07, shahab <[EMAIL PROTECTED]> wrote: Hi: I am using Struts 2.0.1. I have added few jar files from spring 2.0 as well. I am trying struts 2 + spring + JPA. Similar t

how can you have multiple struts.xml configuration files ?

2007-01-31 Thread Rohan Mehta
Hi, Just started with Struts 2.0. and I am trying to set up multiple configuration files for action-mapping (struts.xml) for each action class. how can we do this? Thanks, Rohan -- This message has been scanned for viruses and dangerous content and is believed to be clean.

Re: struts.xml error - Element type "constant" must be declared

2007-01-31 Thread Don Brown
I believe the tutorial requires at least Struts 2.0.3. Don On 1/31/07, shahab <[EMAIL PROTECTED]> wrote: Hi: I am using Struts 2.0.1. I have added few jar files from spring 2.0 as well. I am trying struts 2 + spring + JPA. Similar to the example located at http://cwiki.apache.org/S2WIKI/stru

Re: struts.xml error - Element type "constant" must be declared

2007-01-31 Thread shahab
Hi: I am using Struts 2.0.1. I have added few jar files from spring 2.0 as well. I am trying struts 2 + spring + JPA. Similar to the example located at http://cwiki.apache.org/S2WIKI/struts-2-spring-jpa-ajax.html thanx Shahab Joe Germuska wrote: > > On 1/31/07, shahab <[EMAIL PROTECTED]> wr

Re: struts.xml error - Element type "constant" must be declared

2007-01-31 Thread Joe Germuska
On 1/31/07, shahab <[EMAIL PROTECTED]> wrote: Hi: I think I would need some more help from you. I dont see any dtd or xsd file in my application. What else I should look for? It's probably in the JAR. Which version of Struts are you using? The change was introduced after Struts 2.0.1 Joe

Re: struts.xml error - Element type "constant" must be declared

2007-01-31 Thread shahab
Hi: I think I would need some more help from you. I dont see any dtd or xsd file in my application. What else I should look for? I also tried to download struts-2.0.dtd and asaved it under WEB-INF/lib. But that didnt help either. Please help. thanx Shahab Don Brown wrote: > > You have an

Re: newbie question...struts2, spring and jdbc

2007-01-31 Thread Joe Germuska
On 1/31/07, Cecilia Castillo <[EMAIL PROTECTED]> wrote: I am new to Struts, Struts2, and Spring. (And maybe know too much about jdbc.) I have written my application with Struts2 and am only using Spring to manage my database connections. I have defined my oracle database as a JNDI resource in

Re: Service unavailable error

2007-01-31 Thread Simons Kevin
On top of Don's reply I once had done the same mistake. I thought they told me that your version http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> so I think that struts-config_1_1.dtd "http://jakarta.apache.org/struts/dtds/struts-config-1.3.5.dtd";> Regards, - Original Message

Re: [s2] versions?

2007-01-31 Thread Ted Husted
So, far Struts 2.0.1 is the only milestone to be deemed at least a beta, and announced to the user list. There have been several other milestones, but we did not promote them to beta, for one reason or another. We're reviewing Struts 2.0.4 now, and it looks like it will be tagged at least a beta

Re: Using latest snapshots and getting a xwork error

2007-01-31 Thread Gonçalo Luiz
PROTECTED]> wrote: > Hello, > > After upgrading my lib directory to have the following jars: > > tiles-api-2.0-r488734-SNAPSHOT > tiles-core-2.0-r488734-SNAPSHOT > struts2-tiles-plugin-2.0.5-SNAPSHOT-20070131 > struts2-core-2.0.5-SNAPSHOT-20070131 > struts2-api-2.0.5-

Re: struts2 with beehive and jsf?

2007-01-31 Thread Simons Kevin
Don, Thx for the info. I will be checking with them then. Regards, - Original Message - From: "Don Brown" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 31, 2007 9:31 AM Subject: Re: struts2 with beehive and jsf? My guess would be no, as Beehive is pre

Re: [s2] file upload causing param problems

2007-01-31 Thread Andrew Stepanenko
Hello, I had the same problem with s2 some time ago. At that time I was using customized 2.0.2 SNAPSHOT. Check out this forum post at WebWork users forum: http://forums.opensymphony.com/thread.jspa?messageID=111939 After upgrading to 2.0.3 SVN snapshot and setting ActionContextCleanUp filter in

Re: newbie question...struts2, spring and jdbc

2007-01-31 Thread Pierre Thibaudeau
Cecilia, (I know nothing about Struts2, but I don't think that's essential to your query!) Every one of my Spring DAO beans contains a method along this one: public static ThingDAO getInstance() { return (ThingDAO) SpringConfig.getSpringContext ().getBean("ThingDAO"); } (The Strin

Re: [S2] User authentication best practice (2nd time...)

2007-01-31 Thread Joe Germuska
On 1/31/07, Sébastien LABEY <[EMAIL PROTECTED]> wrote: Hi all (sorry for the previous unterminated mail), I would like to know if S2 provides a solution to manage user authentication. In short, no. S2 has a RolesInterceptor which allows you to specify that users in certain roles are allowed

Re: struts.xml error - Element type "constant" must be declared

2007-01-31 Thread Don Brown
You have an old version of the DTD cached somewhere. We really should make a FAQ out of this :) Don On 1/31/07, shahab <[EMAIL PROTECTED]> wrote: Hi: I am getting the following error while accessing my web pages - SEVERE: Element type "constant" must be declared. at (null:7:60) org.xml.sax.

struts.xml error - Element type "constant" must be declared

2007-01-31 Thread shahab
Hi: I am getting the following error while accessing my web pages - SEVERE: Element type "constant" must be declared. at (null:7:60) org.xml.sax.SAXParseException: Element type "constant" must be declared. Below is my struts.xml - http://struts.apache.org/dtds/struts-2.0.dtd";>

Re: [S2] User authentication best practice (2nd time...)

2007-01-31 Thread Sébastien LABEY
Thanks for your answer. Maybe I'm not very clear (sorry for my english). Let's imagine the following request to access the page to update the user informations : /myApp/userPrepareUpdate.action?id=1234 Anyone can modify the request and change 1234 to any other id and so access to the informations

Re: Persistence

2007-01-31 Thread Pierre Thibaudeau
There is no persistence layer as part of Struts. For that, you must rely on an external package. That said, Struts integrates very well with Hibernate (or with Hibernate + Spring). 2007/1/31, jlp86 <[EMAIL PROTECTED]>: Hello all - I'm new to Java Web development/Struts, and was wondering if

RE: [S2] User authentication best practice (2nd time...)

2007-01-31 Thread Thorsten Schäfer
Hi, Why do you care about the information in the request? Typically, you have a login page and the corresponding action stores the user object into the session. In all subsequent requests, you can check the user object in the session to determine which user did log in. This works for S1, but I'd t

[S2] User authentication best practice (2nd time...)

2007-01-31 Thread Sébastien LABEY
Hi all (sorry for the previous unterminated mail), I would like to know if S2 provides a solution to manage user authentication. I also would like to know if someone could lead me to best practice for user creation / authentication to a web application. I'm worried about security after the user h

[S2] User authentication best practice

2007-01-31 Thread Sébastien LABEY
Hi all, I would like to know if S2 provides a solution to manage user authentication. I also would like to know if someone could lead me to best practice for user creation / authentication to a web application. I'm worried about security after the user has logged in, because of the parameters tha

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
hi Joe, Implementing the ResourceLoaderAware interface has solved my problem. many thanks! i havent tried to use ServletContextAware but I think it will work equally well. many thanks Jeff On 31 Jan 2007, at 16:38, Joe Germuska wrote: Jeff: I think there are a lot of possible routes,

Re: Using latest snapshots and getting a xwork error

2007-01-31 Thread Dariusz Wojtas
re-2.0-r488734-SNAPSHOT struts2-tiles-plugin-2.0.5-SNAPSHOT-20070131 struts2-core-2.0.5-SNAPSHOT-20070131 struts2-api-2.0.5-SNAPSHOT-20070131 I get the error I attached in the end of this message. I guess I need to upgrade the xwork jar as well, but I cannot find the latest snapshot (i'm us

Re: PlexusContainer - missing jar?

2007-01-31 Thread Don Brown
If you are using the plexus plugin, you'll need the plexus jar itself. It was listed in the plugin's pom, but optional, so I changed it to required. Now if using maven 2, it will be included automatically. Don On 1/31/07, bob <[EMAIL PROTECTED]> wrote: Well, I just took the plexus plugin out

Re: [s2] file upload causing param problems

2007-01-31 Thread bob
commons-lang-1.1.1.jar? Well, I've already got commons-lang-2.1.jar. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! - To unsubscribe, e-mail:

RE: PlexusContainer - missing jar?

2007-01-31 Thread bob
Well, I just took the plexus plugin out for now. And it works, but I would still like to know where the jar for the missing resource is, if anyone knows? --- On Wed 01/31, bob < [EMAIL PROTECTED] > wrote: From: bob [mailto: [EMAIL PROTECTED] To: user@struts.apache.org Date: Wed, 31 Jan 2007

Service unavailable error

2007-01-31 Thread Thom Burnett
When I deploy and go to my struts application I get the following error: Does the error indicate an error in my struts-config.xml file or in some file referenced by the struts-config.xml file? I'm trying to figure out how to hunt down and kill this error. ---

Persistence

2007-01-31 Thread jlp86
Hello all - I'm new to Java Web development/Struts, and was wondering if Struts provides its own persistence layerI see many people use Struts in conjunction with Hibernate, I wasn't sure if this was necessary or simply most convenient... Thank you! -- View this message in context: http://w

Re: No getter method for property

2007-01-31 Thread Taras Puchko
Maybe it depends on JVM implementation, try to run the following: public class Temp { private String abc; public String getAbc() { return abc; } public void setAbc(String abc) { this.abc = abc; } public String getAbc(int i) { return abc; } public void setAbc(int i, String abc) { this.abc =

PlexusContainer - missing jar?

2007-01-31 Thread bob
I'm getting the following class not found when starting up my web app. I tried to search the internet for the jar that has this class and couldnt' find nothing. Anybody know if I'm missing a jar, or something else. 10:08:09,806 ERROR [/webSite]:3638 - Exception starting filter struts2 java.l

Re: No getter method for property

2007-01-31 Thread Agustín
But currently my solution is running on a remote servernot is running on localhost. So I think it's possible to have the methods as I have them. Thanks. Agustín González García - Mantenimiento J2EE - Treelogic Tel: 985 73 27 32 Edificio Centroastur,

Re: Struts 1.3.5 and URL Validation

2007-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pushkar, [EMAIL PROTECTED] wrote: > Yes, I was expecting client-side validation to work for URLs. And ya, other > validations like "required", "email", "maxlength"..etc are working fine on > this form. There was a bug in URLValidator that made it fai

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
On 1/31/07, Tom Schneider <[EMAIL PROTECTED]> wrote: It would be very easy to create a Spring FactoryBean for this. In this case, couldn't one simply implement Spring's ServletContextAware interface? http://www.springframework.org/docs/api/org/springframework/web/context/ServletContextAware.

Re: [s2] Finding a URL of an Action within execute()

2007-01-31 Thread Eric Rank
Never mind, I found it. org.apache.struts2.views.util.UrlHelper E. One last question, where does the UrlHelper class come from? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
Jeff: I think there are a lot of possible routes, but I'm not sure I understand your goal. Could you just have your service implement ResourceLoaderAware? If your Spring ApplicationContext is a WebApplicationContext (as it would be if set up by ContextLoaderListener), then the ResourceLoader wo

Re: [s2] Finding a URL of an Action within execute()

2007-01-31 Thread Eric Rank
Mmmm, Injection. Magic indeed! That's the coolest thing I've seen all week. That does exactly what I want it to. One last question, where does the UrlHelper class come from? Eric Rank On Jan 30, 2007, at 9:36 PM, Tom Schneider wrote: Take a look at ServletActionRedirectResult, something l

RE: Issue with registering/lookup of converters in ConvertUtils

2007-01-31 Thread Thorsten Schäfer
Hi, > Is there a problem with the registering/lookup of multiple converters in > ConvertUtils on a single server instance? I think this is not possible. The converters are stored in a static hashmap, so all classes sharing a single classloader have to use the same converters. I consider this a bad

newbie question...struts2, spring and jdbc

2007-01-31 Thread Cecilia Castillo
I am new to Struts, Struts2, and Spring. (And maybe know too much about jdbc.) I have written my application with Struts2 and am only using Spring to manage my database connections. I have defined my oracle database as a JNDI resource in my Tomcat server.xml file. I have defined a dataSourc

Re: No getter method for property

2007-01-31 Thread Taras Puchko
You've got String getNombre() but it should return an array of Strings and setNombre(String) should accept an array to. Or you'll have to give different names to your properties: public String getNombre1(int i) public void setNombre1(int i, String nombre) public String getNombre2() public void s

Re: [ot] [s2] getting servletContext in actions

2007-01-31 Thread Tom Schneider
Jeffrey, You need to make sure your FactoryBean returns false for the isSingleton and you might want to add lazy-load as well. (I think singleton=false implies lazy load, but I'm not sure) Tom On 1/31/07, Jeffrey Hau <[EMAIL PROTECTED]> wrote: Hi Tom, I have tried your suggestion, my applicati

Re: No getter method for property

2007-01-31 Thread Agustín
I have got exactly this in the class: public String getNombre(int i) { return otrosSolicitantes[i].getNombre(); } public void setNombre(int i, String nombre) { otrosSolicitantes[i].setNombre(nombre); } public String getNombre() { return solicitantePrincipal.getNombre(); } public void setNom

Re: [OT] Re: No getter method for property

2007-01-31 Thread Agustín
I have got Oracle Application Server 10g Release 2 (10.1.2) on both servers, but I have got j2se 1.4.2_07 on local server (where the application not runs) and j2se 1.4.2_04 on remote server. Agustín González García - Mantenimiento J2EE - Treelogic Tel: 985 7

RE: [s2] multi part plugin

2007-01-31 Thread Dave Newton
--- "Hartrich, James CTR USTRANSCOM J6" > And the same thing I reported last month. Corrected > with a new FilterDispatcher class implementing Filter > & StrutsStatics. Yikes; I just fixed the XML file and re-jarred it! :) d. _

RE: [s2] multi part plugin

2007-01-31 Thread Hartrich, James CTR USTRANSCOM J6
And the same thing I reported last month. Corrected with a new FilterDispatcher class implementing Filter & StrutsStatics. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 7:40 PM To: Struts Users Mailing List Subject: Re: [s2] multi part plug

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
Hi Tom, I have tried your suggestion, my applicationContex.xml is now defined as, method="getServletContext"/> class="org.springframework.web.context.support.ServletContextResource">

Re: [s2] file upload causing param problems

2007-01-31 Thread Jia Guo
Yes, I have the same problem. I used multipart/form, and I have file element. It always happen when I post the data at first time, or after I refresh the page by clicking F5 or browser's Refresh button. And it might(not always) work correctly when I post it again. No matter I upload a file or not.

Issue with registering/lookup of converters in ConvertUtils

2007-01-31 Thread Nitin Paul Dsilva
Hi, Is there a problem with the registering/lookup of multiple converters in ConvertUtils on a single server instance? The issue I am facing is the interference of the converters registered by 2 users having different number formats on a single server instance. The number converter that is obt

Re: Wiki link?

2007-01-31 Thread Ted Husted
On 1/31/07, Rick Reumann <[EMAIL PROTECTED]> wrote: So at work here people are asking 'should I start using WebWork or Struts2?' What would you tell someone that asks you that question? Where would I send them to help them to understand the differences in choices? Do you see the confusion I'm po

Re: [s2] getting servletContext in actions

2007-01-31 Thread Tom Schneider
It would be very easy to create a Spring FactoryBean for this. (Checkout the Spring Documentation if that doesn't make sense) Then, to access the servlet context, just do a: ServletContext servletContext = ServletActionContext.getServletContext(); The FactoryBean would allow you to use depen

Re: Wiki link?

2007-01-31 Thread Rick Reumann
On 1/30/07, Ted Husted <[EMAIL PROTECTED]> wrote: > So someone tell me "Is Struts2 and WebWork the same product?" I sort > of try to follow things and I can't even tell any more what is going > on. I think the first page on both sites should be an FAQ. Since there hasn't been a GA release of St

Re: No getter method for property

2007-01-31 Thread Taras Puchko
Hi, I think Struts is confused to see a simple and an indexed property with the same name. If you have an indexed property, your methods should look like this: String getNombre(int) void setNombre(int, String) String[] getNombre() setNombre(String[]) See http://java.sun.com/docs/books/tutorial/

[OT] Re: No getter method for property

2007-01-31 Thread Dave Newton
--- Agustín <[EMAIL PROTECTED]> wrote: > If I only have two methods the application runs > perfectly: > > getNombre() > setNombre(String) That makes sense. > I don't know why the application runs on one server > (on localhost) and not runs on other server (on other > host). Are they the same se

Re: No getter method for property

2007-01-31 Thread Agustín
If I only have two methods the application runs perfectly: getNombre() setNombre(String) If I have four methods the applications not runs. getNombre() setNombre(String) getNombre(int) setNombre(int, String) I don't know why the application runs on one server (on localhost) and not runs on o

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
Hi Joe, Thanks for the helpful information. I am just wondering is it possible to get the ServletContext object in my spring applicationContext.xml? What i am trying to do now is to create a Resource object (ServletContextResource) and inject into a service class and then use this service

Validate multiple fields and show multiple messages

2007-01-31 Thread bjorn.de.bakker
Rather annoying problem, but I really don't know how to fix it. I have a form, with 3 fields on it. A field for UserName, one for E-mailaddress and a checkbox. The username can't be equal to a given value (let's say "testing") and if you check the checkbox, the e-mailaddress is required. I

Using latest snapshots and getting a xwork error

2007-01-31 Thread Gonçalo Luiz
Hello, After upgrading my lib directory to have the following jars: tiles-api-2.0-r488734-SNAPSHOT tiles-core-2.0-r488734-SNAPSHOT struts2-tiles-plugin-2.0.5-SNAPSHOT-20070131 struts2-core-2.0.5-SNAPSHOT-20070131 struts2-api-2.0.5-SNAPSHOT-20070131 I get the error I attached in the end of this

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
You need to make sure that your action is passing through an interceptor-stack that includes ServletConfigInterceptor http://struts.apache.org/2.x/core/apidocs/org/apache/struts2/interceptor/ServletConfigInterceptor.html The struts-default package does include this. http://struts.apache.org/2.

Re: No getter method for property

2007-01-31 Thread Dave Newton
--- Agustín <[EMAIL PROTECTED]> wrote: > I have the get and set method fot the property > nombre, but I have more than one method. I have: > > getNombre() > getNombre(int) > setNombre() > setNombre(int) I'm not sure that this is a legal JavaBean; does it work if you remove one set of accessors? (

Re: Wiki link?

2007-01-31 Thread Ted Husted
On 1/30/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Ted Husted <[EMAIL PROTECTED]> wrote: > Technically, all of the Struts 2 documentation is a > wiki, except for the first page. Anyone who files a > CLA with the ASF is welcome to contribute. I love Confluence and all its power, but it's frus

Re: [s2] getting servletContext in actions

2007-01-31 Thread Nagraj Rao
were u actually able to get the servletContext Object thru servletContextAware?? I'd tried it but couldn't get it :( do we need to do any additional stuff for that?? - Original Message - From: "Jeffrey Hau" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 3

[s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
Hi, If i need to get a servletContext object in my action class, is implementing the ServletContextAware interface the standard way of doing this? Is there any other alternatives? thanks, Jeff - To unsubscribe, e-mail: [EM

Re: No getter method for property

2007-01-31 Thread Agustín
Yes, I'm sure. When I deploy the application in other server the application runs perfectly, but when I deploy it in local I see this error. Agustín González García - Mantenimiento J2EE - Treelogic Tel: 985 73 27 32 Edificio Centroastur, 2ª planta Polígono S

R: No getter method for property

2007-01-31 Thread Marcello Savino
Are you sure the class containg the methods "getNombre" is istanziated ? Marcello -Messaggio originale- Da: Agustín [mailto:[EMAIL PROTECTED] Inviato: mercoledì 31 gennaio 2007 10.45 A: user@struts.apache.org Oggetto: No getter method for property Hello. I have a problem with Struts.

No getter method for property

2007-01-31 Thread Agustín
Hello. I have a problem with Struts. When I connect to application url I see the following message: "No getter method for property nombre of bean org.apache.struts.taglib.html.BEAN" I have the get and set method fot the property nombre, but I have more than one method. I have: getNombre() ge

Re: struts2 with beehive and jsf?

2007-01-31 Thread Don Brown
My guess would be no, as Beehive is pretty solidly built on Struts 1. I'd ask on their mailing what their plans are. Beehive was one of the initial contributors to Struts 2 (when it was Struts Ti), but they've been pretty quiet since. Don On 1/28/07, Simons Kevin <[EMAIL PROTECTED]> wrote: All

Re: S2 - Error when I use include in struts.xml

2007-01-31 Thread Don Brown
Sounds right. Package "B" could be put in file-C.xml, as long as it is file-A.xml that is importing it. Don On 1/29/07, Alexandre Mendonça Lima <[EMAIL PROTECTED]> wrote: Hello, In the struts2-showcase application, I see the includes in struts.xml working very well. Then, I gone to hack the s