Integrating an existing struts application

Sorry if this has been discussed before but I tried searching the newsgroup with
no success. tia.
I am trying to integrate the struts application found in the struts-example.war
file that I extracted from the jakarta-struts-1.1.zip file from jakarta.apache.org.
(I have successfully deployed and tested this war file to the weblogic server
so I know the application works.)
I unzip the war file into a temp directory and follow the instructions found in
"e-docs.bea.com/workshop/docs81/doc/en/portal/buildportals/appIntegratingStruts.html"
After creating a struts portlet using the wizard and putting the portlet into
my test portal, when I try to run the portal using debug in Workshop, I get:
<Error> <netuix> <BEA-420599> <Unable to perform action [example/begin] for Struts
module [example]. Please ensure that both module and action are correct.>
<Error> <netuix> <BEA-420037> <There was an error loading the requested URI /example/mainMenu.jsp.>
<Error> <netuix> <BEA-423012> <There was an error while running a lifecycle stage
Lifecycle: UIControl.render :: for the control :: null ::.com.bea.netuix.nf.UIControlException:
No ActionResult returned for action [example/begin] in Struts module [example].
Please ensure that both module and action are correct in portlet StrutsContent
element.
at com.bea.netuix.servlets.controls.content.StrutsContent.preRender(StrutsContent.java:399)
at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:388)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:619)
I've tried changing the struts action and content uri with no success. I've tried
changing the
struts-auto-config-<module name>.xml file with even less success.
Help would be greatly appreciated. tia.

Have anyone got the answer from BEA ...
I am also having the same problem.
Pl. post if you have any answers.
Thanks
Kicha
"Julien De Santis-Caron" <[email protected]> wrote:
>
Hi,
I have the same problem and I can't find any way for correcting this.
Please, help-us with this issue because integration of existing Struts
applications
into a portlet is a critical issue for choosing a Portal solution.
thanks
Julien De Santis-Caron
"Dean Saiki" <[email protected]> wrote:
Sorry if this has been discussed before but I tried searching the newsgroup
with
no success. tia.
I am trying to integrate the struts application found in the struts-example.war
file that I extracted from the jakarta-struts-1.1.zip file from jakarta.apache.org.
(I have successfully deployed and tested this war file to the weblogic
server
so I know the application works.)
I unzip the war file into a temp directory and follow the instructions
found in
"e-docs.bea.com/workshop/docs81/doc/en/portal/buildportals/appIntegratingStruts.html"
After creating a struts portlet using the wizard and putting the portlet
into
my test portal, when I try to run the portal using debug in Workshop,
I get:
<Error> <netuix> <BEA-420599> <Unable to perform action [example/begin]
for Struts
module [example]. Please ensure that both module and action are correct.>
<Error> <netuix> <BEA-420037> <There was an error loading the requested
URI /example/mainMenu.jsp.>
<Error> <netuix> <BEA-423012> <There was an error while running a lifecycle
stage
Lifecycle: UIControl.render :: for the control :: null ::.com.bea.netuix.nf.UIControlException:
No ActionResult returned for action [example/begin] in Struts module
[example].
Please ensure that both module and action are correct in portlet StrutsContent
element.
at com.bea.netuix.servlets.controls.content.StrutsContent.preRender(StrutsContent.java:399)
at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:388)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:619)
I've tried changing the struts action and content uri with no success.
I've tried
changing the
struts-auto-config-<module name>.xml file with even less success.
Help would be greatly appreciated. tia.

