Sample struts project

Greetings,
hi I need simple struts project. will u please tell me the struts project site or anybody have struts related project. please give me.so urgent.

try to download the chapter code from wrox.com with the title:
beginning java server pages, chapter 21.
u have an Personalized portal project in that chapter which clearly explains the usage of struts

Similar Messages

  • Html:link not working in struts project driving me mad, please help...

    Afternoon all,
    Can anyone help me with an issue I'm having with my first struts project, I'm learning as I go.
    Anyway, I'm trying to create a bog standard hypertext link which passes a value back to a specified struts action. The flow of the application
    is as follows:
    1) search.jsp
    User enters a name and postcode to search on, then click submit
    2) searchAction
    Struts action 'search' is called and does the search in a back-end db.
    Each result found from search is created as a javabean (named resultsBean), and added to a list object. The list object is set as a request
    attribute named 'SearchResults'.
    The action is then forwarded on to another jsp page named results.jsp
    3) results.jsp
    The results.jsp page retrieves the list object from the 'SearchResults' attribute and loops through each entry
    in the list and converts each entry to the 'resultsBean' javabean object.
    Each resultsBean object has a getVirtualID method which stores a string value. This value is retrieved and a hypertext link is created which
    passes this value on to another struts action named 'select'.
    When this link is clicked on, the select struts action is called and the value passed as a parameter is retrieved.
    This is the part I can't get to work, I can't get the link to render properly. When I click the link the select action retrieves
    & lt;%= resultsBean.getVirtualID() & gt; as the value of the parameter 'vid' instead of the value stored in the getVirtualID method of the resultsBean.
    Listed below is the code from my results.jsp page. If anyone can help me get this to work I would be very grateful.
    Thanks in advance,
    Alex
    results.jsp code
    <%
       List searchResults = (List)portletRequest.getPortletSession().getAttribute("SearchResults");
    %>
    <div id="table_layout" style="width: 713px; margin: 0px 0px 0px 3px;">
      <div id="row">
        <div id="column"><img src='<%= response.encodeURL("/images/results.gif") %>' alt="" width="223" height="159" border="0" /></div>
         <div id="column" style="width: 30px;"></div>
         <div id="column">
          <div id="table_layout" style="width: 460px;">
            <div id="row" style="width: 430px; border-bottom: 1px solid #4e137d;">
              <div id="column" style="width: 155px;">Name</div>
              <div id="column" style="width: 10px;"> </div>
              <div id="column" style="width: 130px;">Address</div>
              <div id="column" style="width: 10px;"> </div>
              <div id="column" align="right" style="width: 120px;">References</div>
            </div>
    <% if (searchResults.size() > 0) {
           Iterator it = searchResults.subList(0, searchResults.size()).iterator();
           ResultsBean resultsBean = new ResultsBean();
           while (it.hasNext()) {
                resultsBean = (ResultsBean)it.next(); %>
            <div id="row" style="padding: 5px 0px 10px 0px;">
              <div id="column" style="width: 155px;"><html:link styleClass="results"  page="/select.do?vid='<%= resultsBean.getVirtualId() %>'" title="<%= resultsBean.getFullName() %>"><%= resultsBean.getFullName() %></html:link></div>
              <div id="column" style="width: 10px;"></div>
              <div id="column" style="width: 130px;"><%= resultsBean.getFullAddress() %></div>
              <div id="column" style="width: 10px;"></div>
              <div id="column" align="right" style="width: 120px;"><%= resultsBean.getReferenceIcons(portletResponse) %></div>
              <div id="column" style="width: 13px;"></div>
              <div id="column" style="width: 22px;"><input id="<%= resultsBean.getVirtualId() %>" name="ckbox" type="checkbox" value="" title="tick to select for merging" style="border: 0px solid #ffffff;"></div>
            </div>
    <%     }
       } %>
           </div>
         </div>
      </div>
    </div>
    <br />
    <br />
    <html:link forward="/searchpage">Return to search page</html:link>

    If you have part of an attribute dynamic, you need to make the entire attribute an expression.
    ie instead of
    page="/select.do?vid='<%= resultsBean.getVirtualId() %>'"
    it has to be
    page="<%= "/select.do?vid=" + resultsBean.getVirtualID() %>"
    However for my approach, I would aim for zero scriptlets, and use the struts tags even more. For instance instead of an iterator, use the struts logic:iterate tag (or the JSTL c:forEach>
    Also instead of div tags, I would use html table tags - <table> <tr><td> etc etc. Thats what its for right?
    Here is at least some of it rewritten with struts tags.
    I left out the div tags so I could focus on the "important" stuff.
    <logic:iterate id="resultsBean" name="SearchResults">
      <html:link styleClass="results"  page="/select.do" paramId="vid" paramName = "resultsBean" paramProperty="virtualId">
        <bean:write name="resultsBean" property="fullName"/>
      </html:link>
      <bean:write name="resultsBean" property="fullAddress"/>
    <%= resultsBean.getReferenceIcons(portletResponse) %>
    <input id="<%= resultsBean.getVirtualId() %>" name="ckbox" type="checkbox" value="" title="tick to select for merging" style="border: 0px solid #ffffff;">
    </logic:iterate>I'm not entirely certain what you are doing with that checkbox at the end. They all have the same name, but no value. You couldn't identify at the server end which one was clicked.
    Hope this helps some,
    evnafets

  • Need sample ALSB project migration to OSB 11g environment

    Hi
    I'm looking for sample ALSB project migration to OSB 11g environment and as well as steps to automate deployment of OSB 11g projects by using WLST
    Can some one please help me out in regards to the same
    Thanks
    Ram.S

    Please find the build.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <project name="ConfigExport">
    <property file="./build.properties"/>
    <property name="metadata.dir" value="${workspace.dir}/.metadata"/>
    <property name="domain.export.script" value="export.py" />
    <property name="domain.import.script" value="import.py" />
    <path id="library.osb">
    <fileset dir="${osb.home}/modules">
    <include name="com.bea.common.configfwk_1.6.0.0.jar"/>
    <include name="com.bea.core.xml.xmlbeans_2.2.0.0_2-5-1.jar"/>
    </fileset>
    <fileset dir="${weblogic.home}/server/lib">
    <include name="weblogic.jar"/>
    </fileset>
    <fileset dir="${osb.home}/lib">
    <include name="alsb.jar"/>
    </fileset>
    </path>
    <taskdef name="wlst"
    classpathref="library.osb"
    classname="weblogic.ant.taskdefs.management.WLSTTask"/>
    <target name="exportFromOSB">
    <wlst fileName="${domain.export.script}" debug="true" failOnError="false" classpathref="library.osb"
    arguments="${wls.username} ${wls.password} ${wls.server} ${export.project} ${export.jar} ${export.customFile}">
    <script>
    adminUser=sys.argv[1]
    adminPassword=sys.argv[2]
    adminUrl=sys.argv[3]
    exportJar = sys.argv[5]
    customFile = sys.argv[6]
    passphrase = "osb"
    project = sys.argv[4]
    connect(adminUser,adminPassword,adminUrl)
    domainRuntime()
    </script>
    </wlst>
    </target>
    <target name="importToOSB">
    <wlst fileName="${domain.import.script}" debug="true" failOnError="false" classpathref="library.osb"
    arguments="${wls.username} ${wls.password} ${wls.server} ${import.project} ${import.jar} ${import.customFile}">
    <script>
    adminUser=sys.argv[1]
    adminPassword=sys.argv[2]
    adminUrl=sys.argv[3]
    passphrase = "osb"
    project=sys.argv[4]
    importJar=sys.argv[5]
    customFile=sys.argv[6]
    connect(adminUser,adminPassword,adminUrl)
    domainRuntime()
    </script>
    </wlst>
    </target>
    <target name="exportFromWorkspace">
    <!--delete failonerror="false" includeemptydirs="true"
    dir="${metadata.dir}"/-->
    <java dir="${osb.home}/lib" classpathref="library.osb"
    jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar"
    fork="true" failonerror="true" maxmemory="768m">
    <jvmarg line="-XX:MaxPermSize=256m"/>
    <arg line="-data ${workspace.dir}"/>
    <arg line="-application com.bea.alsb.core.ConfigExport"/>
    <arg line="-configProject ${config.project}"/>
    <arg line="-configJar ${config.jar}"/>
    <arg line="-configSubProjects ${config.subprojects}"/>
    <arg line="-includeDependencies ${config.includeDependencies}"/>
    <sysproperty key="weblogic.home" value="${weblogic.home}"/>
    <sysproperty key="osb.home" value="${osb.home}"/>
    <sysproperty key="osgi.bundlefile.limit" value="500"/>
    <sysproperty key="harvester.home" value="${osb.home}/harvester"/>
    <sysproperty key="osgi.nl" value="en_US"/>
    <sysproperty key="sun.lang.ClassLoader.allowArraySyntax" value="true"/>
    <sysproperty key="osgi.bundlefile.limit" value="750"/>
    <sysproperty key="middleware.home" value="${fmw.home}"/>
    </java>
    </target>
    </project>
    With the target:importToOSB,I was able to successfully import into OSB11g environment
    but with target:exportFromOSB or exportFromWorkspace I'm unable to export from OSB11g environment
    to my local directory
    So my intention is to get the OSB11g exported into my local directory
    Can you please help me out in getting this resolved
    Thanks
    RS

  • [svn] 713: Merging recent sample eclipse project changes for framework and rpc flex library projects to the trunk

    Revision: 713
    Author: [email protected]
    Date: 2008-03-03 10:19:09 -0800 (Mon, 03 Mar 2008)
    Log Message:
    Merging recent sample eclipse project changes for framework and rpc flex library projects to the trunk
    QA: No
    Doc: No
    Bugs: N/A
    Modified Paths:
    flex/sdk/trunk/development/eclipse/flex/framework/.actionScriptProperties
    flex/sdk/trunk/development/eclipse/flex/framework/.flexLibProperties
    flex/sdk/trunk/development/eclipse/flex/rpc/.actionScriptProperties

    Thats good news.

  • Strut project

    hi
    i need simple strut project using mysqlserver. pls any one tell me website for this. pls its very urgent

    To understand how struts project works
    http://www.ibm.com/developerworks/websphere/techjournal/0302_fung/fung.html

  • Sample  Xi Project  needed

    Hi Experts,
       Please provide me a sample xi project with description and possibly code.I am badly looking for any kind project in XI as currently i got one good oppurtunity in XI.
    Your help is highly appreciable and many many thanks in advance. I will be greatfull to you if you could send to my mail id : <u><b>[email protected]</b></u>
    once again thanks a lot in advace
    cheers
    Tarun

    Hi Tarun
    You can find lots of scenarios in the weblogs section. There are some fantastic contribution made by our SDN member folks on the weblogs.
    Few links for you,
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    similarly there many many more. Just do a search and you will find loads of info.
    cheers
    Sameer

  • [svn:fx-trunk] 5554: Updating airframework and flex4 sample eclipse projects to more closely match the options set in the equivalent build .xml.

    Revision: 5554
    Author: [email protected]
    Date: 2009-03-25 13:46:00 -0700 (Wed, 25 Mar 2009)
    Log Message:
    Updating airframework and flex4 sample eclipse projects to more closely match the options set in the equivalent build.xml.
    Modified Paths:
    flex/sdk/trunk/development/eclipse/flex/airframework/.actionScriptProperties
    flex/sdk/trunk/development/eclipse/flex/airframework/.flexLibProperties
    flex/sdk/trunk/development/eclipse/flex/flex4/.actionScriptProperties

    If you're still using Buckminster 3.6, I strongly suggest switching to 3.7 - it has a number of bug fixes and improvements. This applies to both headless, and the IDE (assuming Eclipse 3.7 Indigo).
    Matthew

  • Plz send me sample implimentation project.

    hi,
        anybody plz send me sample implementation project,and also roles and responsibilities about that project.
    regards,
    balaram.

    please share what you got. many thanks, in advance!

  • Import Struts Project

    Hi,
    I'd like to switch working from Eclipse to Jdveloper 10g, so I was wondering if there was any way I could import my existing code into Jdeveloper. I'm using Struts 1.1 and iReports.

    Hi
    The Struts project will be recognized and will work but not the ejb's because the EJB-Xdoclet facet will not be available on the Struts project. The ejb's should be part of a separate EJB Project which is referred by the web project.
    Using Eclipse EJB Project:
    You can create a Eclipse WTP EJB project that uses EJBDoclet and drop the EJB's there.
    The struts web project can add a module dependency on the ejb project and get access to the EJB's.
    If you want to use BEA's Weblogic Ejb Project, you have to recode your EJB.
    Using BEA Weblogic EJB Project:
    BEA does not support XDoclet tags so the ejb's with XDoclet tags won't be processed by studio or workshop, and will be ignored.
    Please search for Xdoclet in the page http://edocs.bea.com/wlw/docs100/relnotes/relnotes.html
    BEA's wlw.ejb facet is mutually exclusive with the WTP ejb xdoclet facet. Weblogic EJB's use EJBGen annotations in the EJB source file. More info at http://e-docs.bea.com/wlw/docs100/guide/ejb/conEJBsInWorkshop.html#EJBProjectAndEJBGen
    You can create a Weblogic EJb project and create a ejb using ejbgen tags. The web project can add a module dependency on the ejb project.
    Vimala-

  • CLI146 c:/Sun/AppServer/samples/bp-project/passwordfile does not exist in t

    Hi ,
    I got this error,kindly help me on this issue.
    i installed
    jdk1.5.0_11-------------C:\Program Files\Java\jdk1.5.0_11
    netbeans----------------C:\Program Files\netbeans-5.5
    java EE5 sdk-----------C:\Sun\AppServer
    check:
    tools:
    create-pool-local:
    Registering jdbc-connection-pool PetstorePool.
    ds=org.apache.derby.jdbc.ClientDataSource
    check:
    tools:
    create-jdbc-connection-pool:
    CLI146 c:/Sun/AppServer/samples/bp-project/passwordfile does not exist in the file system or read permission denied.
    create-resource-local:
    Registering jdbc resource jdbc/PetstoreDB.
    check:
    tools:
    create-jdbc-resource:
    CLI146 c:/Sun/AppServer/samples/bp-project/passwordfile does not exist in the file system or read permission denied.
    delete-db:
    driver=org.apache.derby.jdbc.ClientDriver
    url=jdbc:derby://localhost:1527/petstore;create=true;
    user=APP
    password=APP
    D:\javapetstore-2.0-ea1\setup\setup.xml:58: org.apache.derby.client.am.SqlException: Connection authorization failure occurred. Reason: userid invalid.
    BUILD FAILED (total time: 1 second)
    i need help from u .
    i created password file c:\1.txt
    it contains AS_ADMIN_PASSWORD=adminadmin
    is it enough
    or any other i need to enter

    While creating a Flex project using Flex builder, did you
    select the server type for your project? If you did not select a
    server type for your flex project, did you configure your compiler
    to include your services-config.xml using the -services argument?
    In your project's compiler settings, add -services
    "configurationfiles/services-config.xml" argument to the compiler
    arguments. The path should point to your services-config.xml.
    If the above mentioned steps were completed and still your
    facing problem, can you please try running "clean" on your project.
    Hope this helps.

  • Incorrect INSERT in the sample Employee project

    Hi,
    In the sample Employee project provided with the 10.1.2 release the following code generates an incorrect insert (the runtime is 10.1.3 (Build 051113)).
    UnitOfWork uow = this.getSession().acquireUnitOfWork();
    Employee newEmployee = new Employee();
    newEmployee.setFirstName("Joseph");
    newEmployee.setLastName("Fletcher");
    PhoneNumber phone = new PhoneNumber();
    phone.setAreaCode("123");
    phone.setNumber("4567890");
    phone.setType("Home");
    newEmployee.addPhoneNumber(phone);
    uow.registerNewObject(newEmployee);
    uow.commit();
    Triggers the following exception:
    TopLink Warning]: 2006.01.24 04:01:47.894--UnitOfWork(23525817)--Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 051113)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01400: cannot insert NULL into ("POMOWNER"."PFWPOC_PHONE"."EMP_ID")
    Error Code: 1400
    Call:INSERT INTO PFWPOC_PHONE (TYPE, P_NUMBER, AREA_CODE, EMP_ID) VALUES ('Home', '4567890', '123', NULL)
    Query:InsertObjectQuery(PhoneNumber[Home]: (123) 456-7890)
    [TopLink Finer]: 2006.01.24 04:01:47.909--ClientSession(19523049)--Connection(29494967)--rollback transaction
    Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 051113)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01400: cannot insert NULL into ("POMOWNER"."PFWPOC_PHONE"."EMP_ID")
    Error Code: 1400
    Call:INSERT INTO PFWPOC_PHONE (TYPE, P_NUMBER, AREA_CODE, EMP_ID) VALUES ('Home', '4567890', '123', NULL)
    Query:InsertObjectQuery(PhoneNumber[Home]: (123) 456-7890)
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:658)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:707)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:496)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:442)
         at oracle.toplink.publicinterface.Session.executeCall(Session.java:717)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:238)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:156)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:172)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:433)
         at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:60)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(DatabaseQueryMechanism.java:622)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(DatabaseQueryMechanism.java:586)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:479)
         at oracle.toplink.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:110)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:259)
         at oracle.toplink.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:47)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:603)
         at oracle.toplink.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:519)
         at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:100)
         at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:72)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2528)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:981)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:938)
         at oracle.toplink.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:240)
         at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:217)
         at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:173)
         at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3123)
         at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1240)
         at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1328)
         at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:1095)
         at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:864)
         at com.oocl.csc.frm.pom.test.TestBidirRel.testBidirRel(TestBidirRel.java:80)
         at com.oocl.csc.frm.pom.test.TestBidirRel.main(TestBidirRel.java:107)
    Caused by: java.sql.SQLException: ORA-01400: cannot insert NULL into ("POMOWNER"."PFWPOC_PHONE"."EMP_ID")
    Indeed the EMP_ID cannot be null as it is part of the PK. This should not be null.
    Regards,
    -horea

    Hi Chris,
    Thank you for looking into this. I checked your suggestions and in our sessions.xml file we do define a custom sequence table (seems to be working fine in all other projects), the same defined via the project MW.
    Also, the insert in the employee table seems to be generated correctly:
    [TopLink Fine]: 2006.01.25 02:41:29.930--ClientSession(27651180)--Connection(3834717)--INSERT INTO POC_EMPLOYEE (EMP_ID, GENDER, VERSION, F_NAME, L_NAME, COUNTER, MANAGER_ID, END_DATE, START_DATE, BKUP_KEY, MAIN_KEY, START_TIME, END_TIME, ADDR_ID) VALUES (302, NULL, 1, 'Joseph', 'Fletcher', 0, NULL, NULL, NULL, NULL, NULL, {ts '2000-02-01 09:00:00.617'}, {ts '2000-02-01 17:00:00.617'}, NULL)
    Below is the sessions.xml we use.
    Regards,
    -horea
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink-sessions version="10g Release 3 (10.1.3.0.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="session-broker">
    <name>FooBroker</name>
    <event-listener-classes/>
    <profiler>toplink</profiler>
    <logging xsi:type="toplink-log">
    <log-level>all</log-level>
    <logging-options>
    <log-exception-stacktrace>false</log-exception-stacktrace>
    <print-thread>false</print-thread>
    <print-session>true</print-session>
    <print-connection>true</print-connection>
    <print-date>true</print-date>
    </logging-options>
    </logging>
    <session-name>FooSession</session-name>
    </session>
    <session xsi:type="server-session">
    <name>FooSession</name>
    <event-listener-classes/>
    <primary-project xsi:type="xml">TestEmployeeProject.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <user-name>foo1</user-name>
    <password></password>
    <sequencing>
    <default-sequence xsi:type="table-sequence">
    <name>Custom</name>
    <table>POC_SEQUENCE</table>
    </default-sequence>
    </sequencing>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <connection-url>xxxxxxxxx</connection-url>
    </login>
    <connection-pools>
    <read-connection-pool>
    <name>ReadConnectionPool</name>
    </read-connection-pool>
    <write-connection-pool>
    <name>default</name>
    </write-connection-pool>
    </connection-pools>
    <connection-policy/>
    </session>
    </toplink-sessions>

  • Calling struts project from ADF Project

    Just wondering if deploying Struts Project as ADF Lib Jar can allow to use as part of ADF Project, just like you can do with ADF View Controller project ,
    Is it possible?
    Thanks,

    I bet it's not working. Different controller fro struts and adf.
    An adf library is a jar with some special info about the context the lib is running on.
    You can try to deploy a struts part as adf lib and see what happens ;-)
    Timo

  • Unable to run struts project from jdeveloper 10.1.3

    Hi,
    I have created a struts-based application project using jdeveloper 10.1.3(build JDEVADF_10.1.3.1.0_NT..) by importing an ear file .The project seems to be built fine as i get no errors in compiling the entire project.I have included the Struts runtime library as well in the project.
    But when i try to run the login.jsp from the struts-config.xml,i get the :
    The page cannot be displayed message in the browser.
    I dont see any errors in the Embedded OC4J log except few warnings lik dis:
    [Another instance of the server is still running.  JDeveloper will shut it down and then restart the server.]
    Process exited.
    [Starting OC4J using the following ports: HTTP=8898, RMI=23899, JMS=9235.]
    D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config>
    D:\jdevr12\jdevbin\jdk\bin\javaw.exe -client -classpath D:\jdevr12\jdevbin\j2ee\home\oc4j.jar;D:\jdevr12\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    25-Jul-2007 18:46:28 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    25-Jul-2007 18:46:28 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\xml.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to /D:/jdevr12/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to /D:/jdevr12/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /D:/jdevr12/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /D:/jdevr12/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /D:/jdevr12/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 26766 ms.
    pls help me out on what could be the problem.This application wsa running fine in Eclipse but i am unable to run it using Jdeveloper.

    Is this new develop page ?
    you check these points for this issue.
    1. Check JDEV_USER_HOME
    2. Design a Test PG and test it first.
    3. Your OAF patch level: is 12.0.4 ? Are you running with r12?
    Thanks

  • XMl parser version problem for running struts project in jdeveloper 10.1.3

    Dear All.
    I am trying to run a struts (v 1.2.9) based project in Jdeveloper 10.1.3.1.0.The struts version in Jdeveloper is 1.1.
    when i am trying to run the index.jsp i get an error:
    org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic
    I think the XML parser version is a problem.Jdeveloper has OracleXMLParser v2 and i think the XML Parser apis used in building the project is different.I have placedcustiom xml parser apis and the xerces.jar in the jdevbin/jdev/lib folder and included these jar in the bootclasspath as follows:
    AddVMOption -Xbootclasspath/p:../lib/xml-apis.jar
    AddVMOption -Xbootclasspath/p:../lib/xerces-2.6.2.jar
    But even then the Exception persists.Is the syntax for Xbootclasspath wrong or i need to place these custom api's in some other location of jdev.
    I am not being able to figure out the XMl parser problem.
    Any help wud be great.
    Is it that i cant run the project in jdeveloper.Just to mention the application is deployed in OC4J on the server and runs fine..But its only that i kant run it locally through jdeveloper

    I am also facing the same issue on my laptop. I searched for forum but no luck.
    appreciate if anybody can throw some light on this.

  • I am not able to open, compile and build sample plugin projects from Indesign CS4 SDK

    Hi,
    I am new to Indesign plugin development.
    I have downloaded Indesign CS4 SDK Products version for Windows.
    I have downloaded Adobe Indesign CS4 trial version.
    I have Microsoft Visual C++ 6.0 . I want to build sample SDK examples given
    in SDK. But when I open them from visual c++ /prj folder the project is not
    getting opened.
    I want to load Dollyxs and build it and using that develop some projects.
    Also want to build and run the SDK examples .
    So can anybody help about what software I need n which version of visul c++
    is needed for this.And how to Install
    them.
    Thanks n Regards,
    Ravi Sharma

    Hi,
    Thank u very much for your response.
    Now I am getting error as :Error spawning cmd.exe. while I am building project (Indesign cs4-Windows).
    I have set properties for .fr and .rc files .Am I missing any other setting to be made.
    Can u help me?
    Regards,
    Ravi Sharma

