Struts Config changes with parameter="unknown"

I am having an issue where my struts config file is getting automatically changed where some of the data actions are getting parameter="unknown" added to them automatically by jdev 10.1.2.1.0 Build 1913. I remove them, close down jdev, open it back up and they are there again.
Is anyone else having this problem?

I have the same problem. Is annoying. This happens when I add code to the DataAction. Jdeveloper seems to confuse the Data Action with a Data Page. By default the type of a DataAction is type="oracle.adf.controller.struts.actions.DataAction", when you add code the type change and this may be the cause of the problem. Any suggestions?

Similar Messages

  • Data Action is converting in to data page with  parameter="unknown"

    Hi,
    I have created one DataAction, and drag a method from appmoduleImpl on to the created data action. that method contains one parameter as well.
    Now i want to write code in findForward() method on that action class (from gotoCode menu item). After all, if i rebuild it, it is changing to data page from data action with parameter="unknown" and giving me error. In page flow diagram also its showing data page image with Yellow coloured exclamatory mark on it.
    Anybody have any idea ???

    This is the resultant entry in struts config.xml :
    <action path="/editpage" className="oracle.adf.controller.struts.actions.DataActionMapping" type="com.abc.de.testAction" name="DataForm" parameter="unknown">
    <set-property property="modelReference" value="editpageUIModel"/>
    <set-property property="methodName" value="editpageUIModel.getFirstPageDetailsFromId"/>
    <set-property property="resultLocation" value="${requestScope.methodResult}"/>
    <set-property property="numParams" value="1"/>
    <set-property property="paramNames[0]" value="${param.Id}"/>
    <forward name="success" path/firstpage.do"/>
    </action>

  • Problem with struts-config

    hi all,
    i have using struts. i have written struts-config file which is giving some error while start the tomcat 5.xxx
    struts-config shown below
    <?xml version="1.0" encoding="ISO-8859-1" ?>
        <!DOCTYPE struts-config PUBLIC
                  "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
                  "http://struts.apache.org/dtds/struts-config_1_2.dtd">
         <struts-config>
        <message-resources parameter="resources.application"/>
        <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
        <plug-in className="org.apache.struts.tiles.TilesPlugin">
            <set-property property="definitions-config"
                value="/WEB-INF/tiles-admin-defs.xml"/>
            <set-property property="moduleAware" value="true"/>
            <set-property property="definitions-parser-validate" value="true"/>
        </plug-in>
        </struts-config>error is
    must match "(display-name?,description?,data-sources?,form-beans?,global-excep
    ons?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*
    org.xml.sax.SAXParseException: The content of element type "struts-config" mus
    match "(display-name?,description?,data-sources?,form-beans?,global-exceptions
    global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(
    known Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    please tell me what did i made wrong

    Maybe it makes more sense to ask here
    http://jguru.com/forums/Struts
    Or at the Jakarta mailing list for Struts.

  • SAP BI System Copy with only Config changes, Not Data

    Hi BASIS,
    I have a requirement from a client to build a system landscape stratagy for their SAP BI system.
    We have DEV - QA - PRD systems for SAP BI (7.0 SP 16)
    Both DEV and QA are completely out of sync with PRD. We are doing development tasks directly on PRD. Now we have decided to re-sync the DEV & QA systems with PRD.
    'System copy with Data' will be easier to implement. But our PRD DB size is nearly 3TB. The client is not ready to pay for the extra/temp. disk space for DEV and QA sync. ( We are on DB2).
    Now, we have only one option left. Capture all Config changes from PRD and transport them back to DEV & QA. This is a tedious task and cause many inconsistencies.
    Would anyone have any other ideas to bring the systems in sync with less time involved and less resources.
    I am a SAP BI person. So dont know much about BASIS tasks. Please help me with any links of best practises or SAP notes.
    Cheers

    HI Reddy,
    We came to know from our basis team that we do not have the Java Stack installed in our BI 7.x system yet.
    As it is integrated with EP which has Java, our web reports are working.
    1) But my question is still do we ned to install the Java Stack in our BI system as i do not find any Export to PDF option in EP for the reports (eventhough AS Java supports this).
    2) Or can we use the existing configuration without Java STack integrated to EP for the new tools like Report Designer and Integrated Planning?
    Regards
    Kumar

  • What SRM config changes will need to take place with a change to Plant

    Hi
    Please could you tell me What SRM config changes will need to take place with a change to Plant, Co Code, Purchasing Org, Purchasing Group,
    Cheers
    B

    Yes Disha loads more questions,
    is it simply a GET_LOCATIONS_ that I need to run once all the new plants have been created in R3 or do i need to create the plants in SRM?
    With one Purch org to one co code to one plant how will this effect the workflow start conditions
    How will the be differnt to a on Purchasing Org to many co codes to many plants?
    Any thing else you think that I might need to do with this change
    Thanks
    B

  • WBM User Unknown - firewall config change

    In my Security Log I have been seeing a strange message that keeps appearing, see below.
    I have no idea what this is or if this is someone hacking my router or if a virus is on my computer.  It has appeared even during times when my computer has been turned off.  I have my firewall set at max security and changed my password.  Even after changing my password this appeared.  Not sure what this is or what to do about it but I am very concerned.
    Firewall Setup Configuration change
    WBM user Unknown (0.0.0.0) has changed security settings[repeated 5 times, last time on Aug 25 03:00:26 2010]

    This explanation was given by Actiontec (they build the router for Verizon)
    Product:MI424WR (Rev. I) - Wireless Broadband Router
    Incident Summary
    =========================
    Since Verizon can't answer this question I would like to know for the
    people who built this router. 
    Verizon Actiontec MI242WR (not sure of Rev) 
    firmware 40.19.36
    Why do I get this log security event every day?
    mmm dd hh:mm:ss yyyy
    Firewall Setup Configuration change WBM user Unknown (0.0.0.0) has
    changed security settings
    =========================
    Resolution:
    =========================
    Each and every day, Verizon has a server that makes contact with your
    router to check its firmware.
    No changes are made to your router however, it simply checks the router
    to make sure the firmware is up to date and this generates a log entry.
    =========================

  • Voluntary change of struts-config.xml

    Why does JDev 10g change struts-config.xml file without programmer being aware of it?? It's the dumbest thing I have ever seen

    I have this very same issue and agree that it is some of the oddest ide behavior possible. For instance, we use a struts forward, <forward name="success" path="/binaryFile"/>, of binaryFile to a servlet to display a dynamically created pdf in a browser. Sometimes, and I am not sure why, JDeveloper will modify struts-config.xml such that it will remove the binaryFile forwards, which results in complete application mis-configuration. Or, and this one is my least favorite, JDeveloper will edit the binaryFile forward by attaching .jsp to binaryFile such that it looks like this, <forward name="success" path="/binaryFile.jsp"/>, again causing application mis-configuration. My only guess is that JDeveloper does not see an extension like .do or .jsp and thinks it is doing the right thing by updating it for you. Has this been resolved in the latest version of JDeveloper?
    Here is my JDev version,
    Oracle IDE     10.1.2.17.84
    Business Components Version     10.1.2.17.96
    UML Modelers Version     10.1.2.16.71
    Versioning Support     10.1.2.16.71
    WebDAV Support Version     10.1.2.16.71
    Struts Modeler Version     10.1.2.6.15
    Designer Generators Framework     10.1.2.7.56
    ADF UIX     2.2.16
    CVS Client Version     (CVS) 1.11.20 (client)
    java.version     1.4.2_04
    java.home     C:\jdev1012\jdk\jre
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     1.4.2_04-b05
    user.language     en
    user.region     <no value assigned>
    user.name     eflynn
    user.home     C:\Documents and Settings\blah
    user.dir     C:\jdev1012\jdev\bin
    os.name     Windows XP
    os.version     5.1
    os.arch     x86
    http.proxyHost     <no value assigned>
    http.proxyPort     <no value assigned>
    http.nonProxyHosts     <no value assigned>
    ide.patches     
    ide.user.dir

  • Struts- two actions with same path in struts config

    hai
    I am having html:select tag with two options (View And Download) in a form.My form signature is like <html:form action="select">.I mapped two options(View,Download) with same action path.When i click view it doesn't forwards(remains idle) and no error is shown.But i click download it forwards to the appropriate page.If iam having two tags with same action path the second is only working.This problem doesn't comes when iam having one tag alone.
    My code is here:
    -----------Select.jsp----------------
    <html:form action="Select">
    <html:select property="id">
    <html:option value="view">View</html:option>
    <html:option value="download">Download</html:option>
    </html:select>
    </html:form>
    ----------------Struts-config.xml------------
    <form-beans>
    <form-bean name="viewForm" type="ViewForm"/>
    <form-bean name="download" type="DownloadForm"/>
    </form-beans>
    <action-mappings>
    <action path="/Select"
    name="viewForm"
    type="ViewAction"
    input="/Select.jsp">
    <forward name="success" path="/Success.jsp"/>
    </action>
    <action path="/Select"
    name="downloadForm"
    type="DownloadAction"
    input="/Select.jsp">
    <forward name="success" path="/Welcome.jsp"/>
    </action>
    </action-mappings>
    Can i have action tag with same paths like this.If not please provide me a solution

    I have created two success pages.
    I have created two findForward in my ActionClasspublic ActionForward execute(ActionMapping mapping,...............)
    if(a==view)
    return mapping.findForward("success");
    else
    return mapping.findForward("success1");
    ----------------Struts-config.xml------------
    <form-beans>
    <form-bean name="viewdownloadForm" type="ViewdownloadForm"/>
    </form-beans>
    <action-mappings>
    <action path="/Select"
    name="viewdownloadForm"
    type="ViewdownloadAction"
    input="/Select.jsp">
    <forward name="success" path="/Success.jsp"/>
    <forward name="success1" path="/Success1.jsp"/>
    </action>

  • Opening struts-config/ web.xml with Internet explorer

    Hi,
    I m facing a problem if i m tryin to open struts-config.xml or any other xml file using internet explorer.
    Following is the error which i got:
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    The system cannot locate the resource specified. Error processing resource 'http://jakarta.apache.org/struts/dtds/struts-co...
    Please help me in finding the solution for this.
    Thanks in Advance.

    hi
    I think your IE's security settings are causing this error. If you check
    Internet options -> Security, you'll see an option
    "access data sources across domains". Enable this option and try once again.

  • Solve equation with one unknown parameter (x)

    I am working on a Windows Phone program that calculates taxes due. One of the calculations is a formula/equation with an unknown 'x'. I have searched a lot on solving equations with vb but this really exceeds my - admittedly small - math knob. Perhaps you
    can help me out.
    The equation to solve is (for example):
    ((25000 + x) * 0.06) + x = 16500
    The only unknown variable is x. Does someone know the proper code to solve this equation?

    Are you looking to code some super-intelligent maths equation solver that can solve any type of equation (if so - good luck!)? Or are the equations you want to solve all of the same type?
    The example you gave is of the form (A + x) * B + x = C. You can rearrange that to (1 + B) * x + A * B = C and from there to x = (C - A * B) / (1 + B).
    If all your equations are in that form, you just need to identify the value of A, B and C and use the last formula I gave to calculate x.
    I wasn't going to do that for him.
    Let's see here, he's building a program for tax calculation and he can't do 8th grade algebra??
    Still lost in code, just at a little higher level.

  • Prob with struts config parse

    I tried to integrate a struts application into a portel by means of using a portlet,i followed the instructions given in the below link
    http://e-docs.bea.com/workshop/docs81/doc/en/core/index.html
    but when i select the struts config file, and click next, getting "cannot parse the struts config file" error from worshop 9.2. Please guide

    Looks good to me.
    What does the full error look like?
    What OS is it on? (maybe a character set conversion issue?)

  • How to  configure  for struts-config.xml

    Hi
    I am having a JSp which is Mapped to anothr action through the registration.The registartion is mapped to action
    <%@ page contentType="text/html;charset=UTF-8" %>
    <%@ page import="org.apache.struts.validator.ValidatorPlugIn" session="true" %>
    <%@ page import="org.apache.struts.Globals" %>
    <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
    <%@ taglib uri="/tags/struts-html" prefix="html" %>
    <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
    <html:html locale="true">
    <head>
    <title><bean:message key="index.title"/></title>
    <html:base/>
    </head>
    <body bgcolor="white">
    <logic:notPresent name="<%= Globals.MESSAGES_KEY %>" >
      <font color="red">
        ERROR:  Application resources not loaded -- check servlet container
        logs for error messages.
      </font>
    </logic:notPresent>
    <%-- :TODO: Need code to do this with moudles
    <logic:notPresent name="<%= ValidatorPlugIn.VALIDATOR_KEY %>" >
      <font color="red">
        ERROR:  Validator resources not loaded -- check Commons Logging
        logs for error messages.
      </font>
    </logic:notPresent>
    --%>
    <h3><bean:message key="registrationForm.title"/>1222AAAAAAAAAAAAA</h3>
    <ul>
      <li><html:link action="Test.jsp">Test212121.jsp</html:link >
       <li><html:link action="/registration"><bean:message key="registrationForm.title"/></html:link></li>
       <%System.out.println("hellooooooooooooo");%>
       <!-- :TODO: Should have a non-JaveScript message-by-field example -->
       <li>
          <html:link action="/jsRegistration"><bean:message key="jsRegistrationForm.title"/></html:link> -
          <bean:message key="jsRegistrationForm.description"/>
       </li>
       <li>
          <html:link action="/multiRegistration"><bean:message key="multiRegistrationForm.title"/></html:link> -
          <bean:message key="multiRegistrationForm.description"/>
       </li>
    </ul>
    <a href="registration.jsp">Registration Test</a>
    <p> </p>
    <h3><bean:message key="typeForm.title"/></h3>
    <ul>
       <li>
          <html:link action="/type"><bean:message key="typeForm.title"/></html:link> -
          <bean:message key="typeForm.description"/>
       </li>
       <li>
          <html:link action="/editJsType"><bean:message key="jsTypeForm.title"/></html:link> -
          <bean:message key="jsTypeForm.description"/>
       </li>
    </ul>
    <p> </p>
    <h3>Change Language | Changez Le Langage</h3>
    <ul>
       <li><html:link action="/locale?language=en">English | Anglais</html:link></li>
       <li>
          <html:link action="/locale?language=fr">French | Francais</html:link> -
          <bean:message key="localeForm.fr"/>
       </li>
       <li>
          <html:link action="/locale?language=fr&country=CA">French Canadian | Francais Canadien</html:link> -
          <bean:message key="localeForm.frCA"/>
       </li>
       <li>
          <html:link action="/locale?language=ja" useLocalEncoding="true">Japanese | Japonais</html:link> -
          <bean:message key="localeForm.ja"/>
       </li>
    </ul>
    <p> </p>
    ==============struts-config.xml=================\<?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
    "http://struts.apache.org/dtds/struts-config_1_2.dtd">
    <struts-config>
    <!--============================================== Form Bean Definitions -->
    <form-beans>
    <!-- Registration form bean -->
    <form-bean name="registrationForm" type="validator.RegistrationForm" />
    <!-- Multi-Part Registration form bean -->
    <form-bean name="multiRegistrationForm" type="validator.RegistrationForm" />
    <!-- Type form bean -->
    <form-bean name="typeForm" type="validator.TypeForm" />
    <!-- JavaScript Type form bean -->
    <form-bean name="jsTypeForm" type="validator.TypeForm" />
    </form-beans>
    <!-- ======================================== Global Forward Definitions -->
    <global-forwards>
    <forward name="home" path="/index.jsp" />
    </global-forwards>
    <!-- ========================================= Action Mapping Definitions -->
    <action-mappings>
    <action path="/welcome" forward="/index.jsp" />
    <!-- Registration Action
         -->
    <forward name="registration" path="/registration.do" /> //// ==========>here it is mapped
         <action path="/registration" forward="/registration.jsp" />
         <action path="/registration-submit" type="validator.RegistrationAction" name="registrationForm" scope="request" validate="true" input="input">
    <forward name="input" path="/registration.do" />
    <forward name="success" path="/index.jsp" />
    </action>
         <action path="/jsRegistration" forward="/jsRegistration.jsp" />
    <!-- Multi-Part Registration Action -->
    <action path="/multiRegistration" forward="/multiRegistration1.jsp" />
    <action path="/multiRegistration-submit" type="validator.MultiRegistrationAction" name="multiRegistrationForm" scope="request" validate="false">
    <forward name="success" path="/welcome.do" />
    <forward name="input1" path="/multiRegistration1.jsp" />
    <forward name="input2" path="/multiRegistration2.jsp" />
    </action>
    <!-- Type Action -->
    <action path="/type" forward="/type.jsp" />
    <action path="/type-submit" type="validator.TypeAction" name="typeForm" scope="request" validate="true" input="input">
    <forward name="input" path="/type.do" />
    <forward name="success" path="/welcome.do" />
    </action>
    <!-- JavaScript Type Action -->
    <action path="/editJsType" type="validator.EditTypeAction" scope="request" validate="false">
    <forward name="success" path="/jsType.do" />
    </action>
    <action path="/jsType" forward="/jsType.jsp" />
    <action path="/jsType-submit" type="validator.TypeAction" name="jsTypeForm" scope="request" validate="true" input="input">
    <forward name="input" path="/editJsType-submit.do?typeForm.reset=false" />
    <forward name="success" path="/welcome.do" />
    </action>
    <!-- Locale Action -->
    <action path="/locale" type="validator.LocaleAction" name="localeForm" scope="request">
    <forward name="success" path="/welcome.do" />
    </action>
    </action-mappings>
    <!-- ============================================= Controller Definition -->
    <controller inputForward="true" />
    <!-- ===================================== Message Resources Definitions -->
    <message-resources parameter="validator.MessageResources" />
    <!-- ============================================ Plug Ins Configuration -->
    <!--
    Add multiple validator resource files by setting the pathnames property
    with a comma delimitted list of resource files to load.
    -->
    <plug-in className="validator.ValidatorPlugIn">
    <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validator/validation.xml" />
    <set-property property="stopOnFirstError" value="true" />
    </plug-in>
    </struts-config>
    <html:img page="/struts-power.gif" altKey="index.powered"/>
    </body>
    </html:html>

    Hey,
    U can do it the way u want. Use DispatchAction Class instead of Action Class. Just go through the documentation for this. If u still have problem let me know.
    Thanks
    KM
    Hi,
    I am new to struts and when i am doing my application i find some >>difficulty i.e,
    I have two buttons on a jsp page Save,Delete.when I click on >>save ,saveAction must be called.if we click delete deleteAction to be >>called.
    for this how can I configure in struts-config.xml file. and how it >>knows which button has been clicked.
    Can any one please guid me.
    Thanks

  • Error regarding to the configuration of "Data Source" in Struts-config.xml

    Hi,
    Any 1 just help me out. I am using NetBeans 4.1 bundeled with Sun App server 8.1. Now I wanted to make the database connectivity with the front -end using"Data-source" tag in the struts-config.xml file . I am using the Oracle 9i as database.But I am not able to do it , it's showing me again and again error.I got realy fed up with this. I have checked the code as well as the the struts-config.xml file syntaxes with many other books and online resources, I couldn't find any sort of anomaly over here.So some 1 plzz help me regarding this as early as possible.I am attaching the Struts-config .xml file code as well as the error messaage over here.
    Struts-config.xml file code is...
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
    "http://struts.apache.org/dtds/struts-config_1_2.dtd">
    <struts-config>
    <!-- ============================================ Data Source Configuration -->
    <data-sources>
    <data-source type="org.apache.commons.dbcp.BasicDataSource" key="RoseKey">
    <set-property
    property="driverClassName"
    value="oracle.jdbc.driver.OracleDriver" />
    <set-property
    property="url"
    value="jdbc:oracle:thin://10.31.8.49:1521:USGFS" />
    <set-property
    property="username"
    value="EPTP2DEV" />
    <set-property
    property="password"
    value="EPTP2DEV" />
    <set-property
    property="maxActive"
    value="10" />
    <set-property
    property="maxWait"
    value="5000" />
    <set-property
    property="defaultAutoCommit"
    value="false" />
    <set-property
    property="defaultReadOnly"
    value="false" />
    <!--set-property
    property="validationQuery"
    value="SELECT COUNT(*) FROM address" /-->
    </data-source>
    </data-sources>
    <!-- ======================================== Form Bean Definitions -->
    <form-beans>
    <form-bean
    name="AddressForm"
    type="app.AddressForm"/>
    <form-bean
    name="DVDForm"
    type="app.DVD"/>
    </form-beans>
    <!-- =================================== Global Forward Definitions -->
    <!--global-forwards>
    <forward
    name="logoff"
    path="/Logoff.do"/>
    <forward
    name="logon"
    path="/Logon.do"/>
    <forward
    name="welcome"
    path="/Welcome.do"/>
    </global-forwards-->
    <!--global-forward>
    <forward
    name="Address1"
    path="/pages/Address.jsp"/>
    </global-forward-->
    <!-- =================================== Action Mapping Definitions -->
    <action-mappings>
    <!--action
    path="/Welcome"
    type="org.apache.struts.actions.ForwardAction"
    parameter="/pages/Welcome.jsp"/>
    <action
    path="/Logon"
    type="org.apache.struts.actions.ForwardAction"
    parameter="/pages/Logon.jsp"/-->
    <action
    path="/Address"
    type="app.AddressAction"
    name="AddressForm"
    scope="request"
    validate="true"
    input="/pages/Address.jsp">
    <forward
    name="success"
    path="/pages/success.jsp"/>
    </action>
    <action
    path="/TestAction"
    type="app.TestAction">
    <forward
    name="testAction"
    path="/pages/TestAction.jsp"/>
    </action>
    <action
    path="/TestDVD"
    type="app.DVDAction"
    name="DVDForm">
    <forward
    name="testDVD"
    path="/pages/Movie.jsp"/>
    </action>
    <action
    path="/DataSource"
    type="app.TestDataSource">
    <forward
    name="joy"
    path="/pages/joy.jsp"/>
    </action>
    </action-mappings>
    <message-resources parameter="resources.ApplicationResources"/>
    </struts-config>
    And the error I am getting in the Server console is ..
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io exception: The Network Adapter could not establish the connection)
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
    at org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:598)
    at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:808)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:335)
    at javax.servlet.GenericServlet.init(GenericServlet.java:261)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4536)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
    at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
    at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1279)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1006)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:238)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
    at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
    at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
    at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
    ... 92 more
    AND..
    javax.servlet.UnavailableException: Initializing application data source RoseKey
    at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:812)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:335)
    at javax.servlet.GenericServlet.init(GenericServlet.java:261)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4536)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
    at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
    at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1279)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1006)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:238)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
    at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Plz some1 help me as soon as possible with some ideas so that I can resolve the issue.

    Hi Amit Garg,
    <data-sources>
    <data-source type = "org.apache.commons.dbcp.BasicDataSource" key = "DBA">
    </data-source>
    <data-sources>
    <data-source type = "org.apache.commons.dbcp.BasicDataSource" key = "AISDEV">
    </data-source>
    </data-sources>
    u just configure ur struts-config.xml file in the above manner and use the following steps in ur action servlet to retrive the DataSource object
    getDatasource(request,"DBA") for accessing first datasource
    getDatasource(request,"AISDEV") for accessing second datasource.
    byeeeeee

  • No route to host:connect -- error in the struts-config.xml file

    hi all,
    acutally am doing a struts application in that i have written everything properly
    but getting this kinda no route to host:connect error
    my struts-config.xml file is like this...
    <struts-config>
    <form-beans>
    <form-bean name="myForm" type="MyForm">
    </form-beans>
    <action-mappings>
    <action path="/action"
                   name="myForm"
                   type="MyAction"
                   scope="request"
                   validate="true" >
                   <forward name="success" path="/success.jsp" />
                   <forward name="failure" path="/failure.jsp" />
         </action>
    </action-mappings>
    </struts-config>
    sikandar 

    Hi Lee,
    I am working on Oracle ADF 10.1.2 and getting the same problem. The lines in my struts-config.xml are as below:
    <action path="/unitsView" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.UnitsViewAction" name="DataForm" parameter="/unitsView.uix" unknown="false">
    <set-property property="modelReference" value="unitsViewUIModel"/>
    <forward name="unitsEditLink" path="/unitsEdit.do"/>
    </action>
    <action path="/unitsView" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.UnitsViewAction" name="DataForm" parameter="/unitsView.uix" unknown="false">
    <set-property property="modelReference" value="unitsViewUIModel"/>
    <forward name="unitsCreateLink" path="/unitsCreate.do"/>
    </action>
    I have two lines with [action path="/unitsView"]. The reason why is that I want the user to go to the form create screen for the create button and form edit screen for the edit button. If this does not work, it seems to mean that only a single screen can be used for create/edit functions. However, the ADF editor diagram looks perfectly to point to create.uix and edit.uix respectively.
    Please shed some light.
    Thanks,
    Regards,
    Michael

  • Console link to source not working/ struts-config.xml visual

    - Running jboss/tomcat under the NitroX server debugging, a stack trace
    is spit out. I click on the line in the stack trace that references my
    code, and it gives me: 'Source not found for x.y.z '. This used to work
    when I ran under the jbossIDE server config.
    - When I open my struts-config.xml file, the visual display appears
    broken. It only displays 2 action classes, and nothing else. There's a
    whole lot more than that in there. Is there something in my
    struts-config file it doesn't like?
    Here's the file:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
    Struts Configuration 1.1//EN"
    "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <!-- ========== Data Sources Definitions
    ================================== -->
    <!--
    Define your Struts data sources in a file called
    struts-data-sources.xml and place
    it in your merge directory.
    -->
    <!-- ========== Form Bean Definitions
    =================================== -->
    <form-beans>
    <form-bean
    name="Scheduling_NewCallBean"
    type="com.pubco.icu.struts.scheduling.newcall.NewCallBean"
    />
    <form-bean
    name="Reports_AttendeeReportBean"
    type="com.pubco.icu.struts.report.attendees.attendeeReportBean"
    />
    <form-bean
    name="Reports_AltListingsReportBean"
    type="com.pubco.icu.struts.report.alternate.altListingsReportBean"
    />
    <form-bean
    name="Maintenance_AdBean"
    type="com.pubco.icu.struts.maintenance.ad.AdBean"
    />
    <form-bean
    name="Maintenance_MarketBean"
    type="com.pubco.icu.struts.maintenance.market.MarketBean"
    />
    <form-bean
    name="Maintenance_AssignWarehouseBean"
    type="com.pubco.icu.struts.maintenance.assignWarehouse.AssignWarehouseBean"
    />
    <form-bean
    name="Reports_ContractorReportBean"
    type="com.pubco.icu.struts.report.contractor.contractorReportBean"
    />
    <form-bean
    name="Maintenance_MeetingFormBean"
    type="com.pubco.icu.struts.FormBeanBase"
    />
    <form-bean
    name="Maintenance_MeetingFormBean"
    type="com.pubco.icu.struts.maintenance.meeting.MeetingFormBean"
    />
    <form-bean
    name="Scheduling_ContractorBean"
    type="com.pubco.icu.struts.scheduling.contractor.ContractorBean"
    />
    <form-bean
    name="Reports_SingleContractorBean"
    type="com.pubco.icu.struts.report.singleContractor.singleContractorBean"
    />
    <form-bean
    name="Maint_AltReasonFormBean"
    type="com.pubco.icu.struts.maintenance.altReason.AltReasonFormBean"
    />
    <form-bean
    name="Reports_AdResponseReportBean"
    type="com.pubco.icu.struts.report.adResponses.adResponseReportBean"
    />
    <form-bean
    name="Maintenance_ManagerFormBean"
    type="com.pubco.icu.struts.maintenance.manager.ManagerFormBean"
    />
    <form-bean
    name="Maintenance_WarehouseBean"
    type="org.apache.struts.action.DynaActionForm">
    <form-property name="comments" type="java.lang.String" />
    <form-property name="directions" type="java.lang.String" />
    <form-property name="phoneExt" type="java.lang.String" />
    <form-property name="warehouseId" type="java.lang.String" />
    <form-property name="apartmentNbr" type="java.lang.String" />
    <form-property name="city" type="java.lang.String" />
    <form-property name="faxNbr" type="java.lang.String" />
    <form-property name="houseNbr" type="java.lang.String" />
    <form-property name="phoneNbr" type="java.lang.String" />
    <form-property name="state" type="java.lang.String" />
    <form-property name="streetName" type="java.lang.String" />
    <form-property name="streetPost" type="java.lang.String" />
    <form-property name="streetPrefix" type="java.lang.String" />
    <form-property name="streetSuffix" type="java.lang.String" />
    <form-property name="warehouseName" type="java.lang.String" />
    <form-property name="zipCode" type="java.lang.String" />
    <form-property name="title" type="java.lang.String" />
    <form-property name="archive" type="java.lang.Boolean" />
    </form-bean>
    </form-beans>
    <!-- ========== Global Exceptions Definitions
    =================================== -->
    <!--
    Define your exceptions in a file called global-exceptions.xml and place
    it in your merge directory.
    -->
    <!-- ========== Global Forward Definitions
    =================================== -->
    <global-forwards>
    <forward name="failed" path="/systemError.jsp"/>
    <forward name="start" path="/start.do"/>
    </global-forwards>
    <!-- ========== Action Mapping Definitions
    =================================== -->
    <action-mappings>
    <action
    path="/scheduling/newcall/LocationListPrep"
    type="com.pubco.icu.struts.scheduling.newcall.LocationListPrep"
    name="Scheduling_NewCallBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/scheduling/newcall/locationList.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/market/ImportData"
    type="com.pubco.icu.struts.maintenance.market.ImportData"
    name="Maintenance_MarketBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    /action
    <action
    path="/scheduling/newcall/MeetingListPrep"
    type="com.pubco.icu.struts.scheduling.newcall.MeetingListPrep"
    name="Scheduling_NewCallBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/scheduling/newcall/MeetingListLookup.do"
    redirect="false"
    />
    </action>
    <action
    path="/report/attendees/meetingDirectoryPrep"
    type="com.pubco.icu.struts.report.attendees.meetingAttendeesDirectoryPrep"
    name="Reports_AttendeeReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/attendees/attendeeReportRequestPage.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/report/attendees/meetingAttendeesSubmit"
    type="com.pubco.icu.struts.report.attendees.meetingAttendeesSubmit"
    name="Reports_AttendeeReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/attendees/attendeeReportRequestPage.jsp"
    redirect="false"
    />
    <forward
    name="runReport"
    path="/report/attendees/attendeeReportDisplayPage.jsp"
    redirect="false"
    />
    <forward
    name="failed"
    path="/report/attendees/attendeeReportRequestPage.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/market/LocationListLookup"
    type="com.pubco.icu.struts.maintenance.market.LocationListLookup"
    name="Maintenance_MarketBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="successAdd"
    path="/maintenance/market/locationEdit.jsp"
    redirect="false"
    />
    <forward
    name="successEdit"
    path="/maintenance/market/locationEdit.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/ad/AdDetailPrep"
    type="com.pubco.icu.struts.maintenance.ad.AdDetailPrep"
    name="Maintenance_AdBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/ad/adDetail.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/report/contractor/contractorReportPrinterPrep"
    type="com.pubco.icu.struts.report.contractor.contractorReportPrinterPrep"
    name="Reports_ContractorReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/contractor/contractorReportPrinter.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/meeting/AttendeeDetailPrep"
    type="com.pubco.icu.struts.maintenance.meeting.AttendeeDetailPrep"
    name="Maintenance_MeetingFormBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/meeting/attendeeDetail.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/ad/AdMktSubmit"
    type="com.pubco.icu.struts.maintenance.ad.AdMktSubmit"
    name="Maintenance_AdBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/ad/AdEditPrep.do"
    redirect="false"
    />
    <forward
    name="cancel"
    path="/maintenance/ad/AdEditPrep.do"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/assignWarehouse/AssignWarehouseListPrep"
    type="com.pubco.icu.struts.maintenance.assignWarehouse.AssignWarehouseListPrep"
    name="Maintenance_AssignWarehouseBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/assignWarehouse/assignWarehouseList.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/report/adResponses/adResponsePrep"
    type="com.pubco.icu.struts.report.adResponses.adResponsePrep"
    name="Reports_AdResponseReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/adResponses/adResponseReportRequest.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/assignWarehouse/AssignWarehouseListLookup"
    type="com.pubco.icu.struts.maintenance.assignWarehouse.AssignWarehouseListLookup"
    name="Maintenance_AssignWarehouseBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/assignWarehouse/assignWarehouseList.jsp"
    redirect="false"
    />
    <forward
    name="cancel"
    path="/start.do"
    redirect="false"
    />
    <forward
    name="failed"
    path="/maintenance/assignWarehouse/assignWarehouseList.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/report/contractor/sendEmails"
    type="com.pubco.icu.struts.report.contractor.SendEmails"
    name="Reports_ContractorReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="letterEntry"
    path="/report/contractor/sendEmails.jsp"
    redirect="false"
    />
    <forward
    name="sendItDone"
    path="/report/contractor/sendEmailsDone.jsp"
    redirect="false"
    />
    <forward
    name="failed"
    path="/report/contractor/sendEmails.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/ad/AdEditSubmit"
    type="com.pubco.icu.struts.maintenance.ad.AdEditSubmit"
    name="Maintenance_AdBean"
    scope="session"
    parameter="AdEditSubmit_action"
    unknown="false"
    validate="true"
    >
    forward
    name="cancel"
    path="/maintenance/ad/AdListLookup.do"
    redirect="false"
    />
    <forward
    name="failed"
    path="/maintenance/ad/AdEditPrep.do"
    redirect="false"
    />
    <forward
    name="addDirectory"
    path="/maintenance/ad/AdMktPrep.do"
    redirect="false"
    />
    <forward
    name="successUpdate"
    path="/maintenance/ad/AdListLookup.do"
    redirect="false"
    />
    <forward
    name="successIncrease"
    path="/maintenance/ad/AdEditPrep.do"
    redirect="false"
    />
    <forward
    name="successDecrease"
    path="/maintenance/ad/AdEditPrep.do"
    redirect="false"
    />
    <forward
    name="successDelete"
    path="/maintenance/ad/AdEditPrep.do"
    redirect="false"
    />
    </action>
    <action
    path="/scheduling/newcall/AdListPrep"
    type="com.pubco.icu.struts.scheduling.newcall.AdListPrep"
    name="Scheduling_NewCallBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/scheduling/newcall/adList.jsp"
    redirect="false"
    />
    <forward
    name="notallowed"
    path="/scheduling/newcall/LocationListLookup.do"
    redirect="false"
    />
    </action>
    <action
    path="/report/adResponses/adResponsesSubmit"
    type="com.pubco.icu.struts.report.adResponses.adResponsesSubmit"
    name="Reports_AdResponseReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/adResponses/adResponseReportDisplay.jsp"
    redirect="false"
    />
    <forward
    name="failed"
    path="/report/adResponses/adResponsePrep.do"
    redirect="false"
    />
    </action>
    <action
    path="/report/alternate/alternateListsSubmit"
    type="com.pubco.icu.struts.report.alternate.alternateListsSubmit"
    name="Reports_AltListingsReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/alternate/altListsReportDisplayPage.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/scheduling/contractor/ContractorListPrep"
    type="com.pubco.icu.struts.scheduling.contractor.ContractorListPrep"
    name="Scheduling_ContractorBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/scheduling/contractor/ContractorListLookup.do"
    redirect="false"
    />
    </action>
    <action
    path="/report/singleContractor/singleContractorPrep"
    type="com.pubco.icu.struts.report.singleContractor.singleContractorPrep"
    name="Reports_SingleContractorBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/contractor/singleContractorDisplay.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/market/DirectoryListPrep"
    type="com.pubco.icu.struts.maintenance.market.DirectoryListPrep"
    name="Maintenance_MarketBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/market/DirectoryListLookup.do"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/altReason/AltReasonDetailPrep"
    type="com.pubco.icu.struts.maintenance.altReason.AltReasonDetailPrep"
    name="Maint_AltReasonFormBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/altReason/AltReasonDetail.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/scheduling/newcall/LocationListLookup"
    type="com.pubco.icu.struts.scheduling.newcall.LocationListLookup"
    name="Scheduling_NewCallBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/scheduling/newcall/locationList.jsp"
    redirect="false"
    />
    <forward
    name="failed"
    path="/scheduling/newcall/locationList.jsp"
    redirect="false"
    />
    <forward
    name="tryAgain"
    path="/scheduling/newcall/LocationListLookup.do"
    redirect="false"
    />
    </action>
    <action
    path="/scheduling/contractor/ContractorListLookup"
    type="com.pubco.icu.struts.scheduling.contractor.ContractorListLookup"
    name="Scheduling_ContractorBean"
    scope="session"
    parameter="ContractorListLookup_action"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/scheduling/contractor/contractorList.jsp"
    redirect="false"
    />
    <forward
    name="failed"
    path="/scheduling/contractor/contractorList.jsp"
    redirect="false"
    />
    <forward
    name="addContractor"
    path="/scheduling/contractor/ContractorListSubmit.do?action=add"
    redirect="false"
    />
    <forward
    name="findMeetings"
    path="/scheduling/contractor/ContractorListSubmit.do?action=findMeetings"
    redirect="false"
    />
    <forward
    name="editContractor"
    path="/scheduling/contractor/ContractorListSubmit.do?action=edit"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/altReason/AltReasonListLookup"
    type="com.pubco.icu.struts.maintenance.altReason.AltReasonListLookup"
    name="Maint_AltReasonFormBean"
    scope="session"
    parameter="AltReasonListLookup_action"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/altReason/AltReasonList.jsp"
    redirect="false"
    />
    <forward
    name="failed"
    path="/maintenance/altReason/AltReasonList.jsp"
    redirect="false"
    />
    <forward
    name="add"
    path="/maintenance/altReason/AltReasonDetailPrep.do"
    redirect="false"
    />
    </action>
    <action
    path="/start"
    type="com.pubco.icu.struts.Start"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/title.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/meeting/AttendeeListLookup"
    type="com.pubco.icu.struts.maintenance.meeting.AttendeeListLookup"
    name="Maintenance_MeetingFormBean"
    scope="session"
    parameter="AttendeeListLookup_action"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/meeting/attendeeList.jsp"
    redirect="false"
    />
    <forward
    name="successOK"
    path="/maintenance/meeting/MeetingDetailPrep.do"
    redirect="false"
    />
    <forward
    name="cancel"
    path="/maintenance/meeting/MeetingDetailPrep.do"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/warehouse/WarehouseDetailPrep"
    type="com.pubco.icu.struts.maintenance.warehouse.WarehouseDetailPrep"
    name="Maintenance_WarehouseBean"
    scope="session"
    parameter="WarehouseDetailPrep_action"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/warehouse/warehouseDetail.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/scheduling/newcall/MeetingListLookup"
    type="com.pubco.icu.struts.scheduling.newcall.MeetingListLookup"
    name="Scheduling_NewCallBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/scheduling/newcall/meetingList.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/meeting/AttendeeListSubmit"
    type="com.pubco.icu.struts.maintenance.meeting.AttendeeListSubmit"
    name="Maintenance_MeetingFormBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/meeting/MeetingDetailPrep.do"
    redirect="false"
    />
    </action>
    <action
    path="/scheduling/contractor/ContractorListSubmit"
    type="com.pubco.icu.struts.scheduling.contractor.ContractorListSubmit"
    name="Scheduling_ContractorBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="successNewCall"
    path="/scheduling/newcall/FinishContractor.do"
    redirect="false"
    />
    <forward
    name="successAdd"
    path="/scheduling/contractor/contractorDetail.jsp"
    redirect="false"
    />
    <forward
    name="successEdit"
    path="/scheduling/contractor/contractorDetail.jsp"
    redirect="false"
    />
    <forward
    name="successFindMeetings"
    path="/scheduling/contractor/meetings.jsp"
    redirect="false"
    />
    <forward
    name="successRecruit"
    path="/scheduling/contractor/ContractorListLookup.do"
    redirect="false"
    />
    <forward
    name="successAlternateEdit"
    path="/scheduling/contractor/alternateEdit.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/scheduling/newcall/AdListSubmit"
    type="com.pubco.icu.struts.scheduling.newcall.AdListSubmit"
    name="Scheduling_NewCallBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/scheduling/newcall/MeetingListPrep.do"
    redirect="false"
    />
    </action>
    <action
    path="/report/attendees/attendeeReportDisplayPrinter"
    type="com.pubco.icu.struts.report.attendees.attendeeReportDisplayPrinter"
    name="Reports_AttendeeReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/attendees/attendeeReportDisplayPrinter.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/report/adResponses/adResponseReportPrinterPrep"
    type="com.pubco.icu.struts.report.adResponses.adResponseReportPrinterPrep"
    name="Reports_AdResponseReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/adResponses/adResponseReportPrinter.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/meeting/ManagerAdd"
    type="com.pubco.icu.struts.maintenance.meeting.ManagerAdd"
    name="Maintenance_MeetingFormBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/meeting/MeetingListLookup.do"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/manager/ManagerListPrep"
    type="com.pubco.icu.struts.maintenance.manager.ManagerListPrep"
    name="Maintenance_ManagerFormBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/manager/ManagerListLookup.do"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/ad/AdDetailSubmit"
    type="com.pubco.icu.struts.maintenance.ad.AdDetailSubmit"
    name="Maintenance_AdDetailBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/ad/AdListPrep.do"
    redirect="false"
    />
    <forward
    name="cancel"
    path="/maintenance/ad/AdListPrep.do"
    redirect="false"
    />
    <forward
    name="failed"
    path="/maintenance/ad/adDetail.jsp"
    redirect="false"
    />
    <forward
    name="successInsert"
    path="/maintenance/ad/AdListPrep.do"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/warehouse/WarehouseListLookup"
    type="com.pubco.icu.struts.maintenance.warehouse.WarehouseListLookup"
    name="Maintenance_WarehouseBean"
    scope="session"
    parameter="WarehouseListLookup_action"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/warehouse/warehouseList.jsp"
    redirect="false"
    />
    <forward
    name="add"
    path="/maintenance/warehouse/WarehouseDetailPrep.do"
    redirect="false"
    />
    </action>
    <action
    path="/report/alternate/altListingsReportPrinterPrep"
    type="com.pubco.icu.struts.report.alternate.altListingsReportPrinterPrep"
    name="Reports_AltListingsReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/alternate/altListsReportPrinterDisplay.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/manager/ManagerListLookup"
    type="com.pubco.icu.struts.maintenance.manager.ManagerListLookup"
    name="Maintenance_ManagerFormBean"
    scope="session"
    parameter="ManagerListLookup_action"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/manager/managerList.jsp"
    redirect="false"
    />
    <forward
    name="failed"
    path="/maintenance/manager/managerList.jsp"
    redirect="false"
    />
    <forward
    name="successAddForMeeting"
    path="/maintenance/meeting/ManagerAdd.do"
    redirect="false"
    />
    <forward
    name="cancelAddForMeeting"
    path="/maintenance/meeting/MeetingListLookup.do"
    redirect="false"
    />
    </action>
    <action
    path="/scheduling/contractor/SendEmail"
    type="com.pubco.icu.struts.scheduling.contractor.SendEmail"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/scheduling/newcall/emailConfirmation.jsp"
    redirect="false"
    />
    <forward
    name="failed"
    path="/scheduling/contractor/meetings.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/market/DirectoryListLookup"
    type="com.pubco.icu.struts.maintenance.market.DirectoryListLookup"
    name="Maintenance_MarketBean"
    scope="session"
    parameter="DirectoryListLookup_action"
    unknown="false"
    validate="true"
    >
    forward
    name="add"
    path="/maintenance/market/directoryAdd.jsp"
    redirect="false"
    />
    <forward
    name="success"
    path="/maintenance/market/directoryList.jsp"
    redirect="false"
    />
    <forward
    name="importData"
    path="/maintenance/market/ImportData.do"
    redirect="false"
    />
    <forward
    name="editSuccess"
    path="/maintenance/market/directoryEdit.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/meeting/AttendeeListPrep"
    type="com.pubco.icu.struts.maintenance.meeting.AttendeeListPrep"
    name="Maintenance_MeetingFormBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/meeting/AttendeeListLookup.do"
    redirect="false"
    />
    </action>
    <action
    path="/report/contractor/contractorSubmit"
    type="com.pubco.icu.struts.report.contractor.contractorSubmit"
    name="Reports_ContractorReportBean"
    scope="session"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/report/contractor/contractorReportDisplay.jsp"
    redirect="false"
    />
    </action>
    <action
    path="/maintenance/meeting/MeetingDetailSubmit"
    type="com.pubco.icu.struts.maintenance.meeting.MeetingDetailSubmit"
    name="Maintenance_MeetingFormBean"
    scope="session"
    parameter="MeetingDetailSubmit_action"
    unknown="false"
    validate="true"
    >
    forward
    name="success"
    path="/maintenance/meeting/MeetingListLookup.do"
    redirect="false"
    />
    <forward
    name="cancel"
    path="/maintenance/meeting/MeetingListLookup.do"
    redirect="false"
    />
    <forward
    name="failed"
    path="/maintenance/meeting/

    Thanks for reply..
    We r invoking javascript/css using relative path only.
    i'm redirecting to the same page only if error happens with including error page
    <script language="javascript" type="text/javascript" src="js-modEmp/addEmpval.js">
    </script>
    <script language="javascript" type="text/javascript" src="js-modEmp/datetimepicker.js">
    </script>
    <link rel="stylesheet" type="text/css" href="css-modEmp/styles.css">

