Re: Struts1 to Struts2 Migration. Missing getOnsubmit() in FormTag

2021-12-11 Thread Lukasz Lenart
pt., 10 gru 2021 o 16:37 Krishnaraj Viswanathan napisał(a): > > Hi, > I am migrating a big project from Struts1 to Struts2. In our struts1 > project, we have extended and customised the > org.apache.struts.taglib.html.FormTag. > > Did some search and found that the > org.apache.

Struts1 to Struts2 Migration. Missing getOnsubmit() in FormTag

2021-12-10 Thread Krishnaraj Viswanathan
Hi, I am migrating a big project from Struts1 to Struts2. In our struts1 project, we have extended and customised the org.apache.struts.taglib.html.FormTag. Did some search and found that the org.apache.struts2.views.jsp.ui.FormTag is the equivalent in Struts2. My curr

Re: Struts2 Migration issue

2014-12-18 Thread Lukasz Lenart
2014-12-18 8:55 GMT+01:00 Arpan : > But this happens only when we remove the following ActionServlet entry from > web.xml file. > > uaconsole > > org.apache.struts.action.ActionServlet > > > config > /WEB-INF/struts-config.xml > > > 1 >

Re: Struts2 Migration issue

2014-12-18 Thread Sreekanth S. Nair
Hmmm, may be a stupid question have you remove servlet-mapping as well ? that error is very specific to jetty server, is it possible for you to run the same in tomcat ? -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation

Re: Struts2 Migration issue

2014-12-17 Thread Arpan
But this happens only when we remove the following ActionServlet entry from web.xml file. uaconsole org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml 1 With ActionServlet entry everything works fine. As we ar

Re: Struts2 Migration issue

2014-12-17 Thread Sreekanth S. Nair
As i said earlier you need to check your jetty server config.. http://wiki.eclipse.org/Jetty/Howto/Configure_JSP Hope you have tried what is on below link http://javaresolutions.blogspot.in/2014/04/pwc6345-there-is-error-in-invoking.html -- Thanks & Regards Sreekanth S Nair Java Developer

Re: Struts2 Migration issue

2014-12-17 Thread Arpan
Hi, I am starting jetty server through services panel only. Now I have narrowed down the problem. This problem comes when I have any .jsp file in web.xml, it shows that error. index.jsp index.html If I remove index.jsp file, no error appears. But while trying to access log

Re: Struts2 Migration issue

2014-12-14 Thread Sreekanth S. Nair
Hi Arpan I don't think its something do with struts, mostly some config problem with jetty server. Are you trying to start jetty server from eclipse ? if so can you try starting from terminal (command prompt). Or i would like to check this link http://javaresolutions.blogspot.in/2014/04/pwc6345-t

Re: Struts2 Migration issue

2014-12-14 Thread Arpan
Yes I cleaned and build multiple times. More over its not able to locate the .jsp files, which I had declared in web.xml file. Here is the complete stack trace: HTTP ERROR 404 Problem accessing /vipegconsole/common/error-exception.jsp. Reason: Not Found Caused by: org.apache.jasper.Jasper

Re: Struts2 Migration issue

2014-12-13 Thread Lukasz Lenart
Did you use clean action and then build to recompile all the JSPs? (on mobile) 13 gru 2014 10:53 "Arpan" napisał(a): > I am still getting the JasperException: PWC6345 exception after I delete > ActionServlet from my web.xml file. Now my web.xml file looks as bellow : > > > > Managed Authent

Re: Struts2 Migration issue

2014-12-13 Thread Arpan
I am still getting the JasperException: PWC6345 exception after I delete ActionServlet from my web.xml file. Now my web.xml file looks as bellow : Managed Authentication Console Managed Authentication administration web application. org.apache.tiles.impl.BasicTilesCo

Struts2 Migration issue

2014-12-11 Thread Arpan
Hi All, I am migrating from struts1 to struts2. After migrating many action classes and jsp files, in the web.xml If I remove the "ActionServlet" entry and url-mapping and trying to access the application I am getting bellow error. Am I missing something? Thanks for any help in advance. org.apa

Re: Struts1 to Struts2 Migration Support Query

2013-08-26 Thread Lukasz Lenart
Some people also setup two different applications (S1 and S2) and migrate step by step. 2013/8/15 : > Hi, > > Sincere Apologies for raising this issue with the entire team. I'm not aware > of the process and not sure if I am raising this in the correct forum. > > Our project is developed on Stru

Re: Struts1 to Struts2 Migration Support Query

2013-08-15 Thread Paul Benedict
The Struts 1 plugin supports S1 Action classes only -- there is no view support. The S1 tag libraries won't be functional so you should convert your pages to use S2 tags. On Thu, Aug 15, 2013 at 6:10 AM, wrote: > Hi, > > Sincere Apologies for raising this issue with the entire team. I'm not > a

