General Question About Creating Projects

2009-10-23 Thread Thomas Sattler
Greetings. I am the developer of the "Struts2Builder" project. In the Struts2Builder documentation, I tell people to create projects using the "struts2-archetype-starter" Maven archetype. I have found this to be a solid, reliable method of initially creating Struts2 projects. However, I have no

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dimitrios Christodoulakis
Thanks! Everyone's suggestions are correct. The versions provided by godaddy are: ROOT/usr/java/jdk1.5.0_17, and ROOT/usr/java/tomcat-5.5 Currently in dev I am using later versions for both. Wes, I think you are right, I'd need to at least match at those versions mentioned above on my local develo

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Balwinder Kumar
This is probably due to the fact that the version of Java useed in deployment environment is lower than the version of Java used for compiling Hibernate classes. Dimitrios Christodoulakis wrote: It seems that indeed the filters are not starting properly: The catalina.out log indicates the fol

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Wes Wannemacher
The error indicates that you compiled for a jvm newer than the tomcat runtime. For instance you compiled with 1.6 and you are trying to run on 1.5. Stick to tomcat 5.5 if that is what godaddy provides. The tomcat version doesn't indicate its newness as much as it indicates which servlet / jsp spec

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dave Newton
Dimitrios Christodoulakis wrote: It seems that indeed the filters are not starting properly: The catalina.out log indicates the following: 00:45:40,018 ERROR [/myapp]:3639 - Exception starting filter struts2 java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.C

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dimitrios Christodoulakis
It seems that indeed the filters are not starting properly: The catalina.out log indicates the following: 00:45:40,018 ERROR [/myapp]:3639 - Exception starting filter struts2 java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Meth

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dimitrios Christodoulakis
Thanks for the input. I'll test it locally under 5.5. and will dig deeper in the logs and see what I can find. I will let you know. Appreciate the insight. On Sun, Jun 21, 2009 at 11:00 AM, Wes Wannemacher wrote: > I'm with dave. Check the logs, in particular, look for messages about > whether

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Wes Wannemacher
I'm with dave. Check the logs, in particular, look for messages about whether or not the filter started properly. Also check the httpd configuration. There are a few ways to integrate httpd and tomcat. Many people will use mod_jk but lately I am in favor of having tomcat listen on localhost and hav

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dave Newton
Dimitrios Christodoulakis wrote: I am having some issues deploying a struts2 application at godaddy and was wondering if anyone has dealt with something similar in the past. The application runs fine on my local machine with tomcat 6.0. My next step was to upload and deploy at godaddy dedicated s

deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dimitrios Christodoulakis
. Their customer service basically can help only if we buy their "assisted" plan. I'd like to start by asking this as a general question, and find out if anyone had similar issues and how they resolved it. Is it a prticular setting on the dedicated server that might help perhaps?

Re: [S2] general question about cookies and namespace

2008-08-09 Thread Randy Burgess
ibaudeau <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Sat, 9 Aug 2008 16:19:08 -0400 > To: Struts Users Mailing List > Subject: Re: [S2] general question about cookies and namespace > > 2008/8/9 Randy Burgess <[EMAIL PROTECTED]> > >> As lo

Re: [OT] Re: [S2] general question about cookies and namespace

2008-08-09 Thread Randy Burgess
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 quest

Re: [S2] general question about cookies and namespace

2008-08-09 Thread Pierre Thibaudeau
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

Re: [S2] general question about cookies and namespace

2008-08-09 Thread Randy Burgess
TED]> > Reply-To: Struts Users Mailing List > Date: Sat, 9 Aug 2008 13:37:35 -0400 > To: Struts Users Mailing List > Subject: Re: [S2] general question about cookies and namespace > > Thanks Randy. That confirms what I have been discovering since last night. > > Thi

Re: [OT] Re: [S2] general question about cookies and namespace

2008-08-09 Thread Pierre Thibaudeau
> > 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!

[OT] Re: [S2] general question about cookies and namespace

2008-08-09 Thread Dave Newton
--- 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

Re: [S2] general question about cookies and namespace

2008-08-09 Thread Pierre Thibaudeau
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

Re: [S2] general question about cookies and namespace

2008-08-09 Thread Randy Burgess
truts Users Mailing List > Date: Sat, 9 Aug 2008 00:16:11 -0400 > To: Struts Users Mailing List > Subject: [S2] general question about cookies and namespace > > Struts: 2.1.2 > browser: Firefox 3.0, with Firebug add-on > > Strange phenomenon involving cookies. I don't

Re: [S2] general question about cookies and namespace