Maybe you are looking for

  • How to use RDP client through a proxy ?

    Hi, we have some users in our LAN that have to connect to external RDP servers. Those servers don't use RDP Gateway (and we are not the owner of those servers). We dont want to open specific trafic from our LAN to those IP Adress on port 3389; we pre

  • AnyConnect 2.5 vs 3.1

    Starting to upgrade our ASA 5505 devices (2).  Moving from asa844-k8.bin, asdm-649.bin, and anyconnect-win-2.5.3055-k9.pkg, to asa844-1-k8.bin, asdm-649-103.bin, and a new version of anyconnect-win. I can't find any documentation on anyconnect-win-2.

  • HELP! cannot find WATCHES pane in workshop

    hi, all, my problem is that since i accidently closed the WATCHES pane when i was debugging some piece of code, i could never opened that WATCHES pane again. while i was debugging by using break points, i could see the menu: view->debug windows->watc

  • Customer inquiry workflow

    Hi, guys Is it possible to customize the email notification I receive in the customer inquiry workflow? The problem is that they all look the same when they come in and it takes time to hunt and peck and find differences. It's be great if the email c

  • Please Help - I have lost 6 months of photos after a HD failure

    Hi - my Hard Disk on my MacBook Pro died on me a few days ago. I have had it replaced and was lucky enough to have a Time Machine backup of my laptop. EXCEPT when I launch iPhoto, the only library it can find is from February!!! Does anyone know what