How to configure for servlets

i m new to servlets. can any body plz tell me what and how to do configurations for servlets

hi,
previously you installed any server or not,
if not install any one of web server like javawebserver , tomcat etc...
steps to install tomcat & configure:
http://forum.java.sun.com/thread.jspa?threadID=5193463
after successfull config,
create a servlet program,compile and store under tomcatx.x\webapps\root\WEB-INF\classes
open a web.xml under WEB-INF and add <servlet> & <servlet-mapping>
ex:
     <servlet>
          <servlet-name>servletname</servlet-name>
          <servlet-class>package.classname</servlet-class>
     </servlet>
     <servlet-mapping>
          <servlet-name>servletname</servlet-name>
          <url-pattern>/urlvalue</url-pattern>
     </servlet-mapping>
restart tomcat
run : http://localhost:8080/urlvalue

Similar Messages

  • How to configure for the give senario where we from APO demand planning, we provide baseline forecast into TPM

    Hello Guru's,
    Request for information on smart documentation on the integration between Trade Promotion Management and SCM-Demand Planning from an architecture perspective how to configure for the give senario where we from APO demand planning, we provide baseline forecast into TPM and from TPM promotions values can be considered in to APO demand planning: can anybody give me some insight on it.
    Thanks in advance.
    Kumar

    Hi Praveen
    There are several ways you can connect a DP system to a TPM. How are your interfaces and systems setup?
    Option1:
    Extract the baseline from APO to a BW cube, extract the data out of BW, may be using infospokes/open hub and pass it on to TPM.
    2. Have a custom program written in APO-DP to extract the selected keyfigure data at the aggregation level into an interface or a .txt file into APO directory and use some data transfer service such as EDI to take this data and send to TPM.
    In my experience it is simple to define an integration process. The much larger and complicated aspects are the date adjustments and the aggregation levels.
    Date adjustments:
    Understand the basis of the data in APO and TPM. APO is usually at the requested delivery date or material availability date ( when the customer like a store wants the product). However TPMs are usually at the consumption date ( when an end customer like you and me but from store shelf). Depending on the product and business style this can mean several days difference. Let's say it is 25 days on average, you need to add 25 days to APO base line date to get the TPM consumption date.
    Aggregation level:
    This can be product or customer. If the planning in DP is at product sku level and the TPM is at packs or brand level, you need to aggregate the data up before loading to TPM. The same with customer.
    To me the most complex part of the integration is to understand and transform the data in a meaningful way and a strategy to sustain this integration by keeping both DP and TPM in sync in terms of master data. Also important to have a process for identifying exceptions and failures. you send baseline from DP to TPM and if it fails, how do you know? how do you trouble shoot?
    Hope these help.

  • How to configure applet/servlet in Tomcat?

    I'm building a web application which is going to be deployed in Tomcat. I have an applet(called MYAPPLET here) which "calls" a servlet(called MYSERVLET here). I cannot figure out how to configure the whole thing.
    /test is my docbase. In /test I made a directory "applet classes" and a directory "servlet". The applet tag I use in the HTML file looks like this:
    <applet
    code="MYAPPLET.class"
    codebase="http://localhost:8080/test/applet classes/"
    <!-- Tell the applet where its peer is located -->
    <param
    name="servlet"
    value="http://localhost:8080/test/servlet/MYSERVLET" />
    </applet>
    Now, when opening the page, the applet can be found but Tomcat gives an error 404 saying that it can not find the servlet. On the other hand, If I make an entry in my web.xml (with url mapping
    <url-pattern>/test </url-pattern> or <url-pattern>/test/servlet </url-pattern>, depending on where I put MYSERVLET)
    for the servlet mentioned above and I put the MYSERVLET in either the WEB-INF/classes directory or in /test/servlet Tomcat gives an error 403. It refuses to connect to the servlet!
    Please can anyone help me. THanx in advance
    debeumers

    You are configuring Tomcat and if you have further questions then post new questions in the forum "Java Servlet Technology".
    Given that your servlet url is "localhost:8080/test/servlet/MyServlet"
    This assumes -
    1) You have created a web application called "test". You have a directory called "test" under- $CATALINA_HOME/webapps
    2) Your html files, jsp files, and subdirectory "applet-classes" (Note - do Not use spaces when naming directories) exist in this top level directory of your web app. If you choose to place your applet classes in this subdir then the codebase can be "applet-classes" - omitting the "/" means this directory is located relative to the current directory of the html file. (No jar files? No archive param then..)
    3) You have a class file called "MyServlet" located - $CATALINA_HOME/webapps/test/WEB-INF/classes
    Some versions of Tomcat require you to uncomment out the area of the Mapping for the Invoker Servlet element in $CAT_HOME/conf/web.xml.
    <servlet-name>invoker</servlet-name>
    <url-mapping>/servlet/*</url-mapping>
    Once this is done, you need not create a directory called "servlet" anywhere in your structure. It is the url mapping.
    You will want to apply url-patterns and mappings to your application specific web.xml (This is located in - $C_H/webapps/test/WEB-INF) when it comes time to deploy the app, but that is not required for testing and development. You need not make changes to the app specific web.xml at this time just to get the servlet to run.
    And finally I suggest you read a book on this subject...

  • How to configure for Multiple XML

    Hi,
    We were successful in working with single xml as a input. Now we are using multiple xml as a input for a single transaction. With the references and the suggestion in documents(working with xml files.pdf) related to Documaker we have changed configuration settings in FSISYS.INI and AFGJOB.JDT.
    Down below we have mentioned those changes.
    Input Extract file has been changed as F_Sch.DAT; following is the content in the extract file
    COM_LOB_1111 .\INPUT\F_SCH1.xml
    COM_LOB_1111 .\INPUT\F_SCH2.xml
    COM_LOB_1111 .\INPUT\F_SCH3.xml
    F_SCH1.xml,F_SCH2.xml,F_SCH3.xml
    <?xml version="1.0"?>
    <global>
         <lm>
              <COM>COM</COM>
              <LOB>LOB</LOB>
              <TRANSACTIONID>121212</TRANSACTIONID>
         </lm>     
         <Foodcard>
              <Accname>Alex</Accname>
              <Email>[email protected]</Email>
              <Accid>1234123412341234</Accid>
              <Accno>1234123412341234</Accno>
              <Accaddr1>address1</Accaddr1>
              <Accaddr2>address2</Accaddr2>
              <Accaddr3>address3</Accaddr3>
         </Foodcard>     
    </global>
    Changes to FSISYS.INI
    < ExtractKeyField >
    Key = 1,3
    SearchMask = 1,COM_LOB_1111
    < TRN_FIELDS >
    COM = 1,3,N
    LOB = 5,3,N
    PolicyNum = 9,3,N
    < DATA >
    ExtrFile = C:\FAP\DLL\Computer\INPUT\F_Sch.DAT
    AFGJOB.JDT
    ;ImportXMLFile;2;SCH=1,COM_LOB_1111 15,19
    Inspite of those changes that made, we were not able to generate the output using three xml as a input.
    ***error details.***
    [04:16:29PM] Warning: Company - LOB - Transaction
    [04:16:29PM] Warning: DM17115: : The DownLoadFAP option is set to Yes, this option should be set to No for optimal performance. Check the RunMode control group, DownLoadFAP option.
    [04:16:29PM] Error: Company - LOB - Transaction
    [04:16:29PM] Error: DM12041: : FAP library error: Transaction:<>, area:<DXMLoadXMLRecs>
    code1:<48>, code2:<0>
    msg:<XML Parse Error: The 1 chars before error=<C>, the 20 chars starting at error=< >>.
    [04:16:29PM] Error: Company - LOB - Transaction
    [04:16:29PM] Error: DM12041: : FAP library error: Transaction:<>, area:<DXMLoadXMLRecs>
    code1:<48>, code2:<0>
    msg:<syntax error at line 1 column 0>.
    [04:16:29PM] Error: Company - LOB - Transaction
    [04:16:29PM] Error: DM10292: in <RULXMLExtract()>: Unable to <DXMLoadXMLRecs()>.
    [04:16:29PM] Warning: Company - LOB - Transaction
    [04:16:29PM] Warning: DM13023: in RCBSendToErrBatch(): Unable to assign the transaction to the error batch. The SentToManualBatch field is not defined in the TrnDfdFile.
    [04:16:29PM] Error: Company - LOB - Transaction
    [04:16:29PM] Error: DM10947: in NoGenTrnTransactionProc(): Unable to RULLoadXtrRecs(pRPS).
    [04:16:51PM] Error: Company - LOB - Transaction
    [04:16:51PM] Error: DM12018: in RPDoBaseFormsetRulesForward(): Unable to <WINNOGENTRNTRANSACTIONPROC>().
    [04:16:51PM] Error: Company - LOB - Transaction
    [04:16:51PM] Error: DM12066: in RPProcessOneTransaction(): Unable to RPDoBaseFormsetRulesForward(pRPS, RP_PRE_PROC_A).
    [04:16:51PM] Error: Company - LOB - Transaction
    [04:16:51PM] Error: DM12064: in RPProcessTransactions(): Unable to RPProcessOneTransaction(pRPS). Skipping the rest of the transactions for this Base. See INI group:< GenDataStopOn > option:TransactionErrors.
    [04:16:51PM] Error: Company - LOB - Transaction
    [04:16:51PM] Error: DM12004: in RPProcessOneBase(): Unable to RPProcessTransactions(pRPS).
    [04:16:51PM] Error: Company - LOB - Transaction
    [04:16:51PM] Error: DM12001: in RPProcessBases(): Unable to RPProcessOneBase(pRPS). Skipping the rest of the Bases for this batch run. See INI group:< GenDataStopOn > option:BaseErrors.
    [04:16:51PM] Error: Company - LOB - Transaction
    [04:16:51PM] Error: DM12127: in RPRun(): Unable to RPProcessBases(pRPS).
    [04:16:51PM] Error: An error occurred during processing.
    Kindly let us know in case of any solution for this issue.
    Regards,
    Balaji R.

    It looks like it is unable to load your XML files. Depending on how your configuration is laid out, you may want to list full path names in your extract file - we make use of the same technique in 11.5, which I would imagine isn't terribly different in this respect from 12.0. Our configuration is such that we run Gendata at one level, read an extract file in the deflib folder, and the input files are in an input folder, so each entry in the extract file is C:\fap\mstrres\sampco\input\input1.xml.
    Not sure if that is analogous to your setup or not, but based on the errors, either it can't find the file, so it is a pathing issue, or the file contents are invalid.
    Tony

  • How to configure for remote JMS client?

    I have my own Java JMS test program for performance measurements.
              I am using the JNDI and JMS provider functionality of the WebLogic 9.1 app-server but my test program is just pure JMS 1.02 sender/receiver clients - ie it is NOT part of, or deployed as a J2EE application.
              SINGLE MACHINE TEST
              ===================
              In a single machine environment I was able to
              - configure a JMSServer
              - configure a JMSSystemModule
              - configure resources for ConnectionFactories and Queue and Topics
              I then made what I believe to be a 'standalone' application module copied from some mysystemmodule-jms.xml and with that I somehow worked out how to deploy it using the weblogic.Deployer tool.
              The deployment apparently set up the JNDI and my JMS client could gain access to the administered objects and do what it does.
              Everything works.
              TWO MACHINE TEST
              ================
              I now have a second machine.
              I want to put my JMS sender client on this new machine and I want the JMS server and JMS receiver client to be unchanged from the SINGLE MACHINE TEST.
              But I really don't know quite how to proceed from here...
              Do I need to install the WebLogic app-server on the sender machine or is the weblogic.jar all I need?
              What is necessary configuration for JNDI access on the sender machine?
              Can I in fact use my original SINGLE MACHINE server unchanged as I am hoping?
              I don't think I want a "thin" client because I read that performance is impacted (and these are performance tests)
              Remember this is NOT a J2EE application. There is no MDB; no client-container; no descriptors etc. Maybe that makes it more complicated - I don't know.
              Sorry for such basic questions but if somebody can just point me to an appropriate example or tutorial it could save me days...
              Thankyou.

    Hi,
              My problem is on similar lines. I have an applet based UI working on RMI/t3 protocol.
              I am using weblogic 9.2 as my app server.
              When my applet is executed on JRE 1.5x it works fine.
              But when I use JRE1.4x it gives the following exception
              java.lang.NoClassDefFoundError: javax/management/InvalidAttributeValueException
              at weblogic.rmi.internal.Stub.<clinit>(Stub.java:21)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:141)
              at weblogic.rmi.internal.StubInfo.class$(StubInfo.java:34)
              at weblogic.rmi.internal.StubInfo.<clinit>(StubInfo.java:34)
              at java.lang.Class.forName0(Native Method)
              I have analyzed the reason for this.
              the class javax/management/InvalidAttributeValueException was included in java 1.5 and above. So JRE 1.4 does not have it.
              In previous versions of weblogic this class was a part of their 'weblogic.jar' file and in weblogic 9.2 it is not a part of weblogic.jar file so when I am using JRE1.4 and weblogic 9.2 then it obviously does not find this class hence the above exception.
              I tried to put this all together and made custom made client jar file incliding the necessary classes. I was able to get throght this exception only land up in following exception.
              java.lang.VerifyError: class weblogic.utils.classloaders.GenericClassLoader overrides final method .
                   at java.lang.ClassLoader.defineClass0(Native Method)
                   at java.lang.ClassLoader.defineClass(Unknown Source)
                   at java.security.SecureClassLoader.defineClass(Unknown Source)
                   at sun.applet.AppletClassLoader.findClass(Unknown Source)
                   at java.lang.ClassLoader.loadClass(Unknown Source)
                   at sun.applet.AppletClassLoader.loadClass(Unknown Source)
                   at java.lang.ClassLoader.loadClass(Unknown Source)
                   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
                   at weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialContextFactoryDelegate.java:204)
                   at weblogic.jndi.spi.EnvironmentManager$DefaultFactoryMaker.<clinit>(EnvironmentManager.java:26)
                   at weblogic.jndi.spi.EnvironmentManager.getInstance(EnvironmentManager.java:48)
                   at weblogic.jndi.Environment.getContext(Environment.java:307)
                   at weblogic.jndi.Environment.getContext(Environment.java:277)
                   at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
                   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
                   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
                   at javax.naming.InitialContext.init(Unknown Source)
                   at javax.naming.InitialContext.<init>(Unknown Source)
              I really need to support clients using Jre 1.4 and Jre 1.5
              I will really appreciate any help on this one.
              Please advise.
              Thank you all.

  • How to configure for GPlus Adapter with SAP Phone and SAP CRM

    Hi All Basis Adm,
                   Please consider as an urgent basis i need the information that how to configure  GPlus Adapter with SAP Phone and SAP CRM . My server is CRM 5.0 (kernel 7) with Oracle Database. This information is require to connect Webclient to Sap Phone with GPlus Adapter (Genesys Adapter 7.1).  If u have any document regarding mentioned above than that will be acceptable. 
    Regds,
    Govinda

    Hi Prasad,
    In you case, it's a file to file scenario.
    Go thro' this link for a solution:-
    /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
    Regards.
    Praveen

  • How to configure for zimbra mail, How to configure for zimbra mail, How to configure for zimbra mail

    How to configure the iphone for zimbra mail?
    have anyone used zimbra mail in iphone mail settings?
    I'm able to access zimbra through safari...
    But what is the configuration needed to be done to see in mail box?

    Contact Zimbra support and ask them.

  • How to configure for the price master of the configurable item

    in my client we have the configurable items like car doors with different colour as per the color
    the price is changing
    so how to configure this masterdata for pricing for all the material

    Hi
    This kindly of process is done at Variant configuration. so the pricing will define in condition type VA00. and the variant process as follows:
    Eg: Ford car.If a sale order is raised for fiesta lxi model the system should choose red colour & for vxi blue colour respectively.
    ie you need to define the characteristic and assign the values .
    This characteristic need to assigned to class.
    class need to be assigned to material master
    1. T.code : CT04(characteristic) FORD_MODEL, Choose single value & entry required tab & give the input as 01 - fiesta_lxi & 02 - fiesta_vxi.( characteristic values)
    2.Tcode: CT04, FORD_BODY( another characteristic)
    Choose single value , don't click entry required.
    01 - Red( characteristic values)
    02- Blue
    3. Create class T.code : CL02
    fiesta_class
    type : 300
    4. OBJECT DEPENDENCY:
    T.CODE : CT04
    FORD_MODEL
    CLICK VALUES TAB,
    IN FIESTA_LXI CLICK THE 'O' meant for Obj dependency, action & extra.
    Edit the dependecy,
    010 $Self.ford_body = '01'. & save
    Repeat the same for FIEST_VXI & instead of '01' give '02' for blue colour.
    , then create a ROH as ford_body. & a KMAT material for the car. .
    Then create a Super BOM with usage 3 & give component as ford_body
    Then use T.code cu41 (Create config profile)
    enter a profile name & class 300 & choose class assignment, choose fiest_class ,
    Use T.code cu50 to check the values.
    Then create a sale order.
    Reward if it helps
    Regards
    Prasanna R

  • How to configure for Comcast Internet

    Only thing online at Comcast is for Tiger. Doesn't work with 10.5. Could you walk me through step-by-step on how to configure my MacBook for the built-in ethernet (to be used with my Comcast cable/modem). Thanks.

    1. Shut down the Mac.
    2. Unplug the power from Comcast modem.
    3. Connect the ethernet cable between the Comcast modem and your Mac.
    4. Power on the Comcast modem and wait for the cable light to come on solid and not flash.
    5. Turn on the computer.
    6. Apple menu -> System Preferences -> network -> Show connections
    should show the ethernet with a green circle next to it. If it is yellow or read, try to configure your ethernet and check if PPPoE is enabled. If it is, disable it and restart your Mac. Start step 6 again, and tell us what your settings say on your screen in the Network preferences if the ethernet is still yellow or red.

  • How to Configure a Servlet Chain Using MIME Types with weblogic5.1?

    Hi ,
              I want to configure a servlet(cocoon) in weblogic 5.1 such that the
              servlet so configured is invoked each
              time a response with the mime-type "text/xml" is generated.
              1.) will weblogic support to configure a servlet with a particular
              mime-type so that it post-process any
              servlet's response with the corresponding mime-type?
              2.) if not what is the alternative?
              Thanks
              sumanth
              [sumo.vcf]
              

    We suggest that use the request dispatcher interface instead. Servlet
              chaining is not a standard's based possibility.
              Michael Girdley
              WLS Product Manager
              Sumanth Chinthagunta <[email protected]> wrote in message
              news:[email protected]..
              > Hi ,
              > I want to configure a servlet(cocoon) in weblogic 5.1 such that the
              > servlet so configured is invoked each
              > time a response with the mime-type "text/xml" is generated.
              > 1.) will weblogic support to configure a servlet with a particular
              > mime-type so that it post-process any
              > servlet's response with the corresponding mime-type?
              > 2.) if not what is the alternative?
              >
              > Thanks
              > sumanth
              >
              

  • How to  configure  for struts-config.xml

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

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

  • How to configure for music file loading

    I don't know if you can help with this one.
    If so, great. If not, I'm not insulted.
    I have a pair of Oakley Thumps, which are sunglasses with a built in MP3 player.
    I used to have little if any problem loading music on to them from my old windows based Dell computer, by way of the Media Player.
    We just got our mac last Sunday (G5 - Tiger version of OS-X), and today was the first day that I hooked up my Thumps. The mac recognized them as Thump 128 (for the memory size) and there is an icon on my desktop. However, the files that were stored were changed to a document file, and now won't play. I tried loading iTunes songs, but they won't play, since they are MP4 (Thumps only play/recognize MP3, WMA and WAV files).
    Do you have any tips for how I can go about configuring iTunes, or any other program on my wonderful new mac, to allow me to load songs onto my Thumps?

    You will not be able to put (or play)purchased music files onto the device but you should be able to "drag" any .mp3 file onto it.
    If you mount the device and double click to open it there may be a folder structure that needs to be followed.
    The current files may be in Media Player format (.wma) and can be opened with the WMP for Mac.

  • How to configure for a remote TM backup?

    Hi,
    I have TM working in my home office but there are times that I have to spend extended periods away, I would like to know how I can configure my equipment and network to allow me to access the TM backup when not actually on my home LAN.
    Ben

    Apple used to say don't do it.. for some reason they deleted that part of the original icloud BTMM instructions.. I think you will find TM simply won't work.. but if you do setup iCloud and BTMM to get access to the TM backups.. let me encourage you.. DON'T DO IT!!
    TM doesn't just backup.. it runs indexing and checks the backup.. it is highly interactive with its backup doing scans and comparing files.. What will happen.. and this is 100% certain.. is one day some part of the internet will drop out half way through the backup.. and TM backup will corrupt. What will then happen is most likely the next time you attempt a backup on site you will get a message saying.
    Time Machine must create a new backup for you.. see http://pondini.org/TM/C13.html
    When you are on the move.. TM will do local snapshots.. or you should carry a 2.5" disk for local backups when away. Don't do remote TM.
    Save important files directly to the cloud is fine.

  • New Outlook 2013 Installation - How to configure for default pop email and access exchange 2003 server for shared folders only

    I have successfully installed and configured outlook 2013 to access my pop.integra.net email accounts.  We have an 2003 exchange server we use for shared folders which I am having difficulty accessing.
    My preference would be to set up my access to the exchange server and use the same data folders for email as are in use for my pop email account.  In outlook 2003 this was simple, but in 2007 on up it seems this feature has been hobbled.  Is there
    a workaround to get both accounts to use the same database?
    Next issue is if I use the Mail client wizard under Control Panel to set up access to the exchange server - everything looks fine but when launching outlook I receive the following 2 error messages:
    "The resource that you are trying to use is located on an unsupported version of Microsoft Exchange.  Contact your e-mail administrator for assistance."
    "Cannot start Microsoft Outlook. Cannot open the Outlook window. The set of folders cannot be opened.  Your Microsoft Exchange administrator has blocked the version of Outlook that your are using.  Contact your administrator for assistance."
    Obviously the optimal solution is to upgrade the Exchange Server - assuming that is not an option - are there any workarounds?
    Any assistance would be appreciated.

    Downgraded to Office 2007.
    So now have a new Windows 8.1 laptop with outlook 2007 installed.
    From what I have been told this should allow me to connect to the Exchange2003 server
    I set up the pop account - works fine
    set up the exchange account through Mail.exe and am unable to launch outlook.
    "Microsoft Exchange is Unavailable"
    "Retry - Work Offline - Cancel"
    Then
    "Cannot start Microsoft Office Outlook.  Cannot open the Outlook Window.  The set of folders cannot be opened.  The information store could not be opened."
    The data file path is the same for both the pop account and the exchange account:
    C:\Users\Scott\app data\local\microsoft\outlook\outlook.pst
    How do I get this to work?
    Help!

  • Port configuration for servlet

    I am new to servlet. i am using tomcat 4.0 as a server. i need to run servlet on the server. do i need to have servlet server (JSDK 2.X) for that? n i came to know that servlet also works on port 8080 same as tomcat. can i change the port of a servlet? if yes then how?

    hi,
    if u r using tomcat as standalone for ur development u can change the port number. this variable can be changed in installed_dir/conf/server.xml.
    the element looks like this
    <Connector
    className="org.apache.c............"
    port="8080"
    ..../>
    change the port="whatevernumberuwant"
    but see that there is no process on that port before changing.

Maybe you are looking for

  • Remove label Space in InputText

    Hi Gurus, I am new in adf and using 11.1.2.3. I have a input text on page and wants to occupy the whole space. I have set Style class to AFStretchWidth, but it does not cover the whole space. There is some kind of margin on left and right side that's

  • Integration server already has a business system

    Dear All, I got problem while creating sender business system for FILE-IDOC Scenario.I have created r3_800 business system for IDOC receiver with logical system name APOCLNT800.After that I tried to create business system for FILE Sender with logical

  • How do i convert lables from apple works to pages

    how do i convert lables from apple works to pages?

  • My CSS Styles Panel in Dreamweaver won't show list of styles.

    Hello Everyone, I'm having a heck of a time getting my CSS Styles Panel to show the styles from my attached style sheet. Yesterday it worked as usual and today it doesn't. I feel like I've tried all of my options. Usually I work in 'All' instead of '

  • Date and Time Picker

    Dear team although I registered still can use