2008-08-08 Thread Pierre Thibaudeau
I just tested my theory about namespaces: If I change the namespace of the login action to "/" rather than "/users", the auto-login interceptor (called by an action from the "/" namespace) reads it back without any problem. Is that Firefox being too strict (or is it "by the book" according to coo

[S2] general question about cookies and namespace

2008-08-08 Thread Pierre Thibaudeau
Struts: 2.1.2 browser: Firefox 3.0, with Firebug add-on Strange phenomenon involving cookies. I don't know who to blame: my code, Struts or Firefox... I am running a copy of my application locally on my own local Tomcat server (on localhost). After several operations on the webapplication (amo

General question

2007-02-06 Thread pasha
When expect final release Struts 2.0 -- View this message in context: http://www.nabble.com/General-question-tf3179272.html#a8821997 Sent from the Struts - User mailing list archive at Nabble.com.

Re: General question

2007-02-03 Thread Mauricio Garavaglia
-Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 12:52 PM To: user@struts.apache.org Subject: General question I have a struts based J2ee app which displays data from DB in the results.jsp page. For DB data access, I use a DAO which retu

Re: General question

2007-02-01 Thread Dale Newfield
Maya menon wrote: My question is: if users try to open another window and do simultaneous tasks, how can I avoid same user from working in two or more different windows in a Struts based j2ee application ? If your worry is that someone might submit changes to an object that has changed since

[OT] Re: General question

2007-02-01 Thread Dave Newton
--- Maya menon <[EMAIL PROTECTED]> wrote: > Yes I had the variable initially set in session. > Then when I did Cntrl+N[open new window] from the > existing browser window, I see the same result in > the second window. If you open a new window in IE it will take the parameters from the current wi

RE: General question

2007-02-01 Thread Maya menon
r, allowing only one instance of the user to operate the app. -Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 12:52 PM To: user@struts.apache.org Subject: General question I have a struts based J2ee app which displays data from DB in the res

Re: General question

2007-02-01 Thread Maya menon
Dave, Thanks for the reply. Yes I had the variable initially set in session. Then when I did Cntrl+N[open new window] from the existing browser window, I see the same result in the second window. Even when I set it in request object and do[open new window] the same result is being

RE: General question

2007-02-01 Thread Hartrich, James CTR USTRANSCOM J6
AIL PROTECTED] Sent: Thursday, February 01, 2007 12:52 PM To: user@struts.apache.org Subject: General question I have a struts based J2ee app which displays data from DB in the results.jsp page. For DB data access, I use a DAO which returns a serialized object. This serialized object, I set it to

Re: General question

2007-02-01 Thread Dave Newton
--- Maya menon <[EMAIL PROTECTED]> wrote: > My question is: if users try to open another > window and do simultaneous tasks, how can I avoid > same user from working in two or more different > windows in a Struts based j2ee application ? I don't know as you can (easily), but your scenario doesn

General question

2007-02-01 Thread Maya menon
I have a struts based J2ee app which displays data from DB in the results.jsp page. For DB data access, I use a DAO which returns a serialized object. This serialized object, I set it to request object using setAttribute and retrieve it using tag i n jsp page. My question is: if users tr

Re: Exception - General Question

2005-06-30 Thread BHansard
06/30/2005 08:29 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject Re: Exception - General Question Thanks for replying! And what baout the validate() method in struts form? Is it still return ActionErrors or Ac

Re: Exception - General Question

2005-06-30 Thread Martin Gainty
AM cc Subject Please respond to Exception - General Question "Struts Users Mailing List" <[EMAIL PROTECTED]

Re: Exception - General Question

2005-06-30 Thread Gaet
- From: [EMAIL PROTECTED] To: Struts Users Mailing List Cc: Mailing List Struts Sent: Thursday, June 30, 2005 2:16 PM Subject: Re: Exception - General Question In 1.2.7 you simply change the ActionErrors to ActionMessages. you still save the errors with the saveErrors method and it

Re: Exception - General Question

2005-06-30 Thread BHansard
se respond to "Struts Users Mailing List" To "Mailing List Struts" cc Subject Exception - General Question Hi everybody, Up to now, I was handling my exceptions in my Action class as follow : ---

Exception - General Question

2005-06-30 Thread Gaet
Hi everybody, Up to now, I was handling my exceptions in my Action class as follow : ActionErrors errors = new ActionErrors(); try{ .. .. } catch (Exception e) { //Put pr

Re: General Question in JSP

2004-10-26 Thread Dakota Jack
gt; -- C.A.R. Hoare > > > >-Original Message- > >From: Michael G. McGrady [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, October 27, 2004 11:33 AM > >To: Struts Users Mailing List > >Subject: Re: General

Re: General Question in JSP

2004-10-26 Thread dmu2201
: Wednesday, October 27, 2004 11:33 AM To: Struts Users Mailing List Subject: Re: General Question in JSP If you call a function inside another function and there is not decoupling and multithreading involved, then, of course, all things being equal, the first function cannot continue until the second

Re: General Question in JSP

2004-10-26 Thread Jack
Message- > From: Michael G. McGrady [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 11:33 AM > To: Struts Users Mailing List > Subject: Re: General Question in JSP > > If you call a function inside another function and there is not decoupling > and multithrea

RE: General Question in JSP

2004-10-26 Thread Rajesh
: Wednesday, October 27, 2004 11:33 AM To: Struts Users Mailing List Subject: Re: General Question in JSP If you call a function inside another function and there is not decoupling and multithreading involved, then, of course, all things being equal, the first function cannot continue until the second

RE: General Question in JSP

2004-10-26 Thread Rajesh
: Wednesday, October 27, 2004 11:33 AM To: Struts Users Mailing List Subject: Re: General Question in JSP If you call a function inside another function and there is not decoupling and multithreading involved, then, of course, all things being equal, the first function cannot continue until the second

Re: General Question in JSP

2004-10-26 Thread Michael G. McGrady
If you call a function inside another function and there is not decoupling and multithreading involved, then, of course, all things being equal, the first function cannot continue until the second completes. Is that an answer to your question? crack On Wed, 27 Oct 2004 11:13:08 +0530, Rajesh <[

General Question in JSP

2004-10-26 Thread Rajesh
Hai all in Web prgramming (Struts,JSP,Servlet) if i call a static function say in a package Commons class having a static functioin closeConnection(Connection con); which will globally closses any connection object which is passed inside it. if i call this package class to all db calls in m

General Question in JSP

2004-10-26 Thread Rajesh
Hai all in Web prgramming (Struts,JSP,Servlet) if i call a static function say in a package Commons class having a static functioin closeConnection(Connection con); which will globally closses any connection object which is passed inside it. if i call this package class to all db calls in m