Re: Adding interceptors through annotations

2008-06-16 Thread Ramon
> quote me on that; I'm woefully behind, but I know it has been > discussed.) > > One typical solution is to define a package's interceptors via XML then > use the @ParentPackage annotation to configure your actions. > > Dave > > --- On Sun, 6/15/08, Ram

Re: Adding interceptors through annotations

2008-06-15 Thread Ramon
Uff I wrote it so badly, Summary: Does anyone know how to add interceptors to an Action defined with annotations (without definitiion in an xml file)??? 2008/6/15 Ramon <[EMAIL PROTECTED]>: > Hi, > > I'm starting with a little project to test new features in struts

Adding interceptors through annotations

2008-06-15 Thread Ramon
Hi, I'm starting with a little project to test new features in struts2. I'm trying both ways (xml configuration and annotations) but I don't know how to define interceptors for an action which is defined with interceptors. for a example my action looks like this: @Results({ @Result(value="/j

Problem with s:action

2007-07-04 Thread Ramon Andrade
Hy guys, I`m trying use the tag . The param 'name' of this tag contains the name of a action that I create. The result of this action redirect to a jsp that contains a combobox populated with a iterator. The problem is that, when the first page is loaded the content of the jsp that is loaded by

Re: Validator does not validate!

2007-07-03 Thread Ramon Xuriguera i Albareda
I don't know exactly what the problem was. After spending lots of hours in front of the computer it worked! I think the problem had something to do with what you say or, probably with the exception I define in the action mapping. Anyway, thanks. -

Format values in MessageResources

2007-07-03 Thread Ramon Xuriguera i Albareda
Hi, I've just noticed that it's possible to format args in a MessageResources' key (see http://www.jguru.com/faq/view.jsp?EID=915891). I'm trying to do the following: In MessageResources.properties label.mean=Nota mitjana: {0,number} Then, in my JSP: I get this error: 14:52:58,546-ERROR org.ap

Re: Validator does not validate!

2007-06-30 Thread Ramon Xuriguera i Albareda
Thanks but, it doesn't work either... Any other ideas? 2007/6/30, Dave Newton <[EMAIL PROTECTED]>: Subclassing ValidationActionForm means that the form "name" attribute in validation.xml would be the action path, not the bean name. You want ValidationForm if you want the validation form name to

Validator does not validate!

2007-06-29 Thread Ramon Xuriguera i Albareda
said before, the application does not crash, but it redirects to success page even if some fields' values are not correct. For example: In this case, although 'subjectId' is required, you can leave it empty. Thanks, Ramon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Switching between HTTP and HTTPS

2004-09-15 Thread Jose Ramon Diaz
You can try this: http://sslext.sourceforge.net/ regards Jose R. > -Mensaje original- > De: Emmanouil Batsis [mailto:[EMAIL PROTECTED] > Enviado el: miércoles, 15 de septiembre de 2004 11:57 > Para: Struts Users Mailing List > Asunto: Re: Switching between HTTP and HTT

RE: Memory Problem

2004-07-16 Thread Jose Ramon Diaz
Hi. This is a very common problem, I think. And I?m quite sure Struts is not the problem. Probably, the best option is to use a profiler. We use JProbe and it was very useful for us when our application had the same problems. Regards > -Mensaje original- > De: Shailender Jain [mailto:[EM

RE: Sharing session beetwen HTTP and HTTPS

2004-06-21 Thread Jose Ramon Diaz
gt; Para: Struts Users Mailing List; [EMAIL PROTECTED] > Asunto: RE: Sharing session beetwen HTTP and HTTPS > > > SSLExt: http://sslext.sourceforge.net > > -Original Message- > From: Jose Ramon Diaz [mailto:[EMAIL PROTECTED] > Sent: Friday, June 18, 2004 2:33 AM >

Sharing session beetwen HTTP and HTTPS

2004-06-17 Thread Jose Ramon Diaz
Hi all, We are triying to switch application state from HTTPS to HTTP. We want to use SSL connection only for login page. We execute a redirect if the user comes from SSL connection to the HTTP action without SSL. But the session is lost. We are using Oracle 9iAS, and we ha

RE: caching data in application server and EJB usage

2004-06-07 Thread Jose Ramon Diaz
And why don´t you cache it in Oracle? Isn´t it enough? > -Mensaje original- > De: Zhang, Larry (L.) [mailto:[EMAIL PROTECTED] > Enviado el: lunes, 07 de junio de 2004 15:54 > Para: Struts Users Mailing List > Asunto: caching data in application server and EJB usage > > > I have a Oracle ta

RE: URL regd Servlet filter

2004-06-04 Thread Jose Ramon Diaz
you give an outline of the typeof problem you faced? "Jose Ramon Diaz" <[EMAIL PROTECTED]> 06/04/2004 02:05 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To"'Struts Users Mailing List'" <[EMAIL PROTECTED]>, <[EMA

RE: URL regd Servlet filter

2004-06-04 Thread Jose Ramon Diaz
Don?t you have problem with filters if the actions forward to JSP? At least, I have a lot of problem with compression filters, as the container seems to use another request for the JSP. regards > -Mensaje original- > De: Prashanth.S [mailto:[EMAIL PROTECTED] > Enviado el: viernes, 04 de j

Filters and forwards...

2004-06-03 Thread Jose Ramon Diaz
Hi all, I am trying to wrap the HttpServletResponse to apply gzip compression on data sent to the client when gzip is supported. I'm using a filter,wrapper and custom ServletOutputStream based on published code. It seems to work except when I chain actions. If I call one action which exec

RE: Session size

2004-05-27 Thread Jose Ramon Diaz
We use this approach : As our application is very heavy loaded data (?) (a lot of screens have alot of data, recordsets or huge texts), the Actions do NOT take the data itself to put it nor session neither request. The actions just modify the model to represent the new situation after a user subm

RE: Struts modules question

2004-05-26 Thread Jose Ramon Diaz
Hi, we have an application with four modules. We have defined four struts-config: struts-config-module1.xml struts-config-module2.xml struts-config-module3.xml struts-config-module4.xml This allows us to separate application logic in more little applications, as the whole struts-config would be o

RE: How long are your struts-config files? Should I worry about performance?

2004-05-26 Thread Jose Ramon Diaz
Hi, We have 4 struts-config in our application as we have modules, and they are 19,35,4,41 Kb each. We have never had problems with struts performance at all, so I think the size file is not too much important. Regards Jose R. Díaz > -Mensaje original- > De: No

RE: TokenProcesor and synchronization

2004-04-02 Thread Jose Ramon Diaz
. Regards Jose R. > It might be a silly question... but curiosity... > > Why we need to synchronize at all? Each user session will be > unique in the server and so the extracted variables from that session. > > KP > > -Original Message- > From: Jos

RE: TokenProcesor and synchronization

2004-04-01 Thread Jose Ramon Diaz
Struts Users Mailing List > Asunto: RE: TokenProcesor and synchronization > > > I read this, but isn't the action used by many different > people and not just one? Seems like the wrong approach, but > I may be missing something. > > sandeep > > -Origin

TokenProcesor and synchronization

2004-04-01 Thread Jose Ramon Diaz
Hello, I have an interesting problem. We need to avoid duplicate form submission as the load in server may be heavy. I´ve read http://www.javaworld.com/javatips/jw-javatip136_p.html and the API of TokenProcessor. I think I know the way of achieving that the last HTTP POST of the us