Migrating to Struts v1.3.10

Hello All,
We are migrating Struts v1.3.8 to Struts v1.3.10.
Can any body tell me if there is any issue(s) that we can face after migrating to Struts v1.3.10 from Struts v1.3.8?
Thanks & Kind Regards,
NI

this is not the way to go.
I perhaps could tell you the issues. I would say there are none. Am I right? How can you know?
Are you really going to trust what people say here or are you going to do some research yourself and get more reliable results that can actually help your company?

Similar Messages

  • Migrating struts application from 10.1.2 to 10.1.3.1

    I've tried migrating my struts application from using JDev 10.1.2 to 10.1.3.1. When I try to open up the struts-config.xml file, I get a Java runtime exception error. I am using JDK 5.0.60.5. I'm not sure how to fix this....
    Message
    BME-99004: A Java runtime exception has occurred.
    Cause
    This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.ClassCastException: oracle.adfdt.controller.struts.diagram.db.shape.StrutsDataActionNode
         at oracle.adfdt.controller.struts.diagram.shape.StrutsPageLink.connect(StrutsPageLink.java:79)
         at oracle.bm.diagrammer.shape.BaseDiagramEdge.validate(BaseDiagramEdge.java:3176)
         at oracle.bm.diagrammer.registry.RBaseShape.validate(RBaseShape.java:788)
         at oracle.bm.diagrammer.BaseDiagram.validateOnLoad(BaseDiagram.java:6436)
         at oracle.bm.persist.diagram.impl.BaseDiagramReader.loadDiagram(BaseDiagramReader.java:141)
         at oracle.bm.diagrammer.BaseDiagram.loadDiagram(BaseDiagram.java:1381)
         at oracle.adfdt.controller.diagram.PageFlowDiagram.loadDiagram(PageFlowDiagram.java:108)
         at oracle.bm.addinUtil.IDEAppContext.buildDiagram(IDEAppContext.java:2269)
         at oracle.bm.addinUtil.DiagAppPanel.buildDiagram(DiagAppPanel.java:50)
         at oracle.bm.addinUtil.IDEAppContext.openLoad(IDEAppContext.java:3735)
         at oracle.bm.addinUtil.IDEAppContext.open(IDEAppContext.java:3368)
         at oracle.adfdt.controller.diagram.PageFlowEditor.open(PageFlowEditor.java:82)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
         at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
         at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    ________________________________________________________________________________

    Yes, but the application under 10.1.3 points to the application.jws file in the old 10.1.2 directory.
    I want the application to point to the .jws file JDeveloperApplication/<application>/<application>.jws.
    10.1.3 keeps this pointer somewhere and would like to change it. I scanned the jdev directory for files containing <application>.jws, and found it in the binary file jdev/system/oracle.jdeveloper.10.1.3.36.73/system.sys file, and the ide.properties file, and the system/oracle.ide.10.1.3.26.73/windowinglayout.xml file.
    None of these files seem to be the place to make the adjustments.
    I guess the more general question for me is "How should JDeveloper be configured to allow for migration of applications? (It does not seem to be a no-brainer!) How should it be configured when additional libraries have been included in the list libraries of prior JDeveloper version and need to be migrated/duplicated to a new version of JDeveloper? How are connections supposed to be migrated (for database, cvs, application servers)? How should JDeveloper be configured for team use? (Each member of a team should maintain identical JDeveloper configurations. Yes?)"
    But, first things, first. How do I point a JDeveloper application to a different .jws and application directory?

  • Error in migrating a Spring/Struts-App from Tomcat to WebAS

    I tried migrating a Struts/Spring-App (war) which is running smoothly in Tomcat to WebAS.
    Deploying is no problem and the plain JSPs work fine. But the 'real' app is not running and throws the following error at startup:
    24 Mai 2006 09:07:13,593 - ActionServlet.initServlet(1149) | The /WEB-INF/web.xml was not found.
    org.xml.sax.SAXParseException: Dokumentwurzelelement fehlt
         at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
         at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:668)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
         at org.apache.commons.digester.Digester.parse(Digester.java:1567)
         at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1142)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:328)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:134)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:376)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Any help much appreciated!

    hi istvan,
    we are also migrating from websphere to netweaver.
    But in spring framework we r facing problems.
    We hav spring-beans.jar file in lib dir of Web Application. But When we are creating BeanFactory from xml as,
    BeanFactory beanFactory = new ClassPathXmlApplicationContext ("client-config.xml");
    clent-config.xml file contains :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
         <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" >
              <property name="location">
                   <value>conf/service-client/client.properties</value>
              </property>
         </bean></beans>
    But code is giving exception: ClassNotFoundException -org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.
    Wat is the problem ?
    Kindly help.
    We are also using JAAS for authentication.We are refering above code from our LoginModules login() method.
    Regards,
    sagar.

  • Migrate from JSF to Struts?

    Hi
    I have seen some threads in this form regarding migration from Struts to JSF. Most of the posters back then (1999-2003) suggested starting with Struts and then migrating to JSF for production.
    Now I have one year of experience with Struts in a Tomcat environment and practically no experience with JSF. My current job involves maintaining JSF code. The boss thinks migrating to Struts would make us independent of the company to whom the JSF project was outsourced.
    I would like to know your opinion on migrating from JSF to Struts. How hard is it? Our architecture has Views, View Helpers, Business Context objects, Business Delegate objects, Business Processor objects, DAO (DB2, AS/400), DTO, etc. They seem rich enough semantically when compared with Struts that groups all these under MVC, even though they are complex to manage (job security :).
    I'd appreciate your feedback.
    Thanks
    Murthy

    To quote Ron Burdundy, "That doesn't even make any sense!" :) Seriously, though (and I admit a huge bias), that seems like a huge step backward. It seems the logic is this: "We outsourced the development of this system to someone else, and now we're left either maintaining it ourselves or paying them to do it, but, if we rewrite it with $FRAMEWORK, we'll be free of them." Is that right? How is maintaining a Struts app different (frameworks aside) from maintaining a JSF app? This is probably obvious, but that's a step I would neither take nor suggest. :)

  • Problem with struts-faces.jar

    hi,
    My requirement is to migrate a struts application to jsf.
    I am using the struts-faces.jar and doing all the configurations as mentioned.I am getting the following error while calling the application itself..
    java.lang.ClassNotFoundException: org.apache.struts.faces.taglib.LifecycleListener
    I am using the following version:
    1)Tried both struts-faces-0.4 and 0.3(downloaded from http://archive.apache.org/dist/struts/struts-faces/)
    2)Tomcat 5.0
    3)jsf-(SUN)
    4)struts 1.1
    Please let me know if i am doing something wrong. and any ways to fix this.
    Regards,
    Mythili

    Given the new release of the JSF ri and api .jar
    files,
    will this .jar provided at the apache site work?
    http://archive.apache.org/dist/jakarta/struts/old/relea
    e/struts-faces/
    No, those JARs only work with the EA versions of JavaServer Faces.
    A nightly build of the struts-faces integration library, that works with the beta release, is available at:
    http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/
    and the corresponding source code is part of the Struts nightly build bundles in:
    http://cvs.apache.org/builds/jakarta-struts/nightly/src/
    in directory "contrib/struts-faces".
    This package is not yet ready to be released, but seems to work for me in all the cases where the old library worked before. (If you're migrating, note particularly some tweaks you need to add in the struts-config.xml file for the new version, documented in README.txt.) Work continues on the Tiles integration which feedback has indicated is really important to people.
    Developers who are building new components and renderers will be quite interested in the techniques used to make all the attributes of your own components value-binding-enalbled (like all the ones on the standard tags are). The source code for the <s:form> tag, plus the corresponding component and renderer, will be helpful in illustrating this.
    Craig McClanahan

  • Migration from Tomcat6 to JBoss4

    can anybody hep me in migrating a struts application from tomcat to jboss4.

    I am deploying a struts web application developed in Tomcat6.0 and eclipse IDE into JBoss4.
    Folder structure of my project....
    MyWebApplication (my project name)
    |-----src (all my class files)
    |-----webroot
    |------all my JSPs
    |------META-INF
    | |---------- context.xml (my jndi connection pool)
    |------WEB-INF
    |--------- web.xml (all my servlets, etc...)
    my application is working fine with tomcat.
    now i am deploying this proj into JBoss4.0 and not getting the DataBase Connection(Oracle 10g).
    can u please give any suggestions on where should i specify all my DB connections and what my folder structure should be in JBoss. i am giving the error console below.
    17:11:49,644 ERROR [STDERR] javax.naming.NameNotFoundException: oradb_jndi_web not bound
    17:11:49,675 ERROR [STDERR]      at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
    17:11:49,675 ERROR [STDERR]      at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
    17:11:49,675 ERROR [STDERR]      at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
    17:11:49,675 ERROR [STDERR]      at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
    17:11:49,675 ERROR [STDERR]      at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
    17:11:49,675 ERROR [STDERR]      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
    17:11:49,675 ERROR [STDERR]      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716)
    17:11:49,675 ERROR [STDERR]      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
    17:11:49,675 ERROR [STDERR]      at javax.naming.InitialContext.lookup(InitialContext.java:351)
    17:11:49,675 ERROR [STDERR]      at db.dbconn.DBConnPool.<clinit>(DBConnPool.java:24)
    17:11:49,675 ERROR [STDERR]      at police.bhadrata.LoginAction.execute(LoginAction.java:102)
    17:11:49,675 ERROR [STDERR]      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    17:11:49,675 ERROR [STDERR]      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    17:11:49,675 ERROR [STDERR]      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    17:11:49,675 ERROR [STDERR]      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    17:11:49,675 ERROR [STDERR]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    17:11:49,675 ERROR [STDERR]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    17:11:49,675 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    17:11:49,675 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    17:11:49,675 ERROR [STDERR]      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    17:11:49,675 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    17:11:49,675 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    17:11:49,675 ERROR [STDERR]      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    17:11:49,675 ERROR [STDERR]      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    17:11:49,675 ERROR [STDERR]      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
    17:11:49,675 ERROR [STDERR]      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
    17:11:49,675 ERROR [STDERR]      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    17:11:49,675 ERROR [STDERR]      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    17:11:49,675 ERROR [STDERR]      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    17:11:49,675 ERROR [STDERR]      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    17:11:49,675 ERROR [STDERR]      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    17:11:49,675 ERROR [STDERR]      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    17:11:49,675 ERROR [STDERR]      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    17:11:49,675 ERROR [STDERR]      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    17:11:49,675 ERROR [STDERR]      at java.lang.Thread.run(Thread.java:595)
    thanks for ur reply and please help me out asap.

  • Struts-faces LifeCycle

    I am studying Struts-Faces to conclude how we can use Struts-faces to prepare the migration from struts to JSF. When a request is sent by user, is it handle by ActionServlet or Faces servlet or another servlet ? I am trying to constitute the LifeCycle for an application done by Struts-faces.
    Can anyone help me ?
    Thanks.

    when you say " the requests will be handled by the
    JavaServer Faces controller servlet " you want mean
    that any http request will first be handled by
    "javax.faces.webapp.FacesServlet" anf after will be
    redirected depending on the type of request (struts or
    JSF) ? Technically, it's not a redirect, or even a forward ... in struts-faces the default ActionListener supplied by JavaServer Faces is replaced by one that invokes the Struts request processor if this is a form submit.
    who invoke the "FacesRequestProcessor" ? what is the
    role of this class ? it is invoked by ActionServlet
    instead of RequestProcessor ?
    In the current struts-faces code, ActionServlet does not ever process any requests, but you still need it to set up the overall environment, which is done in it's init() method.
    As I said before I try to constitute the life cycle of
    Struts-faces application, What I have understand of
    you answer is that the Http request is handle by a
    front controller ( Web Container ?????) and then
    redirected to :
    ---Lifecycle of JSF if it is an immediate action, or
    we are NOT nested in a Struts form
    -- FacesRequestProcessor if wa are processing a form
    submit.
    Yes, but the JavaServer Faces runtime still handles all incoming requests (unless you are intermixing non-Faces-based use of Struts in the same webapp) -- it just calls the FacesRequestProcessor when appropriate.
    I read the article of IBM "integrating Struts, Tiles
    and JavaServerFaces and I don 't understand clearly
    how we use the class "FormComponent" and "FormRag".
    Can you give me more explanation please ?
    Thanks Craig .I can't speak for the authors of that article, or what they did to integrate Tiles support into the EA4 release of struts-faces. I can tell you that such measures will not be needed when the version of struts-faces compatible with the final version of JavaServer Faces 1.0. Until then, you are looking at code that is bleeding edge, not released, not documented, and not thoroughly tested. When released, it will be documented and tested.
    Craig

  • JSF vs Struts - both with tiles

    I'm running in the problem migrating from Struts to JSF.
    In struts I have the following fragments:
    jsp (actualy in the resulting html):
    log4j
    struts-config:
    <forward name="log4j-page" path="doc.log4j"/>
    tiles-config:
    <definition name="doc.log4j" extends="doc.mainLayout">
    <put name="body" value="/WEB-INF/html/examples/log4j.jsp" />
    </definition>
    As a result this links the anchor on jsp page to my 'mainLayout' with 'body' replaced with ...log4j.jsp.
    I found no way to replicate this link in JSF.
    I tried <h:commandLink...> with a certain action. It seems that in faces-config fragment: <to-view-id>foo</to-view-id> JSF framework is always looking for foo.jsp.
    I'm wondering if there is any way of pointing in the faces-config to the definition name in tiles-config.

    Hello,
    There are differences between the two and some similarity. A couple of major differences I have noticed is that in using JSF you have much better control over user events and page response to user actions. The reason why is because JSF uses an event-driven model (e.g., you can write ActionListeners, EventHandlers, and event Dispatchers) to respond to any user activity on the page. Also JSF tags are far more programmer-friendly (in my opinion) than Struts. Another thing I would keep in mind (especially if you are a programmer) is that Craig Mc C. was the developer of both (with help from others); How often have you said to yourself after completing a project "given what I know now, If I started over from scratch I would make it so much better by doing... instead of ..."? Having used Struts for both large and small projects in the past, I really see JSF as a "simpler, leaner, smarter, more intuitive Struts than Struts". I think its much easier to learn and maintain than Struts (of course that depends on your coding style), and here is a key point: JSF will soon have visual drag and drop coding editors that both IBM and Sun will provide, and hopefully an open source version will appear as well. Visual design and development is not for everyone but it certainly has its place (in my opinion).
    I suggest you try create a simple app that includes all of the usual form components (checkboxes, lists, radiobuttons, textareas, submit buttons, etc. though not necessarily all on one page) using JSF and then Struts (or vise versa) then you can have a feel for how simple or complex it is using either for the usual web UI development assignment.
    Cheer,
    KamauObasi

  • Portlet Migration from Jetspeed to Oracle AS Portal

    Hi,
    I need to migrate a struts based JSR 168 compliant portlet application which is currently running on Jetspeed portal to Oracle AS Portal 10.1.3. Is this possible?? If Yes then Can somebody help me to figure out the steps required for this?? and How should i proceed with this.
    Thanks in Advance

    Hi,
    You can directly consume the WSDL of the provider (running custom struts application on JSR-168) into Portal 10.1.4, that is register the provider WSDL in Oracle Portal.
    More details is explained in Portal Dev guide http://download-west.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_java_intro.htm#CHDGAFAB
    Section 6.4.2.4 Registering and Viewing Your Portlet
    I hope it helps...
    Regards,
    Pramod

  • Webflow vs. struts

    Hi,
    I am using portal 4.0 .
    I am evaluating whether I can use struts frame work for "page navigation" rather
    than "portal webflow". I would like to know how can I design a struts adapter
    which will work with weblogic portal 4.0.
    Any insight is helpful.
    Thanks,
    Gita

    Hi Subbu,
    as I mentioned before, am am aware of the other versions and
    yes, I know about the 81 struts support :-)
    But we are politically sticked to 4.0... So again, if somebody
    has successfully wrapped struts into an older Portal version, any
    guideline would be helpful.
    Thanks,
    Joerg.
    Hi Joerg,
    FYI, in case you've not already checked out, WLP8.1 supports
    struts apps as is without migration. This support is available as
    an add-on to WLP8.1 from dev2dev. With this approach, you
    can continue to use struts for page navigation, but use WLP for
    portlet aggregation.
    Subbu
    Joerg Schmidt wrote:
    Hi Raphaël,
    I am not sure if you got into contact with Anju, but
    nevertheless your adapter is exactly what I was looking
    for.
    We are migrating a Struts-based application to WLP 4.0
    (yes, i know there is 7.0 and 8.1, but we have political
    issues here :-) and in order to keep the migration time
    as low as possible, the question of wrapping Struts into
    Portlets came up.
    The high level architecture in your ppt was pretty
    straightforeward, so i would like to ask if you could
    provide me with some examples for the components
    you developed, like the struts-redirect-servlet and the
    portlet which does the replacing of the html-part?
    We have not started our development yet, so a short
    code-insight to get some feeling for the amount of
    work necessary would be great!
    Thank you!
    Joerg Schmidt
    ([email protected])
    Hi anju,
    I developed such an adapter to wrap your struts-based
    application into a portlet without needing to use webflow
    mechanism. Please see the attached file that explains
    the philosophy.
    I f you are interested to go further in in that direction, just tell
    me. I will be happy to share technical details with others.
    reagrds,
    raphaël faudou

  • How do you move from struts 1.1 to struts 1.3

    how can I migrate from struts 1.1 to struts 1.3 with out affecting the existing app...

    You sync them all via iTunes on your computer.

  • Struts logic:foward in JSF

    Hi Everybody,
    I'm trying to migrate a struts application to JSF.
    My index.jsp has the following struts tag.
    <logic:forward name="display"/>
    The action code behind the foward, does some validation before the right page is display to the user.
    Is there a way to achieve the same functionality in JSF.
    Thanks in advance for your help.
    Vikas
    Message was edited by:
    vikasphonsa

    Thanks guys!
    the simple solution is what you said:
    in JSF page, binding rendered to a propertity in the bean. on the bean create the property - method to have the logic to return true or false. Do you think if it is a better solution than using jstl -- I dont know too much JSTL - I am more service side developer such as proxy service, application server to host tcp connection from clients...

  • Struts Validator for Struts 1.2

    Dear all,
    I have migrated to Struts 1.2 and observed the problem with action form validation. What is strange is that every thing seems working. But if you look at the log file, you can realise that the validation did not work and there are the following exceptions. Moreover, the exception did not stop the program to continue (this gives the wrong impression that every thing working).
    Best regards,
    Pengyou
    11:31:53,463 ERROR [ValidatorForm] org.apache.struts.util.StrutsValidator
    org.apache.commons.validator.ValidatorException: org.apache.struts.util.StrutsValidator
         at org.apache.commons.validator.ValidatorAction.loadValidationClass(ValidatorAction.java:646)
         at org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:555)

    well, the only way this can be happening is if you have your ActionMessages object in request with errors in it. This sounds like something strange is happening in your LoaderAction class for that JSP. Sounds like you are executing the validate method when you are loading this page. Check your loaderAction class to ensure you are not validating upon load. You should be validating upon post. Remember, when loading, unless your loaderAction class has prepopulated some attributes on your form bean, everything is null in request. Therefore, you validate to ensure that certain fields are not null, the errors will be caught and shown on the page.

  • Struts-faces library: provided struts/tiles example doesn't work?!

    Dear all,
    I�ve been trying to migrate my struts-tiles application to JavaServer Faces using the struts-faces library. I downloaded the latest nightly build, but I was unable to deploy and run the second example (the one using tiles) on Tomcat 5.0.28.
         At first, the <h:commandLink> components for the �Register� and �Login� links on the first page (loggedoff.jsp) wouldn�t work, probably because they should have been replaced by <s:commandLink>. So I fixed that, but then I get an inexplicable http 404 error: �Invalid path /layout was requested� when I click on any of the two links.
         Looking at the source code of both JSP and HTML I noticed that the JSP element <s:form action="/editRegistration"> translates to <form id="menu:_id5" name="registrationForm" action="/StrutsFacesExample/layout.do" method="post">. The action element is obviously(?) wrong: there is no layout.do action mapping anywhere, it�s the path pointing to the main layout jsp with the suffix replaced!
    I�ve been able to trace the problem down to method �action� in library class org.apache.struts.faces.renderer.FormRenderer, which does the following:
    protected String action(FacesContext context, UIComponent component) {
    String actionURL =
    context.getApplication().getViewHandler().
    getActionURL(context, context.getViewRoot().getViewId());
    if (log.isTraceEnabled()) {
    log.trace("getActionURL(" + context.getViewRoot().getViewId() +
    ") --> " + actionURL);
    return (context.getExternalContext().encodeActionURL(actionURL));
    Any ideas on what could be going wrong here? I also tried deploying the example on Tomcat 5.5.7 and JBoss 3.2.5, but the behavior was the same.
    Any comments would be greatly appreciated!
    Mario

    Did you ever find a solution to this problem? No, unfortunately I am still looking for a solution to this one.
    I� ve also reported this to Bugzilla (http://issues.apache.org/bugzilla/show_bug.cgi?id=35265) so you might want to keep an eye on the issue, in case something comes up. However there appears to be no significant activity in the library�s source code repository for almost a month.
    After reading other discussions in forums like this one, I must say that I am discouraged: I seriously doubt if anyone has successfully managed to use the struts-faces integration library. A lot of people are suggesting that integrating the two frameworks is not worth the trouble, and so I am now in the process of evaluating the cost of complete migration from struts to jsf (btw, it doesn�t look good�). Nevertheless, some recent articles demonstrate the library�s use (the most recent one is Kito Mann�s http://www.jsfcentral.com/reading/#4030 ) so I might be wrong.
    It would be nice though if someone who has managed to integrate the two technologies successfully would share his views on this forum�
    Mario

  • Jdev9.0.3 JSP STRUTS ADF application problem with jdve10.1.3 and 10g IAS

    Hello, All,
    My current application is developed with jdev9.0.3 and deployed to OC4J 9.0.4 on ias, it works fine.
    Now I need to deploy it to our new 10g application server. the application run into the following error:
    NoClassDefFoundError: oracle/jdeveloper/html/HTMLElement
    at oracle.adf.controller.struts.util.ErrorReporting.addError(ErrorReporting.java:99)
    at oracle.adf.controller.struts.util.ErrorReporting.addError(ErrorReporting.java:94)
    Then I tried to migrate the application to jdev10.1.3 first, the code run into some red lines, e.g. <c:out .../> can't be within <c:set.../>, but it compiled ok and run fine within jdeveloper.
    But when I deployed the new .war file into the 10g server, now I run into different set of error(Please see belowe).
    Is there anything I need to do when I deploy a jdev903 application to 10g server, or migrating to jdev10.1.3?
    Any advice will be appreciated,
    Deborah
    java.lang.NoClassDefFoundError     at at oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycleFactory.getDefaultInstance(StrutsPageLifecycleFactory.java:68)
    at org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)     
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
    ...

    Migrating ADF/Struts 10.1.2 to 10.1.3.
    http://radio.weblogs.com/0118231/2006/02/28.html#a665

Maybe you are looking for