Maybe you are looking for

  • Terms of payment/cheque post date issue

    Hi guys. On PO and MIRO terms of payment PD15 is being used. How can I make the cheque date post dated. Baseline date March 18 Due date April 2 On F-58. I want the cheque date to be April 2 without opening the next period. Is it possible at all? Can

  • Long history of mail working well in variety of places, failure to send or receive mail even with 3 bars in CA

    I've been using my phone for mail for years. It has worked well, even when I had no access to wireless service (albeit slower). On trip to CA in Berkeley it has stopped sending or receiving emails on any of my three mail accounts.  Checked the settin

  • Why camera/cards open in iPhoto?

    I have both iPhoto and Image Capture set to not do anything when I attach a camera..  But if I put a card in the SD slot on my iMac or attach any camera, iPhoto opens..  Why does it do that when I have it in the prefs not to...?   Thanks

  • Can i keep my old programs and sotwares if i upgrade from mac snow 10.6.4 to lion x 10.7.4

    Hi, I have iMac Hardware Overview:   Model Name:          iMac   Model Identifier:          iMac11,1   Processor Name:          Intel Core i5   Processor Speed:          2.66 GHz   Number Of Processors:          1   Total Number Of Cores:          4

  • Address book not syncing to iCloud

    I recently upgraded to Lion 10.7.2, but my contacts aren't syncing from iCloud into the address book.  I've gone to system preferences, enabled iCloud and selected contacts.  It doesn't take, and so when I go back to the preference window, it's back