Thanks a lot for all those replied by query.
The reason why I want to set saveDir in my Java code is that as a developer,
I would like to take everything under my own control but I suppose if the
default upload saveDir, without externally setting it in struts.xml, works
in all occasions, e.g.
Hi Wes,
Struts’ ajax file upload would be very interesting to me since I have
implemented jQuery (http://www.phpletter.com/Our-Projects/AjaxFileUpload/)
and Struts for ajax file upload in my application and had one or two
problem(s).
FYI: My use case is to upload a file, together with utf8
Hi All,
In my jsp code i had used s:file name=uploadFile label=File
size=20 onkeypress = killEvent(event)/ for file upload using IFrame.
Issue: While loading in IE browser, if i paste a file name in the
text field with wrong file path, it allows and script error occurs on form submit.
thanks a lot martin. That's an excellent help. i can not imagine something
more eloquent for this specific problem that i had. Thanks.
Just for quick review, if i am not using convention plugin at the moment. I
would be converting my action class from struts.xml as
action
Hi Everybody,
We are using struts2.1.6 and ajax in our application. In one of our screen
we have only 4 fields, in that one fields has ajax calling. so how can we
stop the user to submit that form upto the ajax response came.
Means upto that ajax repsonse reached in the screen, we need to
rajeevP wrote:
We are using struts2.1.6 and ajax in our application. In one of our screen
we have only 4 fields, in that one fields has ajax calling. so how can we
stop the user to submit that form upto the ajax response came.
Means upto that ajax repsonse reached in the screen, we need to
Really, I haven't gotten that far yet, I am only working to improve
the integration with Jakarta FileUpload. JFU is quite capable and
mature, but I figured the first step would be to expose more
functionality since there were a few JIRAs related to people asking
for more than what is currently
On Thu, Jun 4, 2009 at 7:52 AM, alee amin
mailing.list.mail...@gmail.com wrote:
[...]
*One question that i asked earlier, going to ask again here. *
integrating spring in struts through
Tahnks Dave
I am using the sx: div fucntionalities. in this how can we disable/enable
the submit button.?
Giving my JSP with this, if you can say how and where to do these things, it
will be very helpful.
%@ page contentType=text/html; charset=UTF-8%
%@ taglib prefix=s
Hi all.
i've a little problem.
I've a EJB inside my session, i take it from a jsp and print out some
values:
s:property value=#session.cart.currentMoney/
now, this value is a double. and struts print 2.0E09
how can i print 2.0. so the entire number without exponent?
thanks
--
Stefano
Ok Wes, I'll wait for your code to be ready. You guys hard work make us
developers' work easier. Many thanks for that! Qunhuan
-Original Message-
From: Wes Wannemacher [mailto:w...@wantii.com]
Sent: 04 June 2009 13:38
To: Struts Users Mailing List
Subject: Re: Ajax file upload + RE:
Hi Evans,
I'm facing problem to upload huge file like (size is
7mb,10mb). In your last thread
you have specified it will work in only small datas or files. I want to know
any other method
to solve in struts2 framework.
Disclaimer: This approach is limited to small files
So I have a Preparable action and in the Preparable method, I need
access to a parameter. Others have gone over my struts.xml and seem to
think that it is correct:
struts
constant name=struts.devMode value=true/
constant name=struts.configuration.xml.reload value=true/
constant
I'm assuming you are using the conventions plugin (since there is no
action definition). How are you making sure your
conventions-configured actions are in the stuff package? If this is
your configuration, in whole, then you need to add -
constant name=struts.convention.default.parent.package
Hi all.
i want to do a thing. When a user do the login (i've the login in the left
part of the web site, so in each pages the user can do the login) i want to
redirect he at the pages that was visit before the login.
how can i do that? (no JS)
--
Stefano
Hi all.
i've a little problem.
I've a EJB inside my session, i take it from a jsp and print out some
values:
s:property value=#session.cart.currentMoney/
now, this value is a double. and struts print 2.0E09
how can i print 2.0. so the entire number without exponent?
thanks
--
Stefano
Hello,
I want to create a portal with this functionalities, and I don't know if it is
possible to do it using Struts2 or what is better for it:
1) User preferences: every user can configure its window and maintain its
configuration after save preferences and log in again. The user can select
Half of this problem has been solved--the important half. During testing I
disabled security to verify that all of the Struts2 mappings worked, which they
did. When my war was deployed to WebSphere by our auto-deploy script it caused
the LDAP role mappings to be dropped, which is the reason
For the record, we have requested licenses for WebSphere because there
have been more than a few problems. I know Martin Cooper worked hard
to get us access to different versions of WebSphere in a way that kept
apache, us developers and struts safe while keeping IBM happy. I don't
think we were
I'm assuming you are using the conventions plugin (since there is no
action definition). How are you making sure your
conventions-configured actions are in the stuff package? If this is
your configuration, in whole, then you need to add -
constant
Wes,
Go ahead, stir the pot!!! WAS 6.1 is a total cluster. I would love to drop kick
it out of here.
By the way, my security problem really wasn't fixed. Here is how I fixed.
I gave the team the green light to start testing on DEV and they all said they
were getting 404 errors. I showed
On Thu, Jun 4, 2009 at 12:47 PM, Jim Collings jlistn...@gmail.com wrote:
[...]
constant name=struts.convention.default.parent.package value=something
/
[...]
OK, well it should have been:
struts
constant name=struts.devMode value=true/
constant name=struts.configuration.xml.reload
This is weird, as basic authentication works for me and I have got no problem
with it.
Anyways,Earlier today, I sent my Struts enterprise file to WAS Level 3 support
for testing [form based authentication] and I will keep you posted as soon as I
hear sth.
Hi Stefano,
add some kind of information about the page loging form is on, inside
the login form, then in login action resolve where to come back. It
can be also achieved by remebering the last request uri and params if
any. But there is no standard solution for this problem, as far as i
know. You
I'm not having any problem with 20mb files using Struts 2.1.6 and the
standard fileUpload interceptor.
From what I see, Sir Evans is warning you that loading the entire file into
memory may be a problem if your files are very large. Nowadays 10mb is not
really that large. If you want to put 10mb
You need to format the number how you would like it.
If you have a fixed format and don't have to worry about
internationalization then you could just add another method to your class
that returns it formatted the way you like i.e. getCurrentMoneyFormatted().
However if you need to
Good Afternoon Francisco
i have an opinion on the subject which i would be more than happy to share with
you
1) User preferences: every user can configure its window and
maintain its configuration after save preferences and log in again. The
user can select options from a list and position
The configuration constant I pointed to still isn't in there.
In the default stack, the params interceptor does not run before the
prepare interceptor. For instances where you need the params set
first, then the prepare interceptor fires afterwards, we created the
paramsPrepareParamsStack.
UDPATE: WebSphere 6.1.0.23 did indeed fix our basic auth issue with
Struts 2.1.6. It now successfully challenges the user if the try to
access a protected Struts action.
It did not fix the welcome file issue (using
welcome-fileindex.html/index). I think I will retest Wes's
suggestion to use
http://spdn.ifas.ufl.edu/docs/config/http.html
(int)The socket receive buffer (SO_RCVBUF) size in bytes. Default value
is 25188
socket.bufferPoolSize
(int)The NioChannel pool can also be size based, not used object based.
The size is calculated as follows:
NioChannel
Finally, the problem with form based authentication got resovled. However; here
is a summary of what happens that we get the error:
There is no Action mapped for namespace / and actionName j_security_check
With form-based authentication, Websphere authenticates a user by using URI
Did you get a chance to contact IBM to apprise them of this solution?
Félicitations sur ce travail le plus excellent
!
Martin
__
Note de déni et de confidentialité
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
I had a PMR open with IBM and L3 support pointed me to the right direction by
sifting through the logs.
--- On Fri, 6/5/09, Martin Gainty mgai...@hotmail.com wrote:
From: Martin Gainty mgai...@hotmail.com
Subject: RE: (PROBLEM SOLVED) WAS 6.1: There is no Action mapped for
namespace / and
Security Management wrote:
Using forms in the xhtml theme creates a 2 column table for *most* items.
The hidden item is not one of them, and gives html warnings for hidden
being inside of table instead of inside of a td.
It's an easy fix by putting the following hidden.ftl in the xhtml theme
Jim Collings wrote:
Hmmm, so it seems from testing that I've been doing that the constant
is mandatory in all cases where you want params set before Prepare is
called while using paramsPrepareParamsStack AND you are using the
Convention plugin. K, got it. I think this also might explain why I
Martin Gainty wrote:
if your OS and container supports sendfile you may want to enable sendfile for
static files
Isn't that for sending data to the client? IIRC they were talking about
uploads.
Dave
-
To unsubscribe,
Hi,
I have problem with this readInputStream method. I have checked in
(postgresql)database, which i
used column data type is bytea its default column size 1gb data. I will
explain my problem clearly,
Step1 :
I checked in java file itself,
public static void
37 matches
Mail list logo