There is no Action mapped for namespace / and action name SERVICOS/.

2010-07-09 Thread Gustavo Felisberto
that: There is no Action mapped for namespace / and action name SERVICOS/. How can I make it so that the requests with no file will get delivered to my code? Gustavo -- Gustavo Felisberto. WIT-Software S.A. Coimbra, Leiria, Lisboa, Porto (Portugal) San Jose (California) Phone

RE: Creating Sub-Domains from Struts 2 application

2010-06-29 Thread Gustavo Felisberto
Hello Amol, This does not seem to be 100% struts related. If you want gustavo.domain.com to exist you either have to create the sub-domain (and how you do that really depends on the DNS server being used) or you can have a record like: *.domain.com 192.168.1.1 In this case all requests will be se

Re: IMPORTANT Call action on application deploy, like servlet with load-on-startup (Struts 2)

2010-06-23 Thread Gustavo Felisberto
Create a servlet that makes a request to the action. Gustavo Felisberto On 23 de Jun de 2010, at 19:03, Oscar wrote: > Hi to all, i have the next situation: I need to call an action on > application startup like you can call a servlet on application startup > by setting parameter s

RE: Action result to go nowhere

2010-04-22 Thread Gustavo Felisberto
Hello. If you just follow a link mailto:sharma...@gmail.com] Enviada: quinta-feira, 22 de Abril de 2010 10:47 Para: Struts Users Mailing List Assunto: Re: Action result to go nowhere *I do not want to go to some result page * *On return INPUT** * *No result defined for action com.upasana.action.

RE: [Struts 2.1.8] s:url : how to open in a new window ?

2010-03-23 Thread Gustavo Felisberto
Hello, This is a JS thing. Try: onclick="javascript:window.open('%{genererRapportPDF}'); return false;" Gustavo -Mensagem original- De: Celinio Fernandes [mailto:cel...@yahoo.com] Enviada: terça-feira, 23 de Março de 2010 13:03 Para: Struts Users Mailing List Assunto: [Struts 2.1.8] s:u

RE: [S2] Error running under Weblogic 10.3.2.0

2010-03-18 Thread Gustavo Felisberto
iling List Assunto: Re: [S2] Error running under Weblogic 10.3.2.0 2010/3/18 Gustavo Felisberto : > I have very little experience with Weblogic. Do you know where do I need to > copy the unpacked WAR? I don't know, I'm using IntelliJ IDEA to deploy unpack version and it

RE: SQL Injection

2010-03-18 Thread Gustavo Felisberto
Hello, As far as I know there is nothing in struts to prevent SQL injection. And that should be done at the database level, so it is not related to Struts. Also there is no simple way of making parameters "sql injection safe". You can take a look at http://www.owasp.org/index.php/SQL_Injection_Pre

RE: [S2] Error running under Weblogic 10.3.2.0

2010-03-18 Thread Gustavo Felisberto
under Weblogic 10.3.2.0 2010/3/17 Gustavo Felisberto : > I did some more testing and this is getting really strange. I'm using > eclipse and when I export the project as a WAR file and place it inside the > autodeploy directory of a running weblogic domain it works fine. It just >

RE: [S2] Error running under Weblogic 10.3.2.0

2010-03-17 Thread Gustavo Felisberto
ideas? Gustavo -Mensagem original- De: Gustavo Felisberto [mailto:gustavo.felisbe...@wit-software.com] Enviada: terça-feira, 16 de Março de 2010 11:45 Para: 'Struts Users Mailing List' Assunto: [S2] Error running under Weblogic 10.3.2.0 I am trying to run a Struts 2 application (basi

[S2] Error running under Weblogic 10.3.2.0

2010-03-16 Thread Gustavo Felisberto
;9' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1268736734602> <16/Mar/2010 10H52m GMT> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1268736735510> -- Gustavo Felisberto. WIT-Software S.A. Coimbra (Portugal), San Jose (California) Phone: +351239801030 Web: <http://www.wit-software.com> http://www.wit-software.com

Re: How to remove layout of tags in form

2010-01-24 Thread Gustavo Felisberto
Add theme="simple" to the s:form tag. Sent from my iPhone On 2010/01/24, at 07:14, Vu Hong Thuan wrote: Hi all. I want to custom the layout of my form which use struts tags. I insertet html tags into form as the following code. But when I view the result final. All html tags is pulled out o

[S2] Iterate over sessions

2010-01-12 Thread Gustavo Felisberto
logout. So my question is how can I access all created sessions? -- Gustavo Felisberto. WIT-Software S.A. Coimbra (Portugal), San Jose (California) Phone: +351239801030 Web: <http://www.wit-software.com> http://www.wit-software.com

Questions about struts dev mode.

2009-12-14 Thread Gustavo Felisberto
run the code in the debugger I see some sort of error being generated, but nothing in the page. The other thing is that there is also no setName(String name) in the action. And I get no information about the missing setter. Am I missing something? -- Gustavo Felisberto. WIT-Software

RE: Catching: Unable to instantiate Action

2009-11-12 Thread Gustavo Felisberto
a.lang.Exception and mapping that should catch everything - yes? Regards > 2009/11/11 Gustavo Felisberto > > > I have a Project were we have in struts.xml: > > > > > > > > > > > >/WEB-INF/plugins/{1}/{2}.jsp > > > > &g

Catching: Unable to instantiate Action

2009-11-11 Thread Gustavo Felisberto
exists but the method does not the exception mapping works ok. Problem is if the Class does not exist. In that case I get a struts error page (if debug mod is on) or a tomcat error page. Any way to catch this exception? -- Gustavo Felisberto. WIT-Software, Lda Coimbra (Portugal), San Jose

Re: How to get subclass objects in an arraylist?

2009-04-22 Thread Gustavo Felisberto
ought the only way is to have an interceptor or i just read about type > converters.. using which i can determine the correct class before the objects > reach my action class.. > > --- On Wed, 22/4/09, Gustavo Felisberto > wrote: > > From: Gustavo Felisberto > Subject: Re

Re: How to get subclass objects in an arraylist?

2009-04-22 Thread Gustavo Felisberto
list = new ArrayList(); list.add(new Child()); list.get(0).getChildName(); It will not build, you have to cast the Object to the correct type: ((Child)list.get(0)).getChildName(); Same thing for jsp files. -- Gustavo Felisberto. WIT-Software, Lda Coimbra (Portugal), San Jose (California) Phon

Re: compatibility between struts and java versions

2008-12-11 Thread Gustavo Felisberto
ersion* 1.3.8 * of struts is working with this > version of java ? > And, if not, which struts version should I use ? > Thanks for the answers ! > > > Pierre BETZ > > -- Gustavo Felisberto. WIT-Software, Lda Coimbra (Portugal), San Jose (California) Phone: +3512

Re: File download problem in IE7 (struts 2) [SOLVED]

2008-06-05 Thread Gustavo Felisberto
2.0.11.1/docs/stream-result.html Gustavo Felisberto escreveu: Hello ALL, I'm generating an Excel file in runtime and sending it to the client.I'm using struts 2.0.11. In struts.xml I have: application/vnd.ms-excel excelInputStream filename="contacts.xls"

Using closable div in tabbedpanel

2008-04-10 Thread Gustavo Felisberto
sion *2.1* which has not been released yet." -- Gustavo Felisberto. WIT-Software, Lda Coimbra (Portugal), San Jose (California) Phone: +351239801030 Web: http://www.wit-software.com signature.asc Description: OpenPGP digital signature