> 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
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
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
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
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.
-
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
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
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]
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
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
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
>
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
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
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
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
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
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
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
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
.
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
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
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
22 matches
Mail list logo