Similar Messages

  • Need help implementing AJAX in an existing Struts Application

    Hi!
    I am trying to implement AJAX in my existing Struts Application. I need a good approach to go ahead and implement Ajax. I was thinking.. may be i will have to club all the code in the forms n actions (in the current Struts application) to one form and action, So I can easily include the dynamic content in the page.
    Please let me know if you have any ideas of how to implement AJAX in a fully developed Struts application.
    Thanks,
    Swapna.

    Hello Friends,
    Check out whether the link below could be of somehelp for you folks...
    http://www.it-eye.nl/weblog/2005/12/13/ajax-in-struts-implementing-dependend-select-boxes/
    http://today.java.net/pub/a/today/2005/10/27/sprinkle-ajax-magic-into-struts-webapp.html
    http://www.theserverside.com/news/thread.tss?thread_id=37355
    http://getahead.ltd.uk/dwr/examples/lists
    http://www.componentsource.com/products/backbase-ajax-struts/summary.html
    http://www.jibbering.com/2002/4/httprequest.html
    added to it there are few implementation frameworks which are addressing this issue you may further search on it and update abt the info which could be very much useful for all of the ppl out here.
    and there is a current thread running on the same topic it'd really appriciated if u can accomadate ur posts there.
    http://forum.java.sun.com/thread.jspa?threadID=784924&tstart=0
    REGARDS,
    RAHUL

  • Integration with existing business applications

    Hi, could anyone share with us in what way OBIEE is commonly integrated into our existing business applications?
    By a linked page embedded or just let users log in to dashboard or any by api or by webservice or any others?
    Thanks!

    Hi
    please refer following links, so that you can get some understanding in using SOAP API of OBIEE with other technology(Java/PHP) web applications...
    http://oraclebizint.wordpress.com/2007/07/31/customizing-obi-ee-soap-api/
    http://gerardnico.com/wiki/ide/eclipse/eclipse_how_to_consume_a_webservice_with_wtp
    check below url in your local installation to see what are the web service methods available for you to communicate..
    http://localhost:9704/analytics/saw.dll?WSDL
    for a simple and easy way 'gourl' functionality can be used..but necessary care to be taken as you pass your username and password in url parameters..
    check below tutorial..
    http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%E2%80%93-go-url-parameters/
    hope thats solves your problem!
    -Niranjan K

  • "Navigator" via JSF in a Struts Application (struts-faces)

    Hi!
    I got an existing Struts application which uses some includes to display a "Menu" on the left side with several links to navigate through the Webapp. Each of the Links points to a Struts-Action, that does some business logic and redirects any of a bundle of JSPs... Each of the JSPs is including this "navigation-jsp".
    Now i want to realize this Navigation with JSF and a TreeViewer (similar to the one in demo components) but the problem i face atm is, that when i click a link, and come back to any of the JSPs (after struts-action) how should this Tree-Navigator be rendered correctly???
    As said in topic, im using struts-faces.
    Any ideas?
    Greetings
    Patrick

    please guys - try to help me :-(

  • Creating a portlet from an existing Struts 1.1 application

    Hi,
    I have a concern about using struts portlets into the WL Portal. As no examples
    are provided with WLP 81 sp2, I've tried to build working Struts Portlets using
    existing Struts 1.1 applications. It always fail with an error like that one:
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-420599> <Unable to
    perform action [portlets/struts/example/tour] for Struts module [portlets/struts/example].
    Please ensure that both module and action are correct.>
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-420037> <There was
    an error loading the requested URI null.>
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-423012> <There was
    an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for
    the control :: null ::.
    com.bea.netuix.nf.UIControlException: No ActionResult returned for action [portlets/struts/example/tour]
    in Struts module [portlets/struts/example]. Please ensure that both module and
    action are correct in portlet StrutsContent element.
    at com.bea.netuix.servlets.controls.content.StrutsContent.preRender(StrutsContent.java:399)
    at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:388)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:619)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:137)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:220)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:158)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:357)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:198)
    at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:559)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6356)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    My client is waiting for the results of our evaluation prior to acquire this software
    and Struts support is the only thing that delay-us in delivering the final evaluation.
    Without the Struts Support, I'm afraid my client won't use this Portal Server.
    It would be really great if you could provide an example.
    Thanks.
    Julien De Santis-Caron
    CGI Group.

    What I've figured out so far is that the app needs to start from an action. I started
    with the Exadel Struts Studio Community edition tutorial StrutsHello. I copied
    the files as per the Workshop help "Integrating a Struts Application into a Portal".
    At this point I got the same error but them I added a "start" action which simply
    does a forward to "inputname.jsp". I also had to change taglib references to use
    the weblogic supplied versions of the html tags. Then I used the portlet wizard
    to create a new portlet that references the "start" action and dropped this new
    portlet on an otherwise empty portal. So now the portal starts fine and the portlet
    is there. However when I submit the form then I get the same sort of error. The
    form action get filtered by the tag library to generate a portal appropriate URL
    but on the POST it fails to to recognize the action to be run. Anyway maybe if
    a few of use work on this we can make some headway.
    "Julien De Santis-Caron" <[email protected]> wrote:
    >
    >
    Hi,
    I have a concern about using struts portlets into the WL Portal. As
    no examples
    are provided with WLP 81 sp2, I've tried to build working Struts Portlets
    using
    existing Struts 1.1 applications. It always fail with an error like
    that one:
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-420599> <Unable
    to
    perform action [portlets/struts/example/tour] for Struts module [portlets/struts/example].
    Please ensure that both module and action are correct.>
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-420037> <There
    was
    an error loading the requested URI null.>
    <26-Jan-2004 2:39:24 o'clock PM EST> <Error> <netuix> <BEA-423012> <There
    was
    an error while running a lifecycle stage :: Lifecycle: UIControl.render
    :: for
    the control :: null ::.
    com.bea.netuix.nf.UIControlException: No ActionResult returned for action
    [portlets/struts/example/tour]
    in Struts module [portlets/struts/example]. Please ensure that both
    module and
    action are correct in portlet StrutsContent element.
    at com.bea.netuix.servlets.controls.content.StrutsContent.preRender(StrutsContent.java:399)
    at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:388)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:619)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:137)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:220)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:158)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:357)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:198)
    at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:559)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6356)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    My client is waiting for the results of our evaluation prior to acquire
    this software
    and Struts support is the only thing that delay-us in delivering the
    final evaluation.
    Without the Struts Support, I'm afraid my client won't use this Portal
    Server.
    It would be really great if you could provide an example.
    Thanks.
    Julien De Santis-Caron
    CGI Group.

  • Portal Integration of an existing Web Application

    Dear all,
    we are preparing for the pbnw certification. Our way is to deploy our existing web application on the J2EE engine and make it accessible via the portal, i.e. where are taking the certification scenarios J2EE-DEP and BP-EP.
    Up to now, my idea is to integrate the web surface of our application into the portal as far as this is possible without too much effort. Alternatively it would be possible to access our application via an URL-iView however to my feeling this is not a real integration. Did I get things right assuming that would meet the requirements for pbnw certification?
    I read that it is necessary to follow the portal's look and feel by applying SAP's CSS. Does anyone know where to obtain these? And what is the easiest way to replace the currently used stylesheets by them?
    Millions of questions...
    Thanks a lot!
    Regards,
    Angela Grüner.

    Dear Angela
    Please have a look at the following Weblog link which gives a detailed description of the method to create a URL iView using Application Integrator:
    /people/markus.pfeffer/blog/2005/12/14/integrating-your-web-front-ends-into-the-sap-enterprise-portal-using-the-application-integrator
    If you adopt this method to create the URL iView, then it meets the requirement for EP-BP Certification.
    The blog also includes an example of HTML code with applied SAP CSS. Please go through this section to implement EP look and feel.
    Hope this helps!
    Regards
    Atima

  • Integrating Java code with pre-existing C application

    My team has been tasked to develop wizards for a pre-existing C application on Unix. We don't own the C code so we can make only limited changes to the native code.
    The challenge is to call the Java wizard from within the C code, and then to allow the Java code to use services and data in the C code. I can call Java from C, and then call C from Java. But the C code that gets called from Java doesn't seem to have access to the data known by the C code that called the Java.
    The only way I've thought of to handle this is to pass function pointers as paramters to the Java program, which can then pass the pointers on to the C code that it calls. Is there a way to pass pointers into Java?

    But the C code that gets called from Java doesn't seem to have access to the data known by the C code that called the Java.
    I don't know exactly what you mean here, unless you're simply saying that the scope of your C data makes it inaccessible between functions.
    Is there a way to pass pointers into Java?
    Yep - Just treat the pointers as opaque types and wrap them in something large enough for the platform - for example a jlong. You need to be sure to be careful in managing the lifetime of the pointers with respect to the Java objects that hold onto them - for example, with function pointers that come from a dynamically loaded shared library or any data pointers that you might be passing around. You probably want to read the section on native peers in the JNI programmer's guide.
    God bless,
    -Toby Reyelts
    Check out the free, open-source, JNI toolkit, Jace - http://jace.reyelts.com/jace

  • Integrating existing UI application with BPM workflow

    Hello ,
    We want to integrate the oracle BPM workflow with existing UI application (developed in JSP) , Question is how do i map human task from BPM process to existing UI JSP pages/modules .
    a sample module from application is like below -
    Application has two roles - Operator and Approver and UI pages for both roles are already created .
    Now from first UI page (using Operator role ) user will submit a request and then it should go and invoke the BPM workflow .I can do this using web service (BPM process exposed as web service ) .
    Now next step is where i have a problem - Assigning this request to another role - in BPM workflow i can create a Human task and assign role there but how do map
    this HT to my existing UI pages .
    Let me know if i am not clear on question .
    Thank You
    Rupesh
    Rupesh

    Hi Rupesh. If you want to integrate the oracle BPM workflow with existing UI application, you should see the Oracle SOA Suite 11g Handbook, in the Chapter 20. I'm sorry for don't gieve you the link. I found that book very helpful. Regards.

  • Sharing a Struts application among portlets

    I've written Struts applications before, but I'm new to portlets. I've read that there are two general approaches to portlet UI design. The first is when the user clicks on something in one portlet and a page of results or details displays in another portlet. In other words, "programmatic messaging provides for a particular user interface model, allowing an application to be delivered as a set of communicating portlets." The second approach is to do a wizard of pages within one portlet. "In contrast to the multiple portlet application user-interface model, the other dominant application UI style involves a single portlet that transitions through multiple 'screens'. This 'wizard' style of application interface can be complex to build without some sort of application framework. A popular framework for creating multiple screen Web applications, based on the Model-View-Controller (MVC) pattern, is Struts."
    My customer wants the application I'm to write to be integrated in their existing Oracle portal (10g but has to be backwards compatible with 9i). In a non-portlet Struts app, the requirements are pretty straight forward. I need a text input with a search button, about 10 navigation links and a label indicating to the user whether they are browsing or managing along with a dropdown that lets them toggle between browsing and managing and updates the label indicating their current mode. Those three areas (search, navigation, and mode toggle) will display on the left side of the page. The results of the search and the results of clicking on a navigation link should display on the right side of the page and the navigation link results will need to be in wizard form (fill out some fields and click Next, fill out some more fields and click Save). When a user changes their mode on the left side of the screen, the area containing the search results or navigation wizards on the right side of the screen will be updated to include some additional information. The twist (given that I've never written a portlet before and don't know if this is possible) is that the search should be in its own portlet, the navigation links and mode toggle should be in their own portlet and the area where the results of the search or navigation wizard pages display should be its own portlet.
    In non-portlet Struts land, the search, navigation, mode toggle, and results would all be part of the same Struts app. Can I write one Struts app and refer to the appropriate pages within that one Struts app for each of my portlets, in essence sharing a Struts app between multiple portlets? Or am I thinking about this all wrong?

    Karen,
    You can easiliy create several portlets out of a Struts application. For detailed instructions, refer to the Struts section of the Portal Developer's Guide.
    Good luck,
    Peter

  • How to use Portal SSO with existing BSP application

    Hi all,
    we run SAP EP 6.0 here and have a single start BSP page of
    an application integrated with the SAP appintegrator for BSP. The rest of the existing BSP application still uses
    the login functionality based on CL_BSP_LOGIN_APPLICATION
    and is not integrated in the portal.
    Problem: If a user directly accesses one of the "old" BSP pages, he should be redirected to the portal to auth. him via SSO and afterwards the original BSP page with all its parameters should be processed.
    How to deal with that? Is there a similar mechanism like with the BSP_LOGIN_APP in between for the SAP EP?
    Thanks for your help!
    -RAINER-

    I think that doesnt solve the problem.
    I have 2 systems: SAP ECC with all BSPs and the portal on another system. So I have to entry points: Via portal using the appIntegrator BSP or directly to the ECC.
    As-is: If the auth. for the BSP appl. fails, the user is re-directed via the error page given in the service (SICF)
    to a BSP login app. and from there to the requested page.
    No portal in this concept.
    Must-be: A user is still able to directly access a BSP on the SAP ECC by entering the URL in the browser. It's not a must entering via the portal first.
    So when the login failed on the ECC (no SSO ticket), he should be redirected to the portal for getting his SSO.
    After he signed in successfully the user will be forwarded to the BSP page he entered in the browser the first place.
    I can't see a way to use the URL iView. I am thinking of simply changing the login mechanism of the BSP using the portal login functionality.
    The link you gave me offers an implementation of CL_ICF_SYSTEM_LOGIN. Any ideas?
    Regards,
    -RAINER-

  • Error in Struts Application, Form Submit

    I've developed a simple struts application which allows user to key in inputs thru a form(registration.jsp), submit n display e inputs keyed in in another page(details.jsp).
    i'd succesfully integrate e pdk-struts application to portal, but wen i click on 'Submit', my action r not performed, not directed to my details.jsp, neither do it shows any error.
    However, one thing i realised is tat wen integrated to portal, e codes for my action r changed:
    registration.jsp
    <html:form action="/register" focus="name">
    after integrated wit Portal, it was translated to:
    <form name="registerForm" method="post" action="http://smeagel:7778/portal/page">
    <INPUT TYPE="hidden" name="_pageid" value="6,3,6_22" />
    <INPUT TYPE="hidden" name="_dad" value="portal" />
    <INPUT TYPE="hidden" name="_schema" value="PORTAL" />
    <INPUT TYPE="hidden" name="_piref6_108279_6_3_22.strutsAction" value="register.do" />
    After Submit button was clicked, i was directed to a new URL, http://smeagel:7778/portal/page
    Any solutions??

    provider.xml
    <?xml version = '1.0' encoding = 'UTF-8' standalone='yes'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>MyPortlet</name>
    <title>- Registration Form -</title>
    <description>My Portlet Description</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>MyParam</name>
    <displayName>My Portlet Parameter</displayName>
    </inputParameter>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage>/registration.jsp</showPage>
    <showPage class="oracle.portal.provider.v2.render.http.StrutsRenderer">/register.do</showPage>
    </renderer>
    </portlet>
    </provider>
    I'd saw some example, which using <defaultAction>, however, wen i put in <defaultAction>/register.do</defaultAction>
    i'll have error in my Provider Test Page. Validation Unsuccessful.
    Error: Class oracle.portal.provider.v2.render.http.StrutsRenderer has no set or add method for tag "defaultAction"
    Is <defaultAction> a necessary tag? Is tat e reason y my application isnt running?

  • Error while deploying struts application in tomcat

    Hi,
    I'm getting the following error when I start Tomcat using while auto-deploying a struts application.
    2005-09-21 15:28:17 - ContextManager: Adding DEFAULT:/cna
    2005-09-21 15:28:18 - Ctx(/cna) : Validating web.xml
    2005-09-21 15:28:18 - Ctx(/cna) : Class not found: org.apache.struts.action.Acti
    onServlet
    2005-09-21 15:28:18 - Ctx(/cna) : Class not found: org.apache.axis.transport.htt
    p.AdminServlet
    In case anyone is aware how to resolve this issue, please help.
    Thanks,
    Roseline

    Hi,
    1] Remove following from server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    2] Paste SEA.WAR (test WAR file) into /webapps of TOMCAT
    3] Start Tomcat Server - This will create SEA folder under webapps
    4] Stop server.
    5] Add following to server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    6] Start Tomcat Server
    7] Access the URL.
    This will work. Somehow Tomcat does not extract war file contents which are mentioned in server.xml.
    I have Apache Tomcat 4.0.3 and faced this problem. The above solution works for it.
    Regards,
    Sandesh
    hi.
    I have put my SEA.WAR (test WAR file) into /webapps of
    TOMCAT.
    I checked the server.xml and put:
         <Context path="/SEA" docBase="SEA" debug="0"/>
    I restarted TOMCAT and tried to execute the file:
         http://localhost:8080/SEA/index.jsp
    But I got error message:
    Apache Tomcat/4.0.3 - HTTP Status 404 -
    /SEA/index.jsp
    What was happenning?
    Anyone can help me?
    Thank you.

  • Error while deploying struts application

    Hi every body,
    I am new for struts application. While i deploying my application, the following error is comming any body give a remedy to me...
    Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not found
         at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:214)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:174)
         at org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1170)
         at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:765)
         at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:125)
         at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:255)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:534)
    --------------------------------------------------------------------------------

    Hi every body,
    I am new for struts application. While i deploying my
    application, the following error is comming any body
    give a remedy to me...
    Apache Tomcat/4.0.4 - HTTP Status 500 - Internal
    Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error
    (Internal Server Error) that prevented it from
    fulfilling this request.
    exception
    org.apache.jasper.JasperException: File
    "/WEB-INF/struts-html.tld" not found
    at
    t
    org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibr
    aryInfoImpl.java:214)
    at
    t
    org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibr
    aryInfoImpl.java:174)
    at
    t
    org.apache.jasper.compiler.JspParseEventListener.proce
    ssTaglibDirective(JspParseEventListener.java:1170)
    at
    t
    org.apache.jasper.compiler.JspParseEventListener.handl
    eDirective(JspParseEventListener.java:765)
    at
    t
    org.apache.jasper.compiler.DelegatingListener.handleDi
    rective(DelegatingListener.java:125)
    at
    t
    org.apache.jasper.compiler.Parser$Directive.accept(Par
    ser.java:255)
    at
    t
    org.apache.jasper.compiler.Parser.parse(Parser.java:11
    45)
    at
    t
    org.apache.jasper.compiler.Parser.parse(Parser.java:11
    03)
    at
    t
    org.apache.jasper.compiler.Parser.parse(Parser.java:10
    99)
    at
    t
    org.apache.jasper.compiler.ParserController.parse(Pars
    erController.java:214)
    at
    t
    org.apache.jasper.compiler.Compiler.compile(Compiler.j
    ava:210)
    at
    t
    org.apache.jasper.servlet.JspServlet.loadJSP(JspServle
    t.java:548)
    at
    t
    org.apache.jasper.servlet.JspServlet$JspServletWrapper
    .loadIfNecessary(JspServlet.java:176)
    at
    t
    org.apache.jasper.servlet.JspServlet$JspServletWrapper
    .service(JspServlet.java:188)
    at
    t
    org.apache.jasper.servlet.JspServlet.serviceJspFile(Js
    pServlet.java:381)
    at
    t
    org.apache.jasper.servlet.JspServlet.service(JspServle
    t.java:473)
    at
    t
    javax.servlet.http.HttpServlet.service(HttpServlet.jav
    a:853)
    at
    t
    org.apache.catalina.core.ApplicationFilterChain.intern
    alDoFilter(ApplicationFilterChain.java:247)
    at
    t
    org.apache.catalina.core.ApplicationFilterChain.doFilt
    er(ApplicationFilterChain.java:193)
    at
    t
    org.apache.catalina.core.StandardWrapperValve.invoke(S
    tandardWrapperValve.java:243)
    at
    t
    org.apache.catalina.core.StandardPipeline.invokeNext(S
    tandardPipeline.java:566)
    at
    t
    org.apache.catalina.core.StandardPipeline.invoke(Stand
    ardPipeline.java:472)
    at
    t
    org.apache.catalina.core.ContainerBase.invoke(Containe
    rBase.java:943)
    at
    t
    org.apache.catalina.core.StandardContextValve.invoke(S
    tandardContextValve.java:190)
    at
    t
    org.apache.catalina.core.StandardPipeline.invokeNext(S
    tandardPipeline.java:566)
    at
    t
    org.apache.catalina.valves.CertificatesValve.invoke(Ce
    rtificatesValve.java:246)
    at
    t
    org.apache.catalina.core.StandardPipeline.invokeNext(S
    tandardPipeline.java:564)
    at
    t
    org.apache.catalina.core.StandardPipeline.invoke(Stand
    ardPipeline.java:472)
    at
    t
    org.apache.catalina.core.ContainerBase.invoke(Containe
    rBase.java:943)
    at
    t
    org.apache.catalina.core.StandardContext.invoke(Standa
    rdContext.java:2347)
    at
    t
    org.apache.catalina.core.StandardHostValve.invoke(Stan
    dardHostValve.java:180)
    at
    t
    org.apache.catalina.core.StandardPipeline.invokeNext(S
    tandardPipeline.java:566)
    at
    t
    org.apache.catalina.valves.ErrorDispatcherValve.invoke
    (ErrorDispatcherValve.java:170)
    at
    t
    org.apache.catalina.core.StandardPipeline.invokeNext(S
    tandardPipeline.java:564)
    at
    t
    org.apache.catalina.valves.ErrorReportValve.invoke(Err
    orReportValve.java:170)
    at
    t
    org.apache.catalina.core.StandardPipeline.invokeNext(S
    tandardPipeline.java:564)
    at
    t
    org.apache.catalina.valves.AccessLogValve.invoke(Acces
    sLogValve.java:468)
    at
    t
    org.apache.catalina.core.StandardPipeline.invokeNext(S
    tandardPipeline.java:564)
    at
    t
    org.apache.catalina.core.StandardPipeline.invoke(Stand
    ardPipeline.java:472)
    at
    t
    org.apache.catalina.core.ContainerBase.invoke(Containe
    rBase.java:943)
    at
    t
    org.apache.catalina.core.StandardEngineValve.invoke(St
    andardEngineValve.java:174)
    at
    t
    org.apache.catalina.core.StandardPipeline.invokeNext(S
    tandardPipeline.java:566)
    at
    t
    org.apache.catalina.core.StandardPipeline.invoke(Stand
    ardPipeline.java:472)
    at
    t
    org.apache.catalina.core.ContainerBase.invoke(Containe
    rBase.java:943)
    at
    t
    org.apache.catalina.connector.http.HttpProcessor.proce
    ss(HttpProcessor.java:1027)
    at
    t
    org.apache.catalina.connector.http.HttpProcessor.run(H
    ttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:534)
    --------------------------i am try to run struts application. but it shows following error
    org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not found
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

  • Console error while deploying a struts application..

    I am getting following exception while deploying a struts application:-
    javax.servlet.ServletException: org/apache/commons/logging/LogFactory
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
         at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
         at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5647)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
         at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2022)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2063)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2399)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2311)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2479)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    please help me out.

    The ServletException is just a wrapper exception which informs about an underlying failure. When interpreting stacktraces,the bottommost root cause parts is the most important part. I assume that it's just a java.lang.ClassNotFoundException on org/apache/commons/logging/LogFactory. In that case, the exception is self-explaining enough. The mentioned class is missing in the classpath. The solution is also obvious: add the mentioned class (or at least, the JAR file with the mentioned class) to the classpath and you're fine. As the package name already hints, you can download it at [http://commons.apache.org/logging].
    For future java.lang.* exceptions please consult 'New to Java' forum. This is unrelated to Java Servlet.

Maybe you are looking for

  • Can't print with user but can with local admin

    Hello All, I'm a Windows admin learning how to support Macs in a 2003 AD environment. Here's my problem. I have a Windows 2003 AD Domain and an office of Mac clients running OSX 10.3.9. I'm using AdmitMac version 1 to connect the Mac's to AD. There's

  • Integrate an Apex Application with the E-Business Suite 11i

    Hi ! I'm currently working to get connected to APEX (Application Express 3.2.1.00.11) using an E-Business Suite 11i form function then using the ICX cookie. I'm using a document created by Rod West(consultant at Cabot Consulting) to help me doing thi

  • Tiger 10.4.6 + Logic 7.2 + digi 001 no worky...HELP!!

    hi there, so i received updates last night and installed. - tiger 10.4.6 - logic 7.2 - g4 dual 1.25 ghz with 1.25 ram so i've been using my digi 001 as my soundcard, running coreaudio. after installing everything last night, the 001 was not being see

  • When does a sticky entry get removed on CSM

    I have one sticky group for multiple vservers and within each vserver is a different serverfarm with the same IPs but each server farm has a different probe.  Now if you look in the sticky table there will  be only once entry if my sticky is by sourc

  • E-governance through SAP NetWeaver

    Hi Guys I'm, interested in understanding how NetWeaver can support e-governance. Please help