cant we override the max size in the struts.properties file... i guess we
should be able to...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- Ladda Filer <[EMAIL PROTECTED]> wrote:
> 2. Can I implement an Interface and get rid of
> struts.xml and simular files?
http://cwiki.apache.org/WW/zero-configuration.html?
d.
Need Mail bonding?
Go to th
Good Evening All-
The scenario is Spring 1.x framework with normal complement of IOC bells and
whistles
A colleague removes the struts-plugin from his project and noticed he lost
capability for Action to reach context info from the webapp
Replacing the struts-plugin did work... thankfully
Is/Are
Hi,
1. Can someone explain to me the good use of "struts.configuration"
directive in struts.properties ?
2. Can I implement an Interface and get rid of struts.xml and simular files?
3. When I try to look for the default class
org.apache.struts2.config.DefaultConfiguration()
in the source tree
Hi,
I use the default FileUploadInterceptor in Struts2 to handle multipart
requests.
When an upload exceeds the defined value of struts.multipart.maxSize
I see this in my logs...
02:52:04,899 ERROR [MultiPartRequest]
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException:
th
Hi,
I'm using the Struts 2.0.5 and Tiles 2 on a Jboss 405GA with Java 1.6
When I use tiles result from an action class it works fine, but when I
don't want to use tiles (ie. a plain JSP page) I get a 404 File not
found. I think I am adressing the JSP page correctly.
result.jsp
tile
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Karsten,
Karsten Voges wrote:
> I do not know if there is such a possibility within struts, but you can
> restrict the access via your configuration of tomcat. There is a
> parameter for setting a max. connections.
Note that this is not a limit on th
--- Ian Roughley <[EMAIL PROTECTED]> wrote:
> > I'm not sure what you mean by that... it's just a
> > class; it happens to be compiled on-the-fly during
> > bean instantiation. Not much else is different.
> Yes, but it feels to me like you are reaching back
> into the business service tier to creat
I also personally think that defining actions in a
service tier doesn't "smell" right.
I'm not sure what you mean by that... it's just a
class; it happens to be compiled on-the-fly during
bean instantiation. Not much else is different.
Yes, but it feels to me like you are reaching bac
Start by trying the test case for the AnchorTag, pluging in your values and
see what is the URL that it generates.
musachy
On 2/16/07, Dave Newton <[EMAIL PROTECTED]> wrote:
Minor followup: I am now suspecting Weblogic 8.1(go freakin' figure;
this whole day has been Weblogic 8.1 BS) as it turn
Minor followup: I am now suspecting Weblogic 8.1(go freakin' figure;
this whole day has been Weblogic 8.1 BS) as it turns out I was deploying
my prototype on Tomcat 5.5...
When I copied my prototype directly into the app in which it was failing
it fails w/ the same error even though it wasn't dupl
> From: Musachy Barroso [mailto:[EMAIL PROTECTED]
> No idea. Are you using the latest from trunk? Yesterday I saw some
> URLTag tests failing, not sure if it is somehow related.
2.0.5 :/
I was going to wait for the 2.0.6 drop, but thought maybe since it works
w/o Tiles (and whatever else I've don
No idea. Are you using the latest from trunk? Yesterday I saw some URLTag
tests failing, not sure if it is somehow related.
musachy
On 2/16/07, Dave Newton <[EMAIL PROTECTED]> wrote:
Musachy say:
> Are you getting any kind of error? Enable the Dojo debug, setting
> debug="true" on the head tag
Is there a way to associate an ActionError or ActionMessage with a
named key in Struts 2?
In struts 1 we can add ActionErrors / Messages with a named key. The
lines of code below add a new error with the key "login" to the action:
ActionMessages errors = new ActionMessages();
errors.add("lo
How do you initialize values to use in a form?
I tried just initializing the value in the action and referencing it in the
form, but the value is not set.
In action:
private String test = "tesing";
in form:
execute() method is called for any action including DispatchAction.
DispatchAction.execute() calls your event handles, but you can
override it if you want.
I suggest using EventDispatchAction instead of DispatchAction. Also,
if you want to extend your own MyAncestor you can use EventDispatcher
cl
It looks like SystemUtil class is not available on the classpath.
Regards,
Nuwan.
- Original Message -
From: "manoj sinha" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 16, 2007 2:17 PM
Subject: Interceptor to Autheticate User
Hi,
Wiil appreciate if some one come with Solution!!
Musachy say:
> Are you getting any kind of error? Enable the Dojo debug, setting
> debug="true" on the head tag.
No errors.
The issue seems to be with the tag; it is quoting the correct
URL and appending it to the current page's URL.
http://localhost:7001/foo/curUrl%22/foo/rightUrl%22?dojoCach
Are you getting any kind of error? Enable the Dojo debug, setting
debug="true" on the head tag.
regards
musachy
Dave Newton wrote:
I created a quick prototype using plain old JSP pages
with some nested tabbedPanels, a div of which was
loaded via Ajax. That div contained an tag
that loaded ano
Hello!
I have got an application, where users are authenticated with ldap firstly.
Afterwards, there will be another database, which defines the roles, the user is
in. When the user is logged in, the roles are read from this table and should be
applied to struts, in order to use afterwards the t
Hi,
I have a custom class MyAction which extends a custom ancestor
MyAncestor.
MyAncestor class extended Struts Action. I would like to use
DispatchAction so my Ancestor extends now DispatchAction.
I would like to still use execute method to do some jobs. Is it possible
to use DispatchAction
What logic should be typically added into the CustomRequestProcessor?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Struts 1.3.x introduced the ComposaleRequestProcessor based on Commons
Chain - Post Back forms were only implemented as a Command used by the
ComposaleRequestProcessor and not in the original
RequestProcessor/TilesRequestProcessor flavours. You are specifying
using the TilesRequestProcessor in you
Hi All,
I'm having problems using Postback forms with my tiles configuration. I am
using the html-form.jsp from the examples as my postback form. This is working
fine when run from within the examples jar however it fail with the shown below
error when placed inside my own struts-config.
I hav
In the jsp im localizing using this...
I think you are right "getText" depends on ActionSupport but im not pass
throw an acttion.how could i do to get i18n work properly when i
call a jsp
throw an struts action that has no Action class itself
Regards,
juan
-Mensaje origin
I do not know if there is such a possibility within struts, but you can
restrict the access via your configuration of tomcat. There is a
parameter for setting a max. connections.
Or you solve it programmatically by saving a variable in you
servletContext increamenting after each login, but I am
hi,
My problem is that i want to restrict no of user to use application.
right now our application can be use by any no of user .i want to
restrict no of user for example if i want to restrict 50 user then 51st user
cant be able to use system.
Thanks and Regards
Ruchira
--
View th
27 matches
Mail list logo