Yep absolutely. Just my $.02. I used to use cookies all the time but found
they're more trouble than they are worth compared to the session. I only use
them now when they are the only good solution. :)
Regards,
Randy Burgess
Sr. Software Architect
D5 Systems, LLC
> From: Pierre Thibaudeau <[EMAI
I believe so.
Regards,
Randy Burgess
Sr. Software Architect
D5 Systems, LLC
> From: Dave Newton <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Sat, 9 Aug 2008 10:54:59 -0700 (PDT)
> To: Struts Users Mailing List
> Subject: [OT] Re: [S2] general question about cookies and nam
--- On Sat, 8/9/08, Lalchandra Rampersaud wrote:
> Thanks for the quick reply. Mapping is exacty the solution I need,
> but I don't know how to implement mapping in struts 2. It would be
> helpful if you can indicate where I can start looking.
The action configuration documentation [1] describe
In case anyone's interested, I solved the problem by making a small
compromise: that previewing a post (whether a new one or an edited one)
should require the same security authorization as posting one.
>From that point on, I can limit myself to two action mappings: dispatchPost,
editPost
Those
Hi Dave,
Thanks for the quick reply. Mapping is exacty the solution I need, but I don't
know how to implement mapping in struts 2.
It would be helpful if you can indicate where I can start looking.
Saludos
Lalchandra Rampersaud
Carpe diem
- Original Message -
From: "Dave
--- On Sat, 8/9/08, Lalchandra Rampersaud wrote:
> I am migrating an application from struts 1 to struts 2 but
> I cannot find a way to replicate the convenient
> LookupDispatchAction found in struts 1.
> I have many buttons that require a form submit require
> different functions, in struts 1 this
Hi,
I am migrating an application from struts 1 to struts 2 but I cannot find a way
to replicate the convenient LookupDispatchAction found in struts 1.
I have many buttons that require a form submit require different functions, in
struts 1 this is achieved using the key attribute in conjunction w
I am a little puzzled as to what my best option is for mapping and naming
actions in the following context.
I have a "posting" form (in JSP) which is used for any of the following:
* Posting a new comment
* Editing an existing comment
* Previewing a new comment
* Previewing a comment while it's be
2008/8/9 Randy Burgess <[EMAIL PROTECTED]>
> As long as you set the cookie path and stick to that path it
> doesn't matter where the user enters the site.
Well, not entirely, it seems to me. Say, for example, that I were to set
the path to "/something/very/complex/and/unwieldy", the browser wou
Thank you. I was wondering about CSS. I had not considered extending the
theme. That's a nice idea. :)
Digging into themes is something I should consider more often perhaps.
--
Michael Finney - "Always Striving To Serve You Better Every Day"
[EMAIL PROTECTED]
http://www.SmilingSoftwareSolut
You're welcome. As long as you set the cookie path and stick to that path it
doesn't matter where the user enters the site. I normally use either / or
/context for my cookies.
Regards,
Randy Burgess
Sr. Software Architect
D5 Systems, LLC
> From: Pierre Thibaudeau <[EMAIL PROTECTED]>
> Reply-To:
xwork2.0.5 is missing a patch for websphere users, use xwork2.0.6. I am also
using RAD 7.5 and Was 6.1.0.17 and EJB3 feature pack. When I upgraged to struts
2.0.12, I had problems in running my validations and some more issues, I
downgraded to 2.0.11.1 and everything is fine. However, the struts
>
> Isn't a path of "/" a "site-wide" cookie?
>
Thank you, Dave. I just tried that and path "/" behaves as site-wide. That
solves my issue!
--- On Sat, 8/9/08, Michael Finney <[EMAIL PROTECTED]> wrote:
> Using the simple theme, how do:
> o I get radio buttons in a group to be vertically listed?
You can play some CSS games, or extend/modify the theme and change the
template. (There are probably other options too, but those are p
Using the simple theme, how do:
o I get radio buttons in a group to be vertically listed?
Thanks,
Mike
--
Michael Finney - "Always Striving To Serve You Better Every Day"
[EMAIL PROTECTED]
http://www.SmilingSoftwareSolutions.com
-
--- On Sat, 8/9/08, Pierre Thibaudeau wrote:
> [...] I wish to remember the current surfing language of a user
> and set that in a cookie with path "/", who's to say that, on
> the next session that the user will start, she won't enter the site
> through a different logical path?
>
> Is there s
Thanks Randy. That confirms what I have been discovering since last night.
This is a little annoying given that there are some bits of information that
I would love to set for the entire site. For instance, if I wish to
remember the current surfing language of a user and set that in a cookie
wit
As it works with Firefox, I agree that is not Struts 2 issue, but some IE
issue. I just ask if anyone had similar problem?
--
Milan
newton.dave wrote:
>
> Our current applications all work correctly under IE7; I don't recall that
> we had to do anything in particular. In any case, I'm not sure
If the path is different then they are completely separate cookies. So you
could have a cookie named "fruit" and a path of "/root" with a value of
"apple". You could have another cookie named "fruit" but with a path of
"/root/anotherpath" and it has a value of "orange". If you don't set a path
for
Our current applications all work correctly under IE7; I don't recall that we
had to do anything in particular. In any case, I'm not sure how it would be a
Struts issue.
Dave
--- On Sat, 8/9/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
> From: Milan Milanovic <[EMAIL PROTECTED]>
> Subject: R
No one has this problem ?! I have this problem with IE 7 (default settings),
but not with Firefox 3. It is hard to force all users to user Firefox.
Simply, in IE when user log on and click second time on this link, Struts 2
action doesn't run, it just show resulting jsp from earlier call ?!
--
Re
http://www.mvnrepository.com/artifact/com.opensymphony/xwork/2.0.5
Scroll down page and see Source Control paragraph.
Use some svn client and checkout branch.
Using command mvn package you can compile and package the project.
Then use your new jar instead of official-released.
It helped for me
I'm using JBOSS-5.0.0.CR1, could you please explain in more details what I
should do?
On Fri, Aug 8, 2008 at 7:37 PM, holod <[EMAIL PROTECTED]> wrote:
>
> If you are using IBM WebSphere 6.x, that's ok.
> I've faced the same problem: http://jira.opensymphony.com/browse/XW-651
>
> So, I've simply c
hi
iam sending one example have a look at this
package com.kogent.action;
import com.opensymphony.xwork2.*;
import net.sf.jasperreports.engine.JasperCompileManager;
import java.text.*;
import java.sql.*;
import java.util.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.
24 matches
Mail list logo