Dispatch action in struts portlet

Hi ,
I am tryin g to call a Action which extends dispatchaction with two parameters in the query string . The version is (pdk 10.1.2.0.2)
The values are appended in the query string but the error message in log seems to be the "actionCmd" calue is not passed to invoke the action.
<jsp:useBean id="params" scope="session" class="java.util.HashMap"/>
<c:set target="${params}" property="actionCmd" value="seminarDetails"/>
<c:set target="${params}" property="Menu" value="customer"/>
<pdk-struts-html:link action="/seminarDetails" name="params" ></pdk-struts-html:link>
ERROR: AbstractResourceRenderer.renderBody - Resource
"/seminarDetails.mcs;jsessionid=0ad16e5530d74f3fe75da106493cbb4dd7fbc0bb634d.e34RahmKa3mRay0Lc3aKbhiLbxaKe6fznA5Pp7ftolbGmkTy?Menu=customer&'amp;actionCmd=seminarDetails"
returned HTTP Status: 400. Error message: Request[seminarDetails] does not contain handler parameter named actionCmd. Content returned
follows....
What am i doing wrong?
Thanks
Prem

Still I am having the same issue. Any clues?

Similar Messages

  • Regarding dispatch action in struts

    how to create dispatch action uring button in struts.

    Have a hidden attribute named "method" in the Form and hardcode it with the method name which you need to post to...
    Rest is all same like regular Action...
    Thanks and regards,
    Pazhanikanthan. P

  • How to call another action from Struts dispatch action?

    Hi all,
    there is a method in dispatch action that needs data from another chained action. How should other action determine which method in dispatch action will receive response and how should these data be returned from called action? Called action does not have associated form bean
    thanks,

    Not sure, why are there then "chained actions" is struts practice? Struts allows action without form bean to be configured and the action is a class?

  • Error after creating a struts portlet in weblogic 8.1 SP 5

    Hi,
    I am using weblogic 8.1 SP 5, to develop an struts-portlet.
    I tested my struts application and it is working fine.
    I have one action i.e firstAction and 2 jsp's in my struts application.
    The action just forwards to the one jsp through struts-config.
    However, when i try to start the server after creating the struts-portlet i get the following error:
    The source of this error is com.bea.netuix.nf.UIControlException: For portlet [portlet_1_1], could not retrieve a result for the given action [firstAction] in the given PageFlow: [null]. at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:365) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:718) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender
    Please Help !!!

    Hi,
    Even I am facing the same issue could any body help me out to solve this issue.

  • Trouble with console-extension using struts portlet

    hello everyone,
    I'm developing a console-extension for wls9.2 but couldn't get is to work despite all the documentation available. The console-ext is a struts portlet which gathers data from custom mbeans via jmx and renders the result with a jsp. What already works is fetching the data from the MBeans in the struts action. What does not work is the display of the results in the admin console. So I removed all the stuff from the jsp to just display "Hello World" which should be displayed on the desktop in the admin console, but even this didn't work (it's just a blank spot). Having a look at the log file I get the following:
    e.netui.pageflow.internal.AdapterManager ERROR ServletContainerAdapter manager not initialized correctly.
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    tui.util.config.parser.NetUIConfigParser INFO NetUIConfigParser -- load config: /WEB-INF/beehive-netui-config.xml
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    (...other debug output from my struts action...)
    .wls.web.actions.LoggingControllerAction DEBUG Going to /ext_jsp/helloWorld.jsp using module null
    flow.scoping.internal.ScopedResponseImpl INFO ScopedResponse error 404:
    .netui.pageflow.PageFlowRequestProcessor WARN Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.
    .netui.pageflow.PageFlowRequestProcessor INFO Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do
    ive.netui.pageflow.FlowControllerFactory INFO No Global.app was found in /console
    Despite the errors it seems to find my struts config (struts-auto-config-loggingController.xm) and execute the action, but then it seems to have trouble findingd/displaying the jsp (helloWorld.jsp). I tried to set various controller-elements in the struts config, like this ([url http://edocs.bea.com/wlp/docs92/portals/integrate.html#wp1005659]source):
    <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    but this didn't work either (and results in other errors). The log from above was created with a config without any controller element (since this is never mentioned in the eDocs for console extensions).
    Despite spending several hours trying to figure out what goes wrong here I wasn't able to get one step closer to a solution. Does anyone have a clue what I did wrong (please ask if you need further information)? Thanks a lot!
    Btw. Sorry if this is the wrong forum, I could't find another one which matches better. Feel free to move the topic to a more appropriate place. thx.
    ====================================
    Struts config:
    <struts-config>
         <form-beans>
              <form-bean name="loggingForm" type="...web.forms.LoggingControllerForm" />
         </form-beans>
         <action-mappings>
              <action path="/LoggingControllerAction"
                   type="...web.actions.LoggingControllerAction"
                   name="loggingForm"
                   scope="request"
                   validate="false"
                   input="/ext_jsp/helloWorld.jsp">
                   <forward name="success" contextRelative="true"
                        path="/ext_jsp/helloWorld.jsp" />
              </action>
         </action-mappings>
    </struts-config>

    The problem could be solved by adding the "handle" property (of type com.bea.console.handles.Handle) to the form bean.
    This is stated on page 7-4 in the "Extending the admin console" guide or [url http://e-docs.bea.com/wls/docs92/console_ext/simpleext.html#wp1083856]here
    In addition the following controller element must be used in the struts config: <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    This is not mentioned anywhere and should definitely be added to the guide.
    Hope this helps someone encountering the same problem.

  • Strut-Portlets errors in Weblogic 8.1 SP5

    I am getting the below mentioned error when running a portal containing Struts-Portlet in Webloigc 8.1Sp5.
    I have tried everything but not able to resolve it, does anyone know how to resolve and how to successfully run a Struts-Portlet application?
    Thanks in advance.
    -Raj
    The source of this error is com.bea.netuix.nf.UIControlException: For portlet [portlet_1_3], could not retrieve a result for the given action [strutsAction2] in the given PageFlow: [null]. at com.bea.netuix.servlets.controls.content.NetuiContent.preRender()V(NetuiContent.java:365) at com.bea.netuix.nf.ControlLifecycle$7.visit(Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;)Z(ControlLifecycle.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:718) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Lcom/bea/netuix/nf/concurrency/ControlTreeWalkerPool;)V(ControlTreeWalker.java:181) at com.bea.netuix.nf.Lifecycle.runOutbound(Lcom/bea/netuix/nf/UIContext;Lcom/bea/netuix/nf/concurrency/ControlTreeWalkerPool;)V(Lifecycle.java:204) at com.bea.netuix.nf.Lifecycle.run(Lcom/bea/netuix/nf/UIContext;Lcom/bea/netuix/nf/concurrency/ControlTreeWalkerPool;)V(Lifecycle.java:153) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(Lcom/bea/netuix/nf/UIContext;Ljavax/servlet/http/HttpServletRequest;)V(UIServlet.java:333) at com.bea.netuix.servlets.manager.UIServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(UIServlet.java:196) at com.bea.netuix.servlets.manager.PortalServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PortalServlet.java:772) at com.bea.netuix.servlets.manager.PortalServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PortalServlet.java:671) at com.bea.netuix.servlets.manager.UIServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(UIServlet.java:147) at javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(PortalServletFilter.java:293) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)

    What happens in a Struts Portlet is that Portal calls into NetUI to get the action to forward to. The problem appears to be that the struts-config is not getting picked up or registered with NetUI.
    One thing to try is to do inter-op between Struts and NetUI/pageflows first to make sure the struts-config is being picked up and then layer on the Portal layer.
    Connie

  • Exception while triggering an action in consumer portlet.

    Hi,
    This following exception is noticed while triggering an action from consumer portlet in WSRP. Same request is working fine is standalone producer side application.
    <env:Body>
    <env:Fault xmlns:v1="urn:oasis:names:tc:wsrp:v1:types">
    <faultcode>v1:OperationFailed</faultcode>
    <faultstring>Http Error: [404] : [null].</faultstring>
    <detail>
    <v1:OperationFailed/>
    <fd:FaultDetail xmlns:fd="urn:bea:wsrp:ext:v1:types">
    <fd:created>2009-12-22T22:23:26.904+05:30</fd:created>
    <fd:trace>com.bea.wsrp.faults.OperationFailedException: Http Error: [404] : [null].
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:425)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doPerformBlockingInteraction(MarkupServiceHandler.java:718)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:241)
         at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:68)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:242)
         at com.bea.wsrp.producer.wsee.ProducerEntryPoint.handleResponse(ProducerEntryPoint.java:87)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:287)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:271)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:341)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:189)
         at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
         at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    Above log is captured using the WSRP monitor. If any one came accross this issue? Please help me in giving pointers to close this issue.

    hi,
    Was able to debug the issue. the problem is with the target JSP.
    Some of the include statements in the target JSP are pointing to a wrong URI. so the request is failing in WSRP.
    It looks silly but usefull. I overlooked this issue beacuse i am unable to find issues on producer side because of this.
    cheers,
    Vamsi

  • Logging doesn't work from my Struts portlet

    I've got a Struts portlet that uses (or tried to use) Log4J logging. I don't get any logging - not even .log file creation. When the OC4J instance starts up it gives a warning about not having the Log4J system initialized properly. I have a log4j.properties in my WEB-INF/classes directory so I don't understand why it gives this warning, though.
    Is Struts overriding Log4J logging with its commons-logging.jar?
    I also don't get an application.log file which the portlet should create in the applications-deployment/ directory.
    Has anyone run into this with a Struts portlet?

    I should have mentioned that I'm deploying my Struts Portlet in a local OC4J (with PDK support) and using it as a provider to a remote Oracle Portal. For some reason OC4J doesn't recognize the log4j.properties that is in my WEB-INF/classes directory.
    I've also got a TAR opened with Oracle Tech. support and when they deployed my .ear file to a Portal they get an application.log file which I do not get. There must be something on my local OC4J that prevents any logging (neither the application.log or the log4j .log file gets created on my local OC4J).
    Here are the messages that I get when I start OC4J:
    [java] Sep 2, 2005 11:41:38 AM org.apache.struts.util.PropertyMessageResources <init>
    [java] INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    [java] Sep 2, 2005 11:41:38 AM org.apache.struts.util.PropertyMessageResources <init>
    [java] INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    [java] Sep 2, 2005 11:41:38 AM org.apache.struts.util.PropertyMessageResources <init>
    [java] INFO: Initializing, config='oracle.portal.sample.v2.devguide.struts.messages', returnNull=true
    [java] 05/09/02 11:41:39 log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    [java] 05/09/02 11:41:39 log4j:WARN Please initialize the log4j system properly.
    [java] 05/09/02 11:41:40 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initialized

  • Struts portlet and request.getQueryString()

    Hi all,
    I've run into what seems like a bug in using struts portlets.
    In my JSP page, I'm attempting to retrieve the query string (parameters) from the request URL, but apparently under the Portal framework, only the first parameter/value in the query string can be retrieved.
    Eg. URL:
    http://www.myportal.com/portal/page?_pageid=11,86282&_dad=portal&_schema=PORTAL&_piref33_92271_33_86282_86282.strutsAction=%2myAction.do?param1=abc&param2=cde&param3=fgh
    When invoking a request.getQueryString() either in my JSP or in the action servlet, only the first part is returned, which is param1=abc. The rest is dropped.
    I should mention that the actual use of these parameters are okay (such as request.getParameter("param2") will return "cde"). Just pulling them out with the getQueryString() method seems not too work.
    The only way to workaround it for me is to use the request.getParameterNames() and run through the enumeration and construct the query string manually. Of course this is ugly running under the Portal framework because I have to filter out all the Portal parameters that begin with the underscore character(eg. page, schema, etc).
    Has anyone else had this problem and worked around it?
    Thanks in advance

    Hi,
    This may help. Use the pdk-struts-html:link tag instead.
    Something like
    <jsp:useBean id="prevDetail" class="java.util.HashMap"/>
    <c:set target="${prevDetail}" property="event_PreviousSet" value="PreviousSet"/>
    <c:set target="${prevDetail}" property="sortref" value="${param.sortref}"/>
    <c:set target="${prevDetail}" property="sortacc" value="${param.sortacc}"/>
    <c:set target="${prevDetail}" property="filteron" value="${param.filteron}"/>
    <pdk-struts-html:link action="portal/something.do" name="prevDetail">
    Good luck, Hernando

  • Struts Portlet problem

    Hello,
    I am developing a Struts Portlet, using JDev 10.1.2, and I'm deploying my app to Oracle Enterprise Manager.
    I have a DB Schema from which I created the Business Components for my Portlet.
    In the portlet, I need to display a tree-like Page Menu (pages have sub-pages and so on) in a single JSP that I have already working perfectly (outside Oracle Portal).
    This JSP consists of a series of "a href" links, each link representing a Menu Page, so that when I click on that link, the other portlets (content portlets) would show the selected page's contents.
    The idea here would be to, when I click a link, raise a struts event so that I can set my ViewObject's current row, and then get Portal to refresh the whole page passing the Page_Id as a parameter, so that both the menu portlet and the content portlet would be synchronized.
    The problem is that inside Portal, I can't seem to get the struts app to work:
    It renders the page just fine, but when I click on a link it obviously sets the browser's URL to one that is not relative to the portal - I suppose because i'm setting the URL mannualy on the "a href".
    (Note that I don't have a Form component in my JSP, just a number of links)
    What I need is to find a way to raise a Struts event so that the current row will be set. I'm trying to do it like this:
    < a href="/portal/menuPage.do?&id=<c:out value="${node2.IdPagina}"/>&event=Select">
    The event is raised and the row is set but I'm (obviously) forwarded to
    http://myServer:myPort/portal/menuPage.do?&id=28&event=Select
    Portal doesn't recognize this address and displays a "404 Not Found" message.
    Is there any other way to raise a struts action with links, or at least, without forms and submit buttons? Because raising it like I'm doing forwards me to a wrong URL.
    I read everything I found on Struts Portlets but still haven't found an answer to my problem.
    Any help?
    Rui Leitão

    When constructing links, you have to use the pdk-specific struts tags, for example:
    <pdk-struts-html:link href="/portal/menuPage.do">Also, you need to use the pdk struts tag library:
    <%@ taglib uri="/WEB-INF/pdk-struts-html.tld" prefix="pdk-struts-html" %>Peter

  • Struts Portlet to Struts Portlet Communication

    Hello,
    We have two struts portlets (portlet1, portlet2) in our page. We have the following queries:
    1. When user performs some action (submit) in portlet1, can we render the second porlet (portlet2). Second portlet should be visible only after submit in first portlet.
    2. We are trying to pass objects between two struts portlets. Can some one provide an idea on how to achieve this. We are trying to set the objects to be passed in request object, but they are not visible in the second portlet.
    Basically, our requirement is portlet1 will contain the search criteria and when the user clicks on submit, the results should be displayed in another portlet. Both these portlets are struts enabled.

    1. You can create your security manager to dynamically control whether the portlet is displayed or not on the portal page. You can refer to the Portal Developer's Guide to learn more about security managers.
    2. You can use the page parameters and portlet parameters to pass this information from one portlet to the other. The Portal Developer's Guide discusses how to do this.
    If this doesn't work for some reason (the string is way too long - or for any other reason), you can try to save the information to the session context. The session can be shared between two portlets if they belong to the same provider.
    Hope this helps,
    Peter

  • Dispatch Action

    Hi how to use DispatchAction in struts

    Hi,
    Whenever working with dispatch action, while specifying its button name or link name specify an attribute called "property", give some logical name for this attribute and in struts-config.xml, the same attribute with logical name should be used. so when ever u send multiple requests with in a same page , it gets processed, do not forget to implement ur methods with same execute() signature.

  • Creating Struts Portlet

    Hi,
    I am new to Weblogic Portal, I have integrated the struts application and also created the portlet for that. When I attach the struts portlet to Portal file and run my portal application. It shows me the blank portlet.
    I am not getting any issue/ error/ problem.
    I have included the
    <controller processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor"/> in my struts-auto-config-hello.xml file also I have included the
    <init-param>
    <param-name>config/hello</param-name>
    <param-value>/WEB-INF/struts-auto-config-hello.xml</param-value>
    </init-param>
    in my web.xml file.
    Still I am gettin the blank Struts porlet. Please suggest.
    Thanks in Advance.

    Hello,
    I had some problems, please refer to the following stacktrace, please help me!!!!
    Nhan
    com.bea.netuix.nf.UIControlException: com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: javax.servlet.ServletException: org.apache.struts.chain.commands.InvalidPathException: No action config found for the specified url.
         at com.bea.netuix.servlets.controls.content.NetuiContentNoBeehive.checkPreRenderExceptions(NetuiContentNoBeehive.java:406)
         at com.bea.netuix.servlets.controls.content.NetuiContentNoBeehive.beginRender(NetuiContentNoBeehive.java:345)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         Truncated. see log file for complete stacktrace
    Caused By: com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: javax.servlet.ServletException: org.apache.struts.chain.commands.InvalidPathException: No action config found for the specified url.
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:721)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:265)
         at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:103)
         at com.bea.netuix.servlets.controls.content.NetuiContentNoBeehive.preRender(NetuiContentNoBeehive.java:294)
         at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
         Truncated. see log file for complete stacktrace
    Caused By: javax.servlet.ServletException: org.apache.struts.chain.commands.InvalidPathException: No action config found for the specified url.
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)
         at com.bea.struts.adapter.framework.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:572)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
         at com.bea.portlet.adapter.scopedcontent.framework.internal.PageFlowUtilsStrutsDelegate.strutsLookupInternal(PageFlowUtilsStrutsDelegate.java:144)
         at com.bea.portlet.adapter.scopedcontent.framework.internal.PageFlowUtilsStrutsDelegate.strutsLookupInternal(PageFlowUtilsStrutsDelegate.java:74)
         Truncated. see log file for complete stacktrace
    Caused By: org.apache.struts.chain.commands.InvalidPathException: No action config found for the specified url.
         at org.apache.struts.chain.commands.AbstractSelectAction.execute(AbstractSelectAction.java:71)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         Truncated. see log file for complete stacktrace

  • Request flow in struts portlet

    Hi ,
    I am new to portlet development
    Please validate this.
    I have launched my index page through a struts portlet. I am trying to call another action from my index page (which is not a portlet ,it s just a struts action).
    Should this action must be called only from the provder.xml as a portlet .
    Is there any way that a action could be invoked as in a normal struts application.
    Regards
    Prem

    hi all
    I got the answer .......
    One can configure it using the <controller> element in the
    struts-config.xml...
    http://struts.apache.org/userGuide/configuration.html#controller_config
    <controller processorClass="myPackage.MyRequestProcessor"/>
    Bye

  • How to create pdk java struts portlet in jdeveloper 11g

    Hi All,
    Im newbie ,I am unable to follow the steps in creating struts portlet on using Oracle portal developers guide in Jdeveloper 11g .can any one tell me the step by step procedure of creating struts portlet or any other related links.
    FYI:I stuck up in the guide which didn't explain how to create struts-config.xml( and its structure) and also how to create view and page flow .
    In the book they gave as :"To create a new view, first create a new set of ActionMappings (page flow) that will redirect the various actions and requests to Portal-specific JSPs. "
    Please help me on this, Thanks in Advance,
    Regards,
    siva
    Edited by: siva on Sep 25, 2011 10:51 PM

    You are mixing versions.
    JDev 11g needs the 11g SOA version (download from here )or use JDev10g together with Oracle SOA Suite 10.1.3.1.0
    Timo

Maybe you are looking for

  • Showing text in PDF in Preview

    Hello, I'm currently working with an application that at certain points generates pdf's to show reports. It works fine on windows, but when I try to open them in the preview on the Mac OS X Mavericks, it shows an empty document. I can open it, select

  • Is it possible to partially export a video using frame blending?

    For example, I have a video intro that, after being uploaded and processed on YouTube, looks very choppy. However, if I export it using frame blending, it looks perfectly fine. The down side is that the rest of the video looks somewhat more blurry, a

  • Same issue, can't sync mail to iCloud.

    unable to sync Mail with iCloud even after following all support options available online. 

  • Can not shut down at retina

    Can not shut down the machine, close the display to dark , But still running, lost all power pass the night!

  • Http Internal error

    HI all, I am new to the webdynpro ABAP. I am trying to running webdypro Application. I am getting the error The URL http://sapserver:8001/sap/bc/webdynpro/sap/zcomp was not called due to an error. Before posting , I have read the information from bel