Hi Vinod
Vinod Kumar ha scritto:
Hi Antonio,
Thanks for your response.
1. I am not using any filter and if i am not wrong,
then tomcat 3.3.2 does support filters since it
implements servlet 2.2 specs.
Uh, right! Well i cannot know everything :-)
I am not sure
if paramters from
Hi All,
I need to set html:link as a post method, caz I need to avoid the
parameter values to be
catched in the histories in case of the GET method request.
can anyone send me some suggestions.
Thanks,
Thanigai M.
This electronic mail message is intended solely for the named recipients
Hi All,
I'm already familiar with the basic process of using DynaForm with
String properties (to capture the HTTP request params) and then copying
the DynaForm values to a business object.
form-bean name=TestForm type=forms.TestForm
form-property name=firstName type=java.lang.String initial=/
maybe you can wrap your anchor in a Form and use the onclick event
handler to set the value and submit the form by post method, using
hidden attributes.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 October 2006 4:49 PM
To: user@struts.apache.org
Hi All
Some news from the JAVAWUG, UK.
Max Antoni's presentation on Object Oriented JavaScript and AJAX is
available now
http://video.google.com/videoplay?docid=379277225413483138hl=en
More details here and here
http://jroller.com/page/javawug?entry=bof_21_report
So you know when exactly 30 mins elapses? right.?
immedietly after this you can invalidate the session right?
Regards
PH
On 10/3/06, sowjanya chimmani [EMAIL PROTECTED] wrote:
Hi All,
In our webapplication (struts based) we are using Ajax code
(as part of header in all
Hello,
Forgive me for bringing up what seems to be a topic that's been discussed
here a lot: Issues with the back button.
I am using the token mechanism to prevent multiple form submits.
My jsp is invoked with a ForwardAction where I set the token.
The jsp submits to an action that checks if
It is not clear what you are asking. Is the problem that
- the session is not being maintained even when setting the timeout to
30 minutes
- even after 1/2 hour the session does not timeout
An observation, pinging the server every 10 seconds will create a
lot of unnecessary work on the server.
Hi All,
In my application in each request jsessionid is passed both in cookie as
well as in url. I have enabled the cookie then why it is appearing in the
URL also.
Regards,
Sunil
On 9/7/06, Antonio Petrelli [EMAIL PROTECTED] wrote:
sunil virmani ha scritto:
But Is there any way to hide
Hi All,
In my application in each request jsessionid is passed both in cookie as
well as in url. I have enabled the cookie then why it is appearing in the
URL also.
Regards,
Sunil
I'm just starting to learn struts.. have been doing JSP/servelts/tomcat
for about three years.. downloaded and am running successfully example
5 from this pg..
http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html
am using tomcat 5.5/jvm 1.4
this struts example (and all other
Hi thre,
I am trying to give you an example. Multibox basically fills in using a
string array. i am sure you are aware of that.
logic:iterate id=apprEntry name=listDevApprGrpList indexId=userIndex
html:multibox property=toBeAddedList
bean:write name=apprEntry property=userID/
http://www.junlu.com/msg/287317.html
As stated in above response to (your) similar question, the first
request that is returned will have jsessionid= appended. To get rid of
it you can try having the first page of the application be a dummy
page that merely redirects to the real page.
The
I have a filter and I'm trying to check a session value is set for security.
I'm putting my filter to the /admin/* url mapping.
My filter is getting hit but then if I try to do a redirect to a
struts action it seems like I get some kind of infinite filter loop
and is choking, I'm kind of new is
Sounds like you have the situation under control - you are probably
forwarding to an /admin/ action. As for the redirect, from a servlet
filter, a plain redirect is the best approach.
Don
On 10/4/06, Garner Shawn [EMAIL PROTECTED] wrote:
I have a filter and I'm trying to check a session value
Hi All,
I have included printable.jsp page in the
layout-tiles file. I have some jsp
variables (such as href, onchange etc see below in
file) in printable.jsp, which i want to
use inside tiles such as top.jsp, bottom.jsp but i
cannot use those variables as they are not
available. I get
How about basing the value of the tag on some computed value involving the
data in question (like adding up all the hashcodes and using that as the
token value). Then if the data changes, it's a different token?
(*Chris*)
On 10/4/06, pantichd [EMAIL PROTECTED] wrote:
Hello,
Forgive me for
If the user has a workflow that involves cycling back, give them a link
or button to cycle back with. If the users need to use the back button
as a regular part of their use of the application the application is
poorly designed.
Chris Pratt wrote:
How about basing the value of the tag on some
Normally, with filters you chain when you're finished, not redirect. The
only time you would redirect would be if the user wasn't logged in and you
wanted to redirect to your login page and then a plain ol' redirect should
work fine as long as you don't redirect to a page that's also under the
That's because it's a JSP include, not a tile. JSP knows nothing about the
tile scope and since the inclusion gets done by the JSP processor, not the
tiles plugin, the tile variables aren't available. Make that a tile instead
and you shouldn't have a problem.
(*Chris*)
On 10/4/06, Vinod Kumar
I don't know if I agree with your last statement. I often prefer to use the
back button rather than buttons that are on the screen right in front of my
face, so it's often much less about site design and more about user
preference. But not accounting for someone using the back button, that
Chris Pratt wrote:
How about basing the value of the tag on some computed value involving the
data in question (like adding up all the hashcodes and using that as the
token value). Then if the data changes, it's a different token?
(*Chris*)
Interesting! Hadn't thought of that. Have
Sorry, I haven't, it just seemed to make sense.
(*Chris*)
On 10/4/06, pantichd [EMAIL PROTECTED] wrote:
Chris Pratt wrote:
How about basing the value of the tag on some computed value involving
the
data in question (like adding up all the hashcodes and using that as the
token value).
Using the token does account for the user hitting the back button.
Having been building web apps for almost 10 years now, I'm very much of
the back button is evil school. If there's an element on the page that
allows going to the beginning of the workflow and token is used to
prevent
True, I definitely wouldn't use my suggested token trick in an eCommerce app
to allow resubmitting an order, unless you could back out the old order and
put this one in it's place (but even that would be risky). It might be
useful to determine if you should show the user a page asking if they
If they are tile scope variables, you either need to put
tiles:importAttribute/ at the top of the page to put them in page scope or
use the tiles tags to insert the values (like tiles:getAsString
name=href/)
(*Chris*)
On 10/4/06, Vinod Kumar [EMAIL PROTECTED] wrote:
Hi Chris,
I made the
Hello... trying to use Commons Validator 1.3.0 with Struts 1.2.9, seeing
the following error... anyone have any ideas? Everything seems fine until
the first check... config files follow trace. Thanks!
20061004-17:29:17,766 DEBUG [Servlet.Engine.Transports : 0]
(ModuleUtils.java:167) Get module
the following error... anyone have any ideas? Everything seems fine until
the first check... config files follow trace. Thanks!
20061004-17:29:17,766 DEBUG [Servlet.Engine.Transports : 0]
(ModuleUtils.java:167) Get module name for path
/testView/testValidation.do
20061004-17:29:17,766 DEBUG
On 10/4/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Hello... trying to use Commons Validator 1.3.0 with Struts 1.2.9, seeing
the following error... anyone have any ideas? Everything seems fine until
the first check... config files follow trace. Thanks!
In the config files you posted, the
Hello,
Sorry for what is surely a FAQ from a struts newbie...
I'm trying to make a complex object available to my JSP so that
code in the JSP can access subobjects within the original object (it's
an Amazon Item object generated with XMLBeans). What is the right way
to make such an object
Then you should be able to go to the outermost tile and use
tiles:importAttribute scope=request/ after you've imported the tiles
taglib and all the tile variables to be available to the jsp and jstl tags.
(*Chris*)
On 10/4/06, Vinod Kumar [EMAIL PROTECTED] wrote:
Hi Chris,
Thanks for your
Is it possible to define an ArrayList of DynaValidatorForm for working
with indexed properties?
Or can I construct a DynaForm class in my action class to add it to the
Parent DynaForm array?
**
This message is intended for
Maybe rather than having a dynaForm with a single array I should be
changing my form properties from String to String[]. If I do that am I
still moving into the area of indexedPropoerties? I thought I had read
about problems with validator and simple arrays? Any suggestions would
be helpful
I have a Struts action which extracts field values from the request object
and then uses these values to set the name of a file which the application
reads from. The code responsible for forming the file name currently
resides in the action. Is this the best place to put it? This code cannot
That doesn't sound too egregiously wrong to me... generally speaking,
the code in a Struts Action should basically fall in one of two
categories (or both): flow control and/or data marshalling. Some also
say validation should go in the Actions, but I'm going to put that
debate aside for the
how about use of MappingDispatchAction ?
On 10/3/06, Don Brown [EMAIL PROTECTED] wrote:
If you want to call a different method on an action, use the method
attribute:
s:submit action=myAction method=update/
Don
On 10/3/06, Garner Shawn [EMAIL PROTECTED] wrote:
I'm trying to calldefferent
If you don't need session management, use the JSP page directive to turn
off sessions -- at least until the user logs in, if you have that kind
of website. The jsessionid is only for a stateful application, so if you
don't need sessions, get rid of them. That will solve your problem.
Paul
Ed
39 matches
Mail list logo