Sample Servlet Project Please...

Dear All,
Can u please send me a sample code using JSP,SERVLET & JAVABEAN with DB Connection Code.
with only one attribute called USERNAME.
While submitting, it will have to store in the DB and Display the username in the another JSP.
It will make me more sense & help me to understanding the concept.
Please help me.
Thanks in Advance.
Regards,
sprani.kmraj

Help you to understand, or help you to get homework done without having to do anything? If you blatantly ask for code, you should describe it in a less questionable way.

Similar Messages

  • 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

  • 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

  • Anyone help ol' man with Cocoa project, please?

    Hi all,
    I recently volunteered to help transcribe Birth, Marriage and Death (BMD) records dating back to 1837 for FreeBMD -- a registered charity -- to help folks trace their family trees online. Unfortunately, while the Mac software has some nifty features, it's still really s-l-o-o-w and tedious to use and I reckon the speed and accuracy could be increased 3x using a slightly different approach.
    I was reasonably okay with 'C' in the old days but never quite managed to get my head around OOP yet (probably due to my age). The app I have in mind consists of an ultra-simple text editor (a la Apple's 15 minute example project) with combined bare-bones image/PDF viewer plus a few extra bells and whistles, and I've already designed the interface -- about as far as I can get for now
    I see a lot of really knowledgeable folks replying to postings in this discussion group, many with huge numbers of posts under their belts, and I reckon this would be considered a fairly 'trivial' app that could be knocked out during a long coffee break for anyone experienced in Cocoa programming.
    If you feel you'd like to help with this charitable, not-for-profit project, please email me at "ojisanATadamDOTcomDOTau" and I'll send you what I've got, together with some good sample code that clearly addresses most of the problems.
    Your input will help me get a handle on what eludes me about OOP (I learn really well by example), make life easier for all the Mac volunteer transcribers out there, help MILLIONS of hobbyists trace their ancestors quicker (genealogy is the #1 hobby in the US, and probably also in Australia, UK, and Canada etc.), and help level the playing field with Windows (their transcription solution is currently better than ours).
    Kind regards
    Ernie

    Bob Lang1 wrote:
    Oooh! You're such a comedian, etresoft
    I aim to please.
    As for .NET, the major language for .NET development is C#, and this language is clearly based on Java with a few minor syntax changes. It uses exactly the same object model as Java, and even the underlying technology is similar to the Java Virtual Machine.
    I'm not attempting to convince you, just set the record straight.
    As long as we are setting the record straight, we should clarify a couple of things. .NET is the "virtual machine" part. You can use C#, J#, VB, or even a slightly twisted variant of C++ with .NET. For those of us who spent a few formative years swearing at MFC, .NET is a significant improvement.
    I haven't done much with .NET but I find it to be very much like Cocoa, both in the functionality it provides and the slightly twisted way you have to use it. In Cocoa, you have to use Objective-C or Objective-C++. In .NET, you have to use Microsoft's own slightly strange variants. If you can understand all the brackets, receivers, and messages in Cocoa, you shouldn't have any trouble with all the carets in .NET C++.
    You're quite right, it's obviously much less effort to write a program in Cocoa and then re-write it for .NET, than it is it to write it in Java in the first place and run it unchanged on three different platforms. Java is so portable that a Java program written on one platform doesn't even have to be re-compiled to run on another. If you write a program using Cocoa then you limit your market just to Macs - very much a minority platform compared to Windows. Write your program in Java and your market is literally unlimited.
    Everything you've said here is correct. Still, every Java program I have ever seen is clearly a "Java" program and usually cannot achieve the same level of integration with the OS that either .NET or Cocoa gives you by default. Java programmers still have to make an effort to ensure that their programs run and run well on platforms they didn't develop it on.

  • 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!

  • 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.

  • Running sample servlet in WL5.1 FP9

    This is a very simple but fundamental step. How would I run the sample
    servlet without touching the properties file?
    I have placed my servlet in <WL_installDir>\myserver\servletclasses
    directory but the html cannot find it. I cannot even run the examples that
    come with the package. Tried running the simpapp, but the servlet cannot be
    found. Yes, the servlet is present, and I am providing the link to it in my
    ACTION tag.
    This is a very simple file placement procedure but it's starting to get
    frustrating.
    Thanks in advance.

    Yes my classpath property is pointing to the righr directory. Also,
    according to the documentation
    http://www.weblogic.com/docs51/classdocs/API_servlet.html#usingservletservle
    t I should be able to run the samples via ServletServlet using the class
    name without registering them in the properties file. However I have not had
    much of a success with that. I have these two lines in my properties:
    weblogic.httpd.register.servlets=weblogic.servlet.ServletServlet
    weblogic.allow.execute.weblogic.servlet.ServletServlet=everyone
    "Mihir Kulkarni" <[email protected]> wrote in message
    news:[email protected]..
    Please check that the servlet classpath points to the servletclassesdirectory:
    >
    weblogic.httpd.servlet.classpath=c:/weblogic/myserver/servletclasses
    The server uses this classpath to find the servlet.
    hope this helps,
    mihir
    Mehrdad wrote:
    This is a very simple but fundamental step. How would I run the sample
    servlet without touching the properties file?
    I have placed my servlet in <WL_installDir>\myserver\servletclasses
    directory but the html cannot find it. I cannot even run the examples
    that
    come with the package. Tried running the simpapp, but the servlet cannotbe
    found. Yes, the servlet is present, and I am providing the link to it inmy
    ACTION tag.
    This is a very simple file placement procedure but it's starting to get
    frustrating.
    Thanks in advance.

  • Advice on splitting an application amongst projects; please.

    Advice on splitting an application amongst projects; please.
    Hi jDev Team. Please advise on how you envisioned a developer (or developer team) to split up a large scale enterprise application amongst projects. For example, a typical accounting system with AR, AP, Inventory, and Order Entry. I would be inclined to have each of these modules as a jDev project in the same workspace, but the problem is that you really need to further segment the project for the various tiers.
    On the other hand, is it possible to setup different workspaces and somehow relate the workspaces together, because its really one big intermingled application, where the end user needs simultaneous access.
    Please advise. TIA.
    -Nat

    Right now we just use workspaces to contain all projects for various tiers. We're working on a more hierarchial structure for the future, but for now we just put it all into one workspace.
    Rob

  • How to run a Servlet Project's .war from Command Line??

    Hi there,,
    Can anybody help me with how to run a Servlet Project's .war file from command line??In fact I tried it using the following command,
    java -jar TestServProj.war
    but I get the following error,,,
    Failed to load Main-Class manifest attribute
    I can't find the project''s manifest file in the META-INF folder.
    Moreover,plz help me about know how to execute a single servlet class from command line...
    Thanks in advance...

    you cant run a .war file from command prompt
    .war files should be executed in a server
    how to execute a single servlet class
    do you mean to run the servlet or compile the servlet?
    any way you need a server and if you are a beginner Apache tocat will be the best server to start with you can down load it from
    http://tomcat.apache.org/

  • [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.

  • [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

  • Configuring Oracle Payments Sample Servlet-where to find configuration file

    Hi,
    We are using Oracle EBS R12.1.3. We are configuring Oracle Payments Sample Servlet as per below mentioned steps
    1. Add the alias statement to the configuration file of the servlet zone you wish the sample servlet to run as specified in the orion-web.xml file which is in the following directory:
    $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/application-deployments/oacore/html/
    Alias statement->
    servlet.oramipp_lop.code=oracle.apps.iby.bep.loop.LoopBackServlet
    Note: This line should already be in the properties file after you
    have installed Oracle Payments. You only need to verify that it
    exists.
    2. In the same configuration file, provide the following servlet zone-wide parameters listed in the table below, which are set by a statement of the form servlet.default.initArgs=.
    Zone-Wide Parameters
    Parameter Example Value Description
    errorfile tmp/error.log Debug file used to write errors and stack traces.
    debugfile tmp/debug.log Log file used to write debugging messages.
    debug true, false Turns debugging on or off.
    Where can I find configuration file and properties file to make change?
    Regards
    Deepak Gupta

    Thanks Kris!
    I messed with the wrong file to put JDK in Path :)
    I Post here just in case someone may need it:
    As root user:
    gedit /etc/bash.bashrc
    at the end of the file insert (eg. /opt is where JDK directory is installed):
    JAVA_HOME=/opt/jdk1.5.0_06
    CLASSPATH=.:$JAVA_HOME/lib/tools.jar
    PATH=$JAVA_HOME/bin:$PATH
    export JAVA_HOME CLASSPATH PATH
    Thanks again for your reply

  • 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>

  • 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

  • Sample Servlet code that connects to Microsoft SQL 2008

    Does anybody have sample Servlet code that connects to a Microsoft SQL 2008 Resource Pool?
    Thank you.

    JDBC is used to talk to databases. Not database utilities. As an example SSIS is not a database.
    So the question would be is the 2008 "Resource Governor" (of which "Resource Pools" are part) a utility or a database entity?
    [http://technet.microsoft.com/en-us/library/bb933866.aspx]
    I would guess that it isn't a database entity.
    Thus the only way to access it is if a database entity allows you do access it. And for that you would need to look for SQL Server system proc(s).

Maybe you are looking for

  • Can't open Camera Raw in Bridge

    One thing I noticed is that with CS5, when I choose Browse in Mini Bridge while in Photoshop, Bridge opens in the background. In CS6 when I browse in Mini Bridge, regular Bridge does not open, although I can open Bridge directly from Photoshop. The o

  • ITunes 10.4 and podcasts

    I downloaded iTunes 10.4 and now podcasts do not show up as an option under the Library (with Music, Apps, etc.)  Can someone help me figure out what's going on?  I downloaded it in Snow Leopard, and now in Lion, and the problem occurred in both vers

  • Thinkvantage Toolbox Reports Battery Not Installed

    Hi All, I'm having a problem with ThinkVantage Toolbox. I keep getting an error that my battery is not installed even though Lenovo power manager 3 shows it as installed and in good condition. I've run all updates from system update 4 but it didn't r

  • AP Whitelist with CPPM

    Requirement: This feature allows to externally maintain AP (RAP, CAP and IAP) whitelist in a ClearPass Policy Manager (CPPM) server. The controller, if configured to use an external server, can send a RADIUS access request to a CPPM server.  The MAC

  • Pacnew_scripts: scripts to merge some .pacnew files after an upgrade

    info page: http://xyne.archlinux.ca/info/pacnew_scripts I was updating my old system which doesn't get turned on that often and had to deal with about 15 pacnew files. Most only required a simple "mv /path/to/file{.pacnew,}" but some required merging