Re: java.lang.InstantiationException: org.apache.struts.action.ActionForm

2008-05-01 Thread Sandy143
Yes ... I have replaced with normal href ... I am able to view Login.jsp. But when I click on submit ...it throws me out. Please let me know at your earliest possible newton.dave wrote: > > --- Sandy143 <[EMAIL PROTECTED]> wrote: >> Let me be clear then ... >> &

Re: java.lang.InstantiationException: org.apache.struts.action.ActionForm

2008-04-30 Thread Sandy143
Let me be clear then ... I am trying to migrate from struts1.2 to struts2. I did all the required configuration. I could get the login page. LoginActionForm is extending ValidatorActionForm. I defined an interceptor for it in struts.xml. Validation is form based. BUT when I enter username and

Re: migration from struts 1 to 2

2008-04-30 Thread Sandy143
inAction /Login.jsp Sandy143 wrote: > > Hello ... > > I have started to migrate from S1 to S2 using the plugin link. > > I have a login page. I am able to start the app with no errors and see

Re: migration from struts 1 to 2

2008-04-30 Thread Sandy143
Hello ... I have started to migrate from S1 to S2 using the plugin link. I have a login page. I am able to start the app with no errors and see the login page. The configuration I have done in struts.xml is being uploaded. When I enter username and password and click on submit I get this error

Re: java.lang.InstantiationException: org.apache.struts.action.ActionForm

2008-04-30 Thread Sandy143
Sorry ... This error is produced when I enter something in jsp and click on a button ... Thanks, Sandy Sandy143 wrote: > > Hi, > > Now I am migrating from struts1 to struts2. > > In struts1 I have a homeAction which extends dispatchAction and it uses > homeActionForm. &

Re: java.lang.InstantiationException: org.apache.struts.action.ActionForm

2008-04-30 Thread Sandy143
com.XXX.XXX.homeAction /home.jsp Laurie Harper wrote: > > Sandy143 wrote: >> Hello Everyone : >> >> [Servlet Error]-[org.apache.struts.action.ActionForm]: >> java.lang.InstantiationException: org.apache.struts.action.Acti

java.lang.InstantiationException: org.apache.struts.action.ActionForm

2008-04-30 Thread Sandy143
Hello Everyone : [Servlet Error]-[org.apache.struts.action.ActionForm]: java.lang.InstantiationException: org.apache.struts.action.ActionForm I get this error when I try to migrate from Struts 1.2.8 to Struts2. I have validations to the form. I am using interceptors for the same. Please let me

Re: Struts1 and Struts2 in the same app

2008-04-30 Thread Sandy143
Hi, How would I define a dispatch action in struts1 ... in struts.xml while migrating? newton.dave wrote: > > --- Sandy143 <[EMAIL PROTECTED]> wrote: >> With this we will not have ... struts1 config file right >> >> struts-config.xml would be completely m

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Sandy143
"If you're not using the plugin, then you configure S1 and S2 completely separately from each other." Can I do this if I want to use both S1 and S2 in the same web app (single web.xml)? newton.dave wrote: > > --- Sandy143 <[EMAIL PROTECTED]> wrote: >> With

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Sandy143
With this we will not have ... struts1 config file right struts-config.xml would be completely modified to struts.xml. Am I on the right path? Thanks, newton.dave wrote: > > --- Sandy143 <[EMAIL PROTECTED]> wrote: >> It is a single application. >> >>

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread Sandy143
appreciated. newton.dave wrote: > > --- Sandy143 <[EMAIL PROTECTED]> wrote: >> Am I wrong? Please let me know ...how to use both the config files. > > An included file within struts.xml is expected to be an S2 config, AFAIK. > > Were there any error messages in

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread Sandy143
Even if I don't include ... it is the same. It doesnot invoke struts2 action class. newton.dave wrote: > > You're including the S1 configuration file in the S2 config file? > > Dave > > --- Sandy143 <[EMAIL PROTECTED]> wrot

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread Sandy143
7;re including the S1 configuration file in the S2 config file? > > Dave > > --- Sandy143 <[EMAIL PROTECTED]> wrote: > >> >> In struts.xml, I have >> >> - >> >> >> ---

Re: migration from struts 1 to 2

2008-04-28 Thread Sandy143
? I have struts-config.xml and struts.xml. What would be the controller in this case? Please let me know ... Thanks, Sanday Alberto A. Flores wrote: > > Yes it is! > > Sandy143 wrote: >> Hello, >> >> Can't we have the existing struts1 actions and struts2 ac

Re: migration from struts 1 to 2

2008-04-28 Thread Sandy143
Hello, Can't we have the existing struts1 actions and struts2 actions in the same application? I want to retain my existing web app which is using struts 1.2.8 and tiles 1.1 The new module in the same webapp, I would like to develop using struts2 . Please let me know if this is something that

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread Sandy143
I had a similar problem, where I found the struts.xml for struts 2 wasn't > picking the correct xml) > And by java source folder - do you mean WEB-INF/classes/ ? > > > Sandy143 wrote: >> >> I have to integrate struts 2 actions in my existing struts 1.2 web >&

Struts1 and Struts2 in the same app

2008-04-24 Thread Sandy143
I have to integrate struts 2 actions in my existing struts 1.2 web application. My login page is using struts 1.2 action. Upon login, I come to home page. there is a link on home page. when I click on that link, I need to go to another jsp page. The later action has to be in struts 2. I

Re: Struts1/Tiles and Struts2/tiles in same app

2008-04-24 Thread Sandy143
Hello, I have to integrate struts 2 actions in my existing struts 1.2 web application. My login page is using struts 1.2 action. Upon login, I come to home page. there is a link on home page. when I click on that link, I need to go to another jsp page. The later action has to be in struts 2.