One question for struts2 -How to get action

My jsp fold structure:Webcontent-index.html
login -login.jsp
me-me.jsp
my java fold : src-login-Login.java
me-QuestionSubmit.java
First I login successfully,and go to me.jsp page.By now, every action is work ing.when I submit a form in me page,my jsp code:<form name="frmQuestion" method="post" action="SubmitQues">,but I get 404 error message, HTTP Status 404 - /friends/SubmitQues.
my struts.xml is follwing:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.devMode" value="false" />
<include file="struts-default.xml" />
<package name="login" namespace="/" extends="struts-default">
<action name="ShowLogin" >
<result>login/login.jsp</result>
</action>
     <action name="doLogin" class="login.Login">
     <result name="input">/login/login.jsp</result>
     <result name="error">/login/login.jsp</result>
     <result name="success">/me/me.jsp</result>
     </action>
     <action name="SubmitQues" class="me.QuestionSubmit">
     <result name="input">/me/me.jsp</result>
     <result name="error">/me/me.jsp</result>
     <result name="success">/me/me.jsp</result>
     </action>
</package>
</struts>
Thanks first
Lily

give the complete error trace............ and here
<form name="frmQuestion" method="post" action="SubmitQues">your action should carry some post fix right... SubmitQues.do i think.. check your web.xml