Struts1 to Struts2 Migration Support Query

2013-08-15 Thread Vijayalayan.Selvaraj
Hi, Sincere Apologies for raising this issue with the entire team. I'm not aware of the process and not sure if I am raising this in the correct forum. Our project is developed on Struts 1.1 and has been running without any issues for the past 5-8 years. As per the recent announcement of EOL fo

Re: struts 1 to struts2 migration.

2013-08-08 Thread Sreekanth S. Nair
I'm sorry about that, in my migration i never tried to do patches on existing jsp but rewriting the whole jsp. Advise if you take more days but better do it gud migration ;) . And i guess ur problem can be solved by <% OgnlValueStack valStack = (OgnlValueStack)TagUtils.getStack(pageContext); BeanCl

Re: struts 1 to struts2 migration.

2013-08-08 Thread Arpan
Thanks Srikanth, But what about this problem : Such as In struts 1 JSP I have used In JSP scriplet there are many places we used <% String s = x.getName(); %> In struts 2 we can write Now how can I use the "x" object in scriplet. As there are many references of "x" already written, I don't wa

Re: struts 1 to struts2 migration.

2013-08-08 Thread Sreekanth S. Nair
Already suggested by Lukasz, i can see thats only possible way if you don't want to disturb the existing code much. But from my personal experience i can say customizing things will make more complicated when strust2 changes its internal. We were facing so many issues while we started migration. We

Re: struts 1 to struts2 migration.

2013-08-08 Thread Arpan
Hi Sreekanth, We are also planning to do this similar way. In the meanwhile do you have any suggestion or solution for the problems I mentioned. Thank you.. On Thu, Aug 8, 2013 at 11:30 AM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Hi Arpan, >We too did a st

Re: struts 1 to struts2 migration.

2013-08-07 Thread Sreekanth S. Nair
Hi Arpan, We too did a struts1 to strust2 migration in recent past, its not so easy to migrate as it is. Since Struts2 gives more importance to security nowadays its always advisable to learn the correct implementation from struts2 doc and migrate your struts1 actions one by one. Str

Re: struts 1 to struts2 migration.

2013-08-07 Thread Arpan
Thank you so much Lukasz.. While migrating I found few more problems. Such as In struts 1 JSP I have used In scriplet there are many places we used <% String s = x.getName(); %> In struts 2 we can write Now how can I use the "x" object in scriplet. As there are many references of "x" already w

Re: struts 1 to struts2 migration.

2013-08-07 Thread Lukasz Lenart
You can try to write your own ActionMapper which will extract request parameter "action" and base on that lookup for action. 2013/8/7 Arpan : > Anybody to help here... > > Thanks in Advance. > > > On Tue, Aug 6, 2013 at 7:43 PM, Arpan wrote: > >> Hi All, >> >> We are migrating from struts1 to str

Re: struts 1 to struts2 migration.

2013-08-07 Thread Arpan
Anybody to help here... Thanks in Advance. On Tue, Aug 6, 2013 at 7:43 PM, Arpan wrote: > Hi All, > > We are migrating from struts1 to struts2. > > In our pages we have multiple buttons which through struts1 DispatchAction > can be guided to different methods in Action class. For that we need

struts 1 to struts2 migration.

2013-08-06 Thread Arpan
Hi All, We are migrating from struts1 to struts2. In our pages we have multiple buttons which through struts1 DispatchAction can be guided to different methods in Action class. For that we need minimal changes. Such as In action mapping if we add parameter="action" and in JSP if the URL is like

Re: struts2 migration

2008-05-06 Thread Jeromy Evans
kal stevens wrote: We use EL/JSP in some of our pages, and I have been told by a coworker that after 2.0.9 EL is disabled. So moving would be difficult, unless there is some way to re-enable it? What is the standard way of referencing variables. EL expressions are disabled within the attri

Re: struts2 migration

2008-05-06 Thread kal stevens
We use EL/JSP in some of our pages, and I have been told by a coworker that after 2.0.9 EL is disabled. So moving would be difficult, unless there is some way to re-enable it? What is the standard way of referencing variables. My boss prefers that I not disable errors, is there a way to disable

Re: struts2 migration

2008-05-05 Thread Jeromy Evans
kal stevens wrote: My company has migrated from struts1 to struts2, and we have had a few continual problems that we can not figure out how to deal with. First when we redeploy our application we have to remove everything in the work/Catalina directory, or the application may not be redeployed c

struts2 migration

2008-05-05 Thread kal stevens
My company has migrated from struts1 to struts2, and we have had a few continual problems that we can not figure out how to deal with. First when we redeploy our application we have to remove everything in the work/Catalina directory, or the application may not be redeployed correctly. we have tr