Embedding XE in Application. Please Help

Hi.
I have developed an application and also have created the setup using Installshield. I want to embed Oracle XE as a part of the application installation procedure.I would like to understand and know the following things
1) After installing the application, is it possible to run a silent install of Oracle XE. If so, what are the tools required for creating the same.
2) Can we monitor the installation process of Oracle XE once its invoked by the applications setup.exe.
3) Are there any links available, which will guide / provide us the methods / procedure that needs to be followed to build up an embedded application setup with Oracle XE.
Thanking you in advance.

Thanks for the reply, but i would like to do a silent
install on windows. Is there any link having the
same. if so kindly provide with the same.http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25143/toc.htm

Similar Messages

  • Displaying Picture in a Java APPLICATION please help!!

    I have been trying to write a method that Displays a .jpg file when called. However I have not gotten far, every book I have tell you how to display pictures in an applet but not an application. I did find some code that is supposed to be for an application, but It does not compile right. Any help would be apprecidated!
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class PictureIt{
    public void makeImage() {
    //***Image Output Stream
    String imgFile
    = "d:\\temp\\TestImage.jpeg";
    out = new FileOutputStream(imgFile);
    BufferedImage image = null;
    image = (BufferedImage)createImage
    (panelJpeg.size.width, panelJpeg.size.height);
    Graphics g = image.getGraphics();
    panelJpeg.paintAll(g);
    }

    Displaying Picture in a Java APPLICATION please help!!
    Hope this helps.There is going to be two classes compile seperatly first class is what does the drawing
    here it is
    import javax.swing.*;
    import java.awt.*;
    public class draww extends JPanel {
    Image ball;
    int width1 = 100;
    int height1 = 100;
    public draww() {
    super();
    Toolkit kit = Toolkit.getDefaultToolkit();
    ball = kit.getImage("pic1.gif");
    public void paintComponent(Graphics comp) {
    Graphics2D comp2D = (Graphics2D) comp;
    comp2D.drawImage(ball, 20, 20, width1, height1, this);
    sound class is the container JFrame here it is
    import javax.swing.*;
    import java.awt.*;
    public class drawing extends JFrame {
    public drawing() {
    super("draw");
    setSize(400,400);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container pane = getContentPane();
    draww d = new draww();
    pane.add(d);
    setContentPane(pane);
    setVisible(true);
    public static void main(String[] args) {
    drawing drawing1 = new drawing();
    PS Hope this helps and see you around

  • I use iphone4,but can't find apple store application please help me

    I use iphone4,but can't find apple store application please help me

    Malek,
    Facetime for iphone is not available in the App Store because it is already built into any iphone that is FaceTime compatible, and I think that includes iphone 4.  You should be able to find Facetime amongst the other built in applications that came with it.  However, it is possible that if it was purchased in certain countries where Facetime is not allowed, the App was not included.

  • My iPad 4 tried to open application but repeatedly iCloud asked for login with apple id password. I put my apple id password correct,even i reset it again but still it does not accept in iPad .i am bored with this 3rd class application.please help

    My iPad 4 tried to open application but repeatedly iCloud asked for login with apple id password. I put my apple id password correctly,even i reset it again but still it does not accepted in iPad .i am bored with this  class application.please help.After every 1 second icloud logoin asked.

    Find Apple ID
    https://iforgot.apple.com/applied
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    If you can’t update or restore your iOS device
    http://support.apple.com/kb/ht1808
     Cheers, Tom

  • Can't update/install itunes- 'not a valid win32 application' PLEASE HELP

    Hi Guys,
    I'm having some serious problems with installing iTunes on my laptop. I have searched and searched the internet and can not find any solution to my problem. I am receiving the error "itunes is not a valid win32 application' after the program finishes downloading. Sometimes however it will just stop in the middle of the download. I use a SONY VAIO VGN-NW25GF which was only purchased last year. It uses windows 7. I had trouble downloading itunes to begin with though eventually it worked, however since the new 10.1 update has been available ive been attempting to update it almost every time i use itunes. Each and every time it fails and i've had enough as i need to update my iphone software. I’ve since uninstalled both itunes and quicktime hoping it will reinstall properly. But nothing, the same problem is occurring and now i have no itunes program!
    I've tried all the solutions online about deleting browing history/temp folder and any itunessetup.exe/quicktimesetup.exe files and nothing works. I've also tried downloading using a different browser and still nothing. I’ve done a virus scan, disk cleanup and disk defragment and NOTHIGN is working. I'm starting to get quite frustrated as i need this program for my iphone. Any help would be greatly appreciated!! Thanks 

    I have the same problem!!!!PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    -I'm having some serious problems with installing iTunes on my laptop. I have searched and searched the internet and can not find any solution to my problem. I am receiving the error "itunes is not a valid win32 application' after the program finishes downloading. Sometimes however it will just stop in the middle of the download. I use a SONY VAIO VGN-NW25GF which was only purchased last year. It uses windows 7. I had trouble downloading itunes to begin with though eventually it worked, however since the new 10.1 update has been available ive been attempting to update it almost every time i use itunes. Each and every time it fails and i've had enough as i need to update my iphone software. I’ve since uninstalled both itunes and quicktime hoping it will reinstall properly. But nothing, the same problem is occurring and now i have no itunes program!
    I've tried all the solutions online about deleting browing history/temp folder and any itunessetup.exe/quicktimesetup.exe files and nothing works. I've also tried downloading using a different browser and still nothing. I’ve done a virus scan, disk cleanup and disk defragment and NOTHIGN is working. I'm starting to get quite frustrated as i need this program for my iphone. Any help would be greatly appreciated!! Thanks 

  • J2me bluetooth application please help it's urgent..

    Hi,
    i m new to this forum and j2me also.
    i tried to basic j2me bluetooth application which transfer file from pc to mobile.
    but at run time i got exception:
    java.lang.SecurityException: Application not authorized to access the restricted API
    also in bluetooth desktop application while calling searchService i got
    NullPointerException..
    please help me.
    i have already do permission for API in jad file...
    Thanks in advance...

    Hello Nikhil,
    In alv... field catalog consists one field called HOTSPOT...
    try like this...
    l_r_fieldcat-tabname        = 'G_T_ITAB'.
    l_r_fieldcat-fieldname      = 'LGORT'.
    l_r_fieldcat-ref_tabname    = 'MARD'.
    l_r_fieldcat-ref_fieldname  = 'LGORT'.
    l_r_fieldcat-col_pos        = 3.
    <b>l_r_fieldcat-hotspot        = 'X'.</b>
    append l_r_fieldcat to g_t_fieldcat.
    clear l_r_fieldcat.
    after that... at line selection... goto the VF03 using BDC.
    No need to double click when you are using HOTSPOT... Single click is enough.
    To get check box at the beginging of each and every record use the following code...
    Field having checkbox
      g_r_layout-box_fieldname = 'SEL'.
    here SEL is the field name in the internal table with char datape and length 1.
    To get ur own GUI Status... Go To Object list ( CTRL + SHIFT + F5 ). there click on GUI_STATUS. add one button for print priview and give one function code.
    in USER_COMMAND write code for function code... with function modules which are used to print forms.
    I'm give the remaing fields of fieldcatalog bellow. see last one... its HOTSPOT.
    ROW_POS
    COL_POS
    FIELDNAME
    TABNAME
    REF_FIELDNAME
    REF_TABNAME
    CURRENCY
    CFIELDNAME
    CTABNAME
    QUANTITY
    QFIELDNAME
    QTABNAME
    ROUNDFIELDNAME
    ROUNDTABNAME
    ROUND
    DECIMALSFIELDNAME
    DECIMALSTABNAME
    DECIMALS_OUT
    TEXT_FIELDNAME
    EXPONENT
    KEY
    ICON
    SYMBOL
    CHECKBOX
    JUST
    LZERO
    NO_SIGN
    NO_ZERO
    EDIT_MASK
    EMPHASIZE
    FIX_COLUMN
    DO_SUM
    NO_OUT
    TECH
    OUTPUTLEN
    OFFSET
    SELTEXT_L
    SELTEXT_M
    SELTEXT_S
    REPTEXT_DDIC
    DDICTXT
    ROLLNAME
    DATATYPE
    INTTYPE
    DDIC_OUTPUTLEN
    INTLEN
    LOWERCASE
    KEY_SEL
    NO_SUM
    SP_GROUP
    REPREP
    INPUT
    HOTSPOT
    Reward If Helpful.
    Regards
    Sasidhar Reddy Matli.

  • Deploying ProductInventory Application --Please help !!!

    Hi, I am trying to deploy the ProductInventory CMP Entity Bean described in the tutorial, I have validated the EJB, which is perfect, however I am getting the following error while deploying.
    Could someone please help me as I am on tight schedule..
    Thanks
    Arup
    /********* ERROR MESSAGE ********/
    Validation failed for ProductInvServer.ProductInvBean. Verify that all fields are mapped.
    CMP Mapping Error in bean ProductInv:: Warning: The bean pcImpl0.moduleComp1.ProductInvServer.ProductInv is not mapped.
    Set the primary table for the bean.
    No jndi-name defined for the cmp-resource element of this module.
    Select the SunONE tab for the ejb module and configure the CMP Resource property.

    Hi black_lotus,
    Thanks for your reply. When you say upload into the server, do u mean uploading into the local tomcat webserver(/webapps) using the Tomcat Web Admin tool OR uploadin into the myjavaserver.com server.(ftp)
    I tried using the admin tool and gives me an error saying Failing to upload..
    I am not sure what url to use.
    If my url is www.myjavaserver.com/~xyz, then what url should i use at the admin tool to deploy.
    (I used www.myjavaserver.com/~xyz/myapp.war) and I used www.myjavaserver.com/~xyz/web.xml for the XML config file URL. But it did not work. ( I had the war file and config file at myjavaserver.com/~xyz)
    Thanks u for ur reply,
    kits

  • My iPhone 5s not showing radio in music application please help

    I have this problem for many month now please help me solve this problem

    What country are you in?
    iTunes Radio is currently only available in the US and Australia

  • Virtual Preload agreement/ Third parting applications Please help!

    Hi I am new to blackberry and smart phones. I have a Blackberry Curve and when I try to play games or other thing it is asking me this....
     If you agree to the conditions set out below by clicking “I Agree”, you will be linked to a third party site (“Linked Site”) not under the control of Research In Motion Limited or its affiliates (“RIM”).  RIM is offering this link to the Linked Site solely as a convenience to you, on the understanding that providing such link does not imply any endorsement by RIM of the Linked Site or its information or contents, nor does it imply any association between RIM and the Linked Site’s operator.  Also, any dealings with third parties conducted through the Linked Site are solely between you and such third party.  Any software application that you may download or otherwise acquire from the Linked Site for use on this handheld device is not licensed by RIM and is “Third Party Software” under the license agreement under which you, or the entity who authorized your use of this handheld device, originally licensed RIM’s proprietary software for this handheld device (“License Agreement”), and as such its use may be subject to certain terms and conditions established by a third party.  Please carefully review your License Agreement to understand your rights and obligations.  If you do not agree to the conditions set out here or do not wish to be linked to the Linked Site for any reason, do not click “I agree” below and please return to the home screen.
    I have read this about a million times and I have no idea what it is telling me. I need help understanding this more and I am also wondering is this going to cost money to agree to it and what it is linking me too 

    Hi and Welcome to the Community!
    The lawyers sure got ahold of that one, didn't they?!?!? All it is really saying is that, if you go to that linked site/3rd party app, RIM has no liability for whatever that linked site/3rd party app may do. When you agree, you absolve RIM of liability and agree that, no matter what, you will not seek any recourse from RIM. RIM has zero control over what that other site/app may do...anything they do is 100% between you and them, and RIM has no involvement (nor liability).
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Photo Booth Problems -- being used by another applications/ Please help!

    Hi everyone: I am having problems with my 17" iMac (C2D). Photo Booth worked great for the first few weeks. Now when I go to use it -- I get a message that says it is in use by another application or there is no camera attached. Well of course there is a camera attached and there is no other application running. I've tried shutting down and bring the computer back up, as suggested in other posts. That did not work.
    Any other suggestions please. I'd really like to get this going again.
    Sincerely,
    Anne

    Hello apple-chick
    Check to make sure that iSight was not left on in another app, it can only be used by one app at a time!
    1. See if the issue is application-specific.
    Try another application (iSight works with applications like iChat, PhotoBooth, and iMovie HD 6) to see if the iSight camera exhibits the same behavior in all applications.
    2. See if the issue is user-specific.
    Test your iSight camera in another user account. If the issue only occurs in one user, the issue would be isolated to user settings.
    3. Find out if the computer recognizes the iSight
    Check System Profiler (in the Utilities folder, inside the Applications folder). Under the USB header, check to see if the iSight camera is detected.
    4. Reset SMC
    Reset your computer's SMC and then check System Profiler again.
    http://docs.info.apple.com/article.html?artnum=303446
    Dennis
    17" iMac Intel Core Duo 1.5GB Ram   Mac OS X (10.4.9)   Maxtor 300GB FireWire Creative Inspire 2.1 2G Nano

  • An AVIATION APPLICATION please help!!!

    I want someone to create and application that pilots can enter in airport codes and get information on that airport like the Name,Frequencies,Runways... This would be a BIG help for pilots out there
    Thanks
    Greg

    www.foreflight.com
    For logging use LogTen Pro and LogTen Mobile 2.0.
    Message was edited by: C. Mezriczky

  • TS2776 i am getting an error itunessetup.exe is not a valid win32 application. please help.

    I have downloaded the itunes setup but i am unable to install it. I am getting an error itunessetup.exe is not a valid win32 application. I have a toshiba laptop with windows 7 starter pack. please advise me what to do. thanks.

    That's a Windows PC issue. What is the Mac OS X Lion issue? In other words what are you posting in the Lion forums about?

  • Issue with decreasing startup time of Air Application(Please Help)

    If someone knew the answer to this it would really help me. I put a large directory into my source folder that was pulling up HTML files through a mx:html. I added a creationComplete function so a the user would fill out a registration form before they start using the application. When I run the application from Flex it runs fine but when I export the application and turn it into a .air file and install it on a computer, the application seems to be scanning the entire directory(the src folder) the application is in, including the large sub-directory housing the HTML files, before the application starts. I don't know if its the creationComplete fuction or something else, but my application did not do this before but know its doing it now. There is no need to scan the entire folder before the application starts. Does anyone know what function would be scanning the source folder before opening the application? Is it the creationComplete function? Do I have any other alternatives besides for creationComplete that will not scan the entire folder at application startup, or is there anyway to exclude a specific subdiretory (in the src folder) at startup so the a application will not scan the entire folder before opening, or should I put the creationComplete function in a separate directory.
    What i'm using:
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="*"
        height="730" width="1257" title="Prototype" xmlns:comp="components.*"
        creationComplete="checkRegistrationWinInfo(), checkRegistrationInfo()">

    Post both these methods:
    checkRegistrationWinInfo(), checkRegistrationInfo()
    creationComplete itself does nothing with the system. It's an internal (Flex) thing.
    AFAIK, an air application doesn't "scan" anything when started.

  • HT201412 Hi i purchased application named " cinema"  thru itunes i was already billed in my credit card  and the receipt number is 211038588339 the developer is grees artoul and the price is $9.99 but i cannot open or used the application please help me t

    Hi just want to ask if you can help me. I purchased application named "cinema" which has 1700 movies developer is grees aroult price is $9.99 i was already billed in my credit card receipt number is 211038588339 but unfortunately when im tryng to watch a movies its not activated why?

    This is a user to user Discussion; you'll have to contact the developer for help.

  • Missing applications- please help!

    Somehow I managed to loose several of my applications, namely anything beginning with the letter N-Z.
    I tried redownloading the OS 10.4.10, but can now not open it.
    Since it is labour day, the Apple support line is not open. Any ideas on how I might be able to either recover the rest of my lost applications or open the new version of the OS?
    Thank you

    Hi Kaydi, You downloaded 10.4.10? An update will not replace an application. Is it possible the apps. were moved? You can check this by clicking on the Spotlight icon in the top far right corner of your menubar and type in "preview" wait a few seconds and see if Preview.app appears. If it does, try to open it. Also are all the dock icons N-Z gone? Is your Utilities folder gone as well.
    If Spotlight did not help, search by clicking on the File>Find from the finder menubar. Try Preview again or Disk Utility(which is in your Utilities folder).
    If they appear click the item ONCE to highlight it. at the bottom of the window it will show you the path to where it is now.
    Good Luck....if they are gone the only thing your can do is reinstall with an archive and install.

  • Java.lang.ClassCastException in simple struts application. please help me!

    I have a simple struts application, it only have a login form. however, it's alway throw java.lang.ClassCastException when I submit the form. Here is full stack trace:
    14-03-2007 17:04:50 org.apache.struts.chain.ComposableRequestProcessor init
    INFO: Initializing composable request processor for module prefix ''
    14-03-2007 17:04:50 org.apache.struts.chain.commands.servlet.CreateAction getAction
    INFO: Initialize action of type: ndlinh.struts.lab.RegistrationForm
    14-03-2007 17:04:50 org.apache.struts.chain.commands.AbstractExceptionHandler execute
    WARNING: Unhandled exception
    java.lang.ClassCastException: ndlinh.struts.lab.RegistrationForm
         at org.apache.struts.chain.commands.servlet.CreateAction.getAction(CreateAction.java:66)
         at org.apache.struts.chain.commands.AbstractCreateAction.execute(AbstractCreateAction.java:82)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    14-03-2007 17:04:50 org.apache.struts.chain.commands.ExceptionCatcher postprocess
    WARNING: Exception from exceptionCommand 'servlet-exception'
    java.lang.ClassCastException: ndlinh.struts.lab.RegistrationForm
         at org.apache.struts.chain.commands.servlet.CreateAction.getAction(CreateAction.java:66)
         at org.apache.struts.chain.commands.AbstractCreateAction.execute(AbstractCreateAction.java:82)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Here is my code:
    package ndlinh.struts.lab;
    import javax.servlet.http.HttpServletRequest;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionMapping;
    public class RegistrationForm extends ActionForm {
         private String userid = null;
         private String password = null;
         private String password2 = null;
         public RegistrationForm() {
              System.out.println("************ Registration Form created *************");
          * @return the password
         public String getPassword() {
              return password;
          * @param password the password to set
         public void setPassword(String password) {
              this.password = password;       
          * @return the password2
         public String getPassword2() {
              return password2;
          * @param password2 the password2 to set
         public void setPassword2(String password2) {
              this.password2 = password2;
          * @return the userid
         public String getUserid() {
              return userid;
          * @param userid the userid to set
         public void setUserid(String userid) {
              this.userid = userid;
         public void reset(ActionMapping arg0, HttpServletRequest arg1) {
              userid = "";
              password = "";
              password2 = "";
    package ndlinh.struts.lab;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class RegistrationAction extends Action {
         public ActionForward execute(ActionMapping mapping, ActionForm actionForm,
                                             HttpServletRequest request, HttpServletResponse response)
              try {
                   System.out.println("*******************" + actionForm.toString() + "*******************");
                   RegistrationForm form = (RegistrationForm)actionForm;     
                   String username = form.getUserid();
                   String password = form.getPassword();
                   System.out.println(username);
                   // simple login checking.
                   // if userid equals password, user can login to system
                   if ( username.equalsIgnoreCase(password)) {
                        return mapping.findForward("success");
                   } else {
                        return mapping.findForward("failure");
              } catch (Exception e) {
                   e.printStackTrace();
                   return mapping.findForward("failure");
    }registration.jsp
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
         <html:form action="/register">
              Username: <html:text property="userid" /> <br />
              Password: <html:password property="password" /> <br />
              Re-type: <html:password property="password2" />
              <html:submit value="Register" />
         </html:form>
    </body>
    </html>struts-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!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>
      <form-beans>
           <form-bean name="registrationForm" type="ndlinh.struts.lab.RegistrationForm" />
      </form-beans>
      <action-mappings>
           <action path="/register"
                   type="ndlinh.struts.lab.RegistrationForm"
                   name="registrationForm"
                   validate="false"
                   scope="request"
                   input="registration.jsp" >
                <forward name="success" path="/jsp/success.jsp"  />
                <forward name="failure" path="/jsp/failure.jsp"  />
           </action>
      </action-mappings>
    </struts-config>web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
      <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
        <init-param>
          <param-name>config</param-name>
          <param-value>/WEB-INF/struts-config.xml</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
        <servlet-name>action</servlet-name>
        <url-pattern>*.do</url-pattern>
      </servlet-mapping>
    </web-app>System information:
    Tomcat 5.5.20
    Struts 1.3.5
    JDK1.5.08

    struts-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!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>
      <form-beans>
           <form-bean name="registrationForm" type="ndlinh.struts.lab.RegistrationForm" />
      </form-beans>
      <action-mappings>
           <action path="/register"
                   type="ndlinh.struts.lab.RegistrationAction" // action class
                   name="registrationForm" // form bean name
                   validate="false"
                   scope="request"
                   input="registration.jsp" >
                <forward name="success" path="/jsp/success.jsp"  />
                <forward name="failure" path="/jsp/failure.jsp"  />
           </action>
      </action-mappings>
    </struts-config>HTH

Maybe you are looking for

  • ITunes 11.3 won't open

    iTunes 11.3 won't open on 13" Mac Macbook Pro mid 2012  OS X 0.8.2

  • Query Group in Query Category different with Authorization's group number

    Hi All, In Authorization screen, it allowed to authorize up to 20 query group Whereas in Query Category window, it has only max 15 query group. Anyone has idea on why is the difference? Thanks in advance, MH

  • HT201302 I cant import my photos

    My computer was stolen, along with all my documents. The only photos I have left are on my phone, they are not pictures I have taken with my iphone, but photos that I had uploaded onto my phone from my computer before it was stolen. My phone is being

  • Syntax of  inner join

    hello sir,              plz tell me the syntax of inner join for three tables.

  • Slide show picture size does not stay towards bottom of footer

    In the design mode, on a home page, the slideshow box extends all the way to the top of the footer (how I want it too). However when I preview the same page, the slideshow box bottom slides up a bit and leave about a 50 pixel white space between the