Similar Messages

  • One question for Siva

    One question for Siva : For the particular transaction it shows me the BADI name.... i tried with /SAPAPO/SDP94.... but how do you find if you click on selection profile button or any other??? Do yuo have to keep executing and note down all the exits for that transaction??? please give an example for the push button level !!
    Thanks a Ton - Chandan

    Hi Chandan,
               That's right. You need to note down all exits after u trigger the transaction and need to find the right BADI among that. For example when u execute the transaction /SAPAPO/SDP94 the control passes through the below BADI definition
    /SAPAPO/SDP_INTERACT
    /SAPAPO/SDP_COLWIDTH
    /SAPAPO/SDP_SELECTOR
    BADI triggered when u choose the selection profile.
    /SAPAPO/PRODU_CONVEX
    /SAPAPO/PROD_DEPOBJ
    /SAPAPO/CONFR
    /SAPAPO/MD_CHK_AUTH
    /SAPAPO/SDP_SELECTOR
    BADI triggered when u load the value in the planning book.
    /SAPAPO/DM_PO_OP_DA2
    /SAPAPO/SDP_INTERACT
        Please let me know if you need more details.
    Regards,
    Siva.

  • I designed my social media buttons. How do I add the link to each one. For example: How do I add my Facebook link to my face book button on my muse site?

    I designed my social media buttons. How do I add the link to each one. For example: How do I add my Facebook link to my facebook button on my muse site?

    Hello,
    Please select the button that you have created and go to hyperlink tab and add the facebook page URL there.
    Please take a look at the screenshot below.
    Regards
    Vivek

  • I forgot my security questions for itunes, how can i find out my answers?

    i forgot my security questions for itunes, how can i find out my answers?

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • Specialized icons for home, how to get them?

    I've read before that common folders in home can have specialized icons (i.e. one for Documents, another for Music...) but for the life in me I can't remember how to get them?  Anyone know how?

    hi,
    have a look here: <a href="http://help.sap.com/saphelp_470/helpdata/en/08/51421d43b511d182b30000e829fbfe/frameset.htm">CO External Data Transfer</a>
    Andreas

  • In ME2N  report for PO- How to get or add Vendor name in ALV grid output

    Hl Everyone
    How to get  or add Vendor Name and payment terms in the ALV grid output for the follwing reports like ME2N and ME2V.
    cuurently i am in 4.7 E version.
    Kindly suggest..........
    thanks in advance
    Regards
    Prashanth

    Hi Pankaj
    I knew that vendor name field is avaiable in ECC versions, but how to get the same field(vendor name) in 4.7 E vesion.
    Kindly suggest
    Regards
    Prashanth

  • How to get Actions name

    I want to get Actions name by javascript.
    Can get Actions name at javascript?

    Here is an example of creating a list of all the action sets/names to the desktop.
    #target photoshop
    var actionList = getActionSets();
    var outFile = File("~/desktop/Action List.txt");
    outFile.open("w");
    for(var a in actionList){
       outFile.writeln("Action Set " + actionList[a]);
       var aList = getActions(actionList[a]);
       for(var z in aList) {
          outFile.writeln(aList[z]);
    outFile.close();
    outFile.execute();
    function getActionSets() {
    cTID = function(s) { return app.charIDToTypeID(s); };
    sTID = function(s) { return app.stringIDToTypeID(s); };
      var i = 1;
      var sets = []; 
      while (true) {
        var ref = new ActionReference();
        ref.putIndex(cTID("ASet"), i);
        var desc;
        var lvl = $.level;
        $.level = 0;
        try {
          desc = executeActionGet(ref);
        } catch (e) {
          break;    // all done
        } finally {
          $.level = lvl;
        if (desc.hasKey(cTID("Nm  "))) {
          var set = {};
          set.index = i;
          set.name = desc.getString(cTID("Nm  "));
          set.toString = function() { return this.name; };
          set.count = desc.getInteger(cTID("NmbC"));
          set.actions = [];
          for (var j = 1; j <= set.count; j++) {
            var ref = new ActionReference();
            ref.putIndex(cTID('Actn'), j);
            ref.putIndex(cTID('ASet'), set.index);
            var adesc = executeActionGet(ref);
            var actName = adesc.getString(cTID('Nm  '));
            set.actions.push(actName);
          sets.push(set);
        i++;
      return sets;
    function getActions(aset) {
    cTID = function(s) { return app.charIDToTypeID(s); };
    sTID = function(s) { return app.stringIDToTypeID(s); };
      var i = 1;
      var names = [];
      if (!aset) {
        throw "Action set must be specified";
      while (true) {
        var ref = new ActionReference();
        ref.putIndex(cTID("ASet"), i);
        var desc;
        try {
          desc = executeActionGet(ref);
        } catch (e) {
          break;    // all done
        if (desc.hasKey(cTID("Nm  "))) {
          var name = desc.getString(cTID("Nm  "));
          if (name == aset) {
            var count = desc.getInteger(cTID("NmbC"));
            var names = [];
            for (var j = 1; j <= count; j++) {
              var ref = new ActionReference();
              ref.putIndex(cTID('Actn'), j);
              ref.putIndex(cTID('ASet'), i);
              var adesc = executeActionGet(ref);
              var actName = adesc.getString(cTID('Nm  '));
              names.push(actName);
            break;
        i++;
      return names;

  • SAP Cloud for customer how to get the Account ID and UUID from cloud

    Hi Experts,
    I have small requirement in cloud for customer.
    How to get all the account id with UUID in excel sheet using any SDK or other ways?
    Any way to get this information because i have tried using "Mass Data Maintenance" but not getting any information. 
    anyone know how can i get this information in cloud system?
    Many thanks,
    Mithun

    Hi Mithun,
    In my understanding there SAP will not share IP address of tenant. If this is really urgent you should discuss to SAP Partner coach or any other representative. SAP network team will not directly communicate with you, this will require numerous approval inside SAP itself.
    Thanks
    Sunil Maurya

  • Insurance claim for music - how to get print out of purchases from itunes

    Can any one help me as my Hard Drive crashed yesterday and i've lost all my Music, movies etc purchased from itunes in the last 2 years. Need to know how to get a detailed print out from itunes to prove purchase and claim on insurance. And yes i know i should have backed up my recent files...

    The only way is to log into your iTunes Store account (you'll need a working computer with iTunes installed, of course), go to your Purchase History, and do a screen capture of each successive page. There's no way to print out a full listing of all your purchased in one go.
    Regards.

  • How to get action to checkbox

    hi,
    Can somebody help me to get action to checkbox. As im a beginner in JSP, i finds difficulty in getting the right one.

    action to checkbox? don't think i've ever heard of anyone doing that before. Sounds like the OP needs something but didn't explain the problem well. But if you really do want to call an action when the user clicks a checkbox (sounds like a bad idea to me but whatever) then yeah, you can use JavaScript

  • SAP Cloud For Customer How to Get the IP Address of Tenant

    Hi Experts,
    I need to know how to get the IP Address of our cloud Tenant ?
    Can anyone know please tell me the process.
    Many Thanks
    Mithun

    Hi Mithun,
    In my understanding there SAP will not share IP address of tenant. If this is really urgent you should discuss to SAP Partner coach or any other representative. SAP network team will not directly communicate with you, this will require numerous approval inside SAP itself.
    Thanks
    Sunil Maurya

  • The question as to how to get rid of Firmware notice was completely and successfully answered.

    How to get rid of the notice on printer screen that'The Firmware updat is on the server was completely answered by the advice given.Howard Peak

    Unfortunately CleanMyMac is as harmful, if not moreso, than MacCleanse. These third party cleaning apps are considered 'crapware' and can harm your system beyond repair. If you cannot uninstall them completely, as appears, it may pay to backup your data, reinstall avericks and migrate your important data back. You can try posting an etrecheck report and perhaps someone can help narrow down what you need to trash from all the areas that these programs have infected.
    etresoft  a long time contributer to Apple Support Communities wrote a very useful app he called etrecheck which helps in diagnosing many problems caused by third party installs etc.. Go to his website, read his information and from there download and run the program according to his instructions
    http://www.etresoft.com/etrecheck
    Cheers
    Pete

  • I have a adobe account  id but my school has one also for me how do i combine them and get the student discount

    I WANNA COMBINE TWO ACCOUNTS SO I GET STUDENT DISCOUNT ON MY ID NUMBER HOW DO I DO THIS

    Crab6970 what Adobe software or service is this in reference to?

  • Verizon tech support for FIOS - how to get around the attitude.

    Most are helpful, but some are rather disdainful of macs or linux, or act surprised if you have more than one computer.
    A: Well, if I only had one computer, why would I need a router?
    Linux does not need any special support, and in fact runs quite beautifully on FiOS and the router without any setup at all. It recognizes the router and self-adjusts with DHCP auto. Actually it's much faster and less flawed than Windows.
    Linux doesn't have any recognized or known virus. At all. FUD is generated at various times during calls to FiOS support when I make the mistake of mentioning linux. They act like it's going to break their network.
    I'm an Admin from MSFT, and MSFT uses linux. Extensively. They just don't like to talk about it. "Seven" = NT 7.0. NT is MSFT's version of UNIX, which they licensed fom Novell.
    So, even microsoft contains unix code. Tada.  Lets' drop the operating system arguments for now though.
    I have three Dell servers, six Dell and HP desktops, and two laptops. All but two of them run linux full time, and only one is dual boot. Both laptops run linux exclusively and so do three of the desktops and ALL my servers. I've never in 12 years had a linux virus, and I never will. No, I don't even run a firewall, and there is no linux antivirus software accepted by the linux distributions, because it's useless. Not needed.
    All of these machines, XP, Vista, Ubuntu, Slackware, and Red Hat Server run on four brainless hubs, or switches. A switch is not capable of DHCP or DNS routing. They are passive devices which are not capable of blocking a router. They only stop working when they die. You can have switches [hubs] in ANY conceivable chain or configuration, and they still work the same, as they all take commands from whatever routers you have.
    The only router in my home is the verizon router. I have no need of others, but I've run dual and even triple routers before without a single problem. You set the extra routers to 192.168.2.1 instead of 1.1. Third router? 192.168.3.1. And so on. Painless.
    None of these devices have yet failed or ever blocked internet access, yet half the time when I call verizon FiOS, the tech people tell me to connect directly to the router with my laptop. I've always just TOLD them that I did, but I never ever did that. It's not necessary. If you can't connect to 192.168.1.1, the router is dead. checking hubs is an astoundingly simple task that only takes a second... you just go to any other computer on that hub, or plug in my laptop, and see if you can get through. I've had one hub fail in the last 8 years, and that didn't fool me for more than a minute. I replaced it and was back in biz without tech support help.
    ONLY in the instance where only ONE computer is down, does it make sense to isolate the router. Thus, the FiOS people are just trained to eliminate the obvious, but they also talk smack. MOCO? Why would I have a major OC24 type network connection in my home? I've been hit with just such questions. Wouldn't verizon know if I had a backbone connection through them???
    Here's the deal: Buy your own equipment, and get warranties. Unless the external box, ONT I believe they call it, has died, you're not likely to get a lot of support anyway - since verizon will not talk about anything other than their router and the ONT.  Save time and just be aware of your own eqiupment. I'm on my sixth day of having no FiOS since Verizon sent me a new also bad router and now I'm awaiting another replacement by the UPS people. Speed is not a hot button issue with verizon service apparently, but they are better than comcast.
    Good thing about verizon is that they don't appear to cap bandwidth, and for that I respect them no matter how much garbage I get from a few of the tech support staff. Even most of those people are pretty nice. One of them actually talked linux with me for a half hour, and that was a breath of fresh air.
    Verizon needs to realize that there are three to six times more linux operating systems in use now worldwide than all windows products combined. The US Army and US Navy have switched to linux systems and dumped windows. I'm shopping for another new desktop, and I'm only buying penguin computers. I won't buy "7" because I've seen the source code, and don't have a high opinion of it. Linux is more robust, and for whatever reason, MSFT still refuses to implement the System Five and UNIX security levels that are inherent to a safe Operating System, and a kernel component of unix. I don't see why not. NT is capable, but all suggestions to turn it 'on' are ignored.
    I want to see verizon get with the program and start to support linux. After all, it's fifteen times cheaper to maintain, and three times less expensive to develop for. Verizon would never have to deal with spyware and viruses from its users ever again. One day I hope verizon will wake up.
    In the meantime, it would be nice if the tech support at FiOS wouldn't misinform clients and customers about linux, macs, and having several computers in the home. There's nothing at all wrong with that. I just bought a netbook from you folks and I'm using that now to get online.

    All I have to say about that is, "People fear what they do not know." Everyone has a comfort zone. Some people's comfort zone is larger than others, or encompasses different aspects of life. Most Windows users aren't comfortable with Mac or Unix operating systems. Most English speakers aren't comfortable with foreign languages. Most two-year-olds aren't comfortable with spinach.
    C'est la vie.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • FTP question for newbie -- How to access external volume?

    I have set up an old Mac (running Tiger) as a server on my LAN; attached to this Mac are several Firewire disks. I want to use FTP (with retrospect Express) to automatically back up from another computer to these disks.
    I can successfuly mount these Firewire disks using AFP on the other computer. But when I use FTP, I seem only to access the user account I use to log in. How do I get FTP to go those Firewire disks to transfer the backup files?
    Please forgive me if this is a naive question... Thanks in advance for any advice!

    To configure the FTP server in Tiger requires creating and editing certain files using the terminal application. So if you have no prior UNIX or command line experience you may find this tricky and you would need to read the man file for ftpd.
    So I would suggest you try out PureFTP manager which is a front end application for an alternative FTP server.
    I have used this Application and found it quite straightforward to use.

Maybe you are looking for

  • No. of Worked days in month

    Hi friends, I would like to know how i would be able to find the number of paid days for an employee in a particular month. Regards, Prashant

  • Some folders in list view, others in cover flow?

    Is it possible to get the Finder to remember a view preference on a folder-by-folder basis? Some folders, like those containing media, are really nice in cover flow. Others, like those containing programming source files, are easiest to deal with in

  • Why isn't my app store password working?

    Whenever I try to by a new app when it asks me to type in the password it keeps saying its in correct

  • Non Recoverable System Fault??

    Does anyone know what this fault is about? After we successfully deploy our proces to the server, we see this fault when an instance of the process is launched. Error Message: {http://schemas.oracle.com/bpel/extension}runtimeFault Fault ID default/CA

  • Yosemite Mail freezes when importing mailboxes

    Dear all, I just updated my Mac to Yosemite. I did a fresh install (erased disk and then restore documents and data with Time Machine) and installed all updates. Everything is working flawlessly except Mail. I can't make it run. Every time I opened i