Not able to call an Action class

Hello Guys,
I am trying to deploy a web application in SAP Netweaver developer studio, which is successfully
deployed in Eclipse.
When i try to click on Submit button in one JSP, then it's saying that
"The requested resource does not exist" and the url is http://192.168.5.35:50000/Sample/searchTutorial.do
The code in JSP as follows.
<form action="/Sample/searchTutorial.do" method="post">
    <table>
     <tr>
          <td align="right">
            Search Tutorial
          </td>
          <td align="left">
            <input type="text" property="keyword" size="30" maxlength="30"/>
          </td>
     </tr> 
          <tr>
          <td align="right">
            <input type="submit" name="submit" value="submit">
          </td>
          </tr>
    </table>
  </form>
here sample is the webpplication name. searchTutorial is the action class name, which is configured in
struts-config.xml.
the code in struts-config.xml is given below.
<form-bean
            name="SearchTutorialActionForm"
            type="com.web.SearchTutorialActionForm">
         </form-bean>
<action
            path="/searchTutorial"
            type="roseindia.net.web.SearchTutorialAction"
            name="SearchTutorialActionForm"
            scope="request"
            validate="true"
            input="/SearchTutorial.jsp">
               <forward name="success" path="/SearchResultPage.jsp"/>
</action>
And the following jars r there in my /WEB-INF/lib folder.
commons-beanutils.jar,commons-collections.jar,commons-dbcp.jar,commons-digester.jar,commons-fileupload.jar,commons-lang.jar,commons-logging.jar,
commons-pool.jar,commons-validator.jar,struts.jar
Can anyone help me.
Your suggessions r valueble.
Regards,
Lakshmi M

Hi Lakshmi,
Is the application name "Sample" or "sample"? Aren't STRUTS URLs case sensitive? Also, just out of curiosity, why aren't you using Web Dynpro Java? It's based on the same MVC paradigm and comes out of the box with CE (not to mention all the bells and whistles).
Rao

Similar Messages

  • Not able to call action method from the javascript

    I am using weblogic 10.3.2 portal.
    My requirement is to call a action in controller throuhg java script when user selects a different option in a dropdown.
    When try it we are not able to call it is returning null as a elementId. Below is the snippet of my code.
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
    <netui:html generateIdScope="true">
    <head>
    <netui:base/>
    </head>
    <script language="JavaScript" type="text/JavaScript">
    function SelectBANSubmit(id)
         var scope = document.getElementById("scopeOneSpan");
         alert("value====arv" + scope);
         //var form = document.getElementById(lookupIdByTagId(form,scope));
         //alert("value====arv" + form);
         var knoVal = document.getElementById(lookupIdByTagId(id,scope));
    alert("in method" + knoVal);
         </script>
    <netui:body>
    <span id="scopeOneSpan">
         <netui:form action="getBillDetails" >
         <netui:select dataSource="actionForm.selection" tagId="arvind" optionsDataSource="${actionForm.resDTO.kno}" onChange="SelectBANSubmit('arvind')"/>
              </netui:form>
         </span>
         </netui:body>
    </netui:html>
    Any help would be appreciated.

    Below is my code
    JS Code
    function fundemo(id)
    alert("so currently we are in fundemo function ");
         var scope = document.getElementById("scopeOneSpan");
    alert(scope);
         var check = document.getElementById(lookupIdByTagId('textbox1',scope));
    alert("check id is " + check.id + " and its value is "+ check.value);
    JSP Code
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
    <netui:html generateIdScope="true">
    <head>
    <netui:base/>
    </head>
    <script type="text/JavaScript" src="D:/testWS/testWebProject/WebContent/WEB-INF/js/test.js"> </script>
    <script language="JavaScript" type="text/JavaScript">
    function SelectBANSubmit(id)
    alert("In JS Method of the JSP File ");
    fundemo(id);
    </script>
    <netui:body>
    <span id="scopeOneSpan">
    <netui:form action="getBillDetails">
    <td >
    <netui:textBox dataSource="actionForm.selection" tagId="textbox1" />
    </td>
    <td>
    <netui:button type="button" onClick="javascript:fundemo('textbox1')" value="Test click"/>
    </td>
    </netui:form>
    </span>
    </netui:body>
    </netui:html>

  • Not able to call from the UAE.

    hi there ....
    I am calling from UAE. i have purchased india 800min pack but i am not able to call. Call connects very rarely and whenever it does so it drops automatically after 2-3 secs. Plz help me out.
    Regards,
    Solved!
    Go to Solution.

    Hello,
    It has been brought to our attention that our website has been blocked by one or more ISPs in the United Arab Emirates. Unfortunately there is very little Skype can do about this situation. The best course of action would be for you to speak to your ISP, ask why they are blocking Skype and request that they unblock our site.
    Thank you.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • My tel Goes after 10 minutes offline, apears à enige Apple, and i have to unlock again. People are not able to call me while THE Apple apears. Question what can be THE solution ?? It is à 3GS tel iOS 4.2.1

    My tel Goes after 10 minutes offline, apears à enige Apple, and i have to unlock again. People are not able to call me while THE Apple apears. Question what can be THE solution ?? It is à 3GS tel iOS 4.2.1

    Hi Richard,
    You mentioned that 'Apple put the AirPrint spec out there for all printer makers'. I've been looking around but I haven't found any spec. Where did you find it?
    Do printer makers have to buy a license in order to be able to advertise that they've implemented the AirPrint protocol? Is there maybe an Apple review process in place?
    TIA
    Geert

  • My tel Goes after 10 minutes offline, apears à white Apple, and i have to unlock again. People are not able to call me while THE Apple apears. Question what can be THE solution ?? It is à 3GS tel iOS 4.2.1

    My tel Goes after 10 minutes offline, apears à white Apple, and i have to unlock again. People are not able to call me while THE Apple apears. Question what can be THE solution ?? It is à 3GS tel iOS 4.2.1

    Hi Richard,
    You mentioned that 'Apple put the AirPrint spec out there for all printer makers'. I've been looking around but I haven't found any spec. Where did you find it?
    Do printer makers have to buy a license in order to be able to advertise that they've implemented the AirPrint protocol? Is there maybe an Apple review process in place?
    TIA
    Geert

  • Not able to change the Valuation class of a Material

    Hi Team,
    I am not able to change the Valuation class of a Material even if the stock is zero.
    Please assist.
    Thanks in advance.
    Chetan

    Hi Chetan,
    Please check if any open PO for this Material exist, if it is there, delete it and try to change VC.
    Thanks,
    Ninad

  • Manage bean methods not able to call application module methods

    Hi,
    I have an ADF application where in my managed bean method needs to call AppModuleImpl methods. I use the code as below:
    public void getSummary() {
    DCBindingContainer binding = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    OperationBinding op = binding.getOperationBinding("getVOData");
    op.execute();
    The code works fine when I run the application in my IntegratedWeblogicServer and I am able to get the data on my .jsp pages.
    I have installed weblogic server on another machine and I need to deploy and run my application on that server. But when I try doing that, the above code is not able to call the AppModule method and I see no data on my page (Also there is no error or exceptin thrown). Seems that the ViewController project is not able to interact with the Model project.
    Is there any extra configuration to be done on the newly installed weblogic server to get this work? Or will some change in the application code help?
    Please suggest.
    Thanks and regards,
    Ansh

    Hi,
    While creating the weblogic domain, we had the following checkboxes checked:
    1. Basic weblogic server domain [wlserver_10.3]
    2. Oracle JRF [oracle_common]
    I hope this is what we need.
    Yes, I also have the adf runtime installed.

  • Re: Subscription renewed but not able to call

    Me too having the sme issue here. 
    My subscription starts from 18th of each May; though the subscription charge gets deducted 3 days before each time. And still not able to call even it is 18th May.
    Dear Skype representatives, can you please do the needful asap and solve our issues??

    Hello,
    Using some else's thread is not only unfair to the thread starter but can lead to confusion and cause difficulty for those who are trying to assist you.
    Your issue is different to that of the person(s) whose thread you infiltrated. Two issues are almost never identical. There are too many variables.
    Please start your own thread here.
    Thank you.
    Due to the time it can take for some transactions to be processed, we charge your bank or PayPal account three days in advance to ensure prompt delivery of your subscription. You don’t lose these three days: your subscription is still valid for the full period that you sign up for (one, three or 12 months).
    Although the recurring payment is taken three days in advance to avoid possible delays, your subscription minutes are reset based on the initial purchase date and time.
    Minutes are added to Plans at or about midnight UTC/GMT on the due date.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Some time i am not able to call from iphone 6

    Some time i am not able to call from iphone 6 i have already talked with with my serviceprovider but they not able to find any problem.fom yesterday my outgoing has been stopped again

    Please give me a reply.last 24 hrs i am not able to call anyone from my phone

  • Not able to call from India but I have credit

    I m not able to call to any landline and mobile still I have Skype credit and 120 min subscription plz help me

    lakhanpandey wrote:
    I m not able to call to any landline and mobile still I have Skype credit and 120 min subscription plz help me
    Hello
    You are attempting to call within India which is no longer supported by Skype.
    https://support.skype.com/en/faq/FA34487/why-can-i-no-longer-make-calls-to-india-from-india
    p.s. You were flagged for duplicate posting which is not permitted. Please avoid in future. Duplicate post removed.
    Thank you.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Not able to call on any mobile number even credit ...

    not able to call on any mobile number even credit is there in account 

    Hi,
    Please check your usage call history on your Skype web account page to learn why the calls failed: www.skype.com/go/myaccount
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Svg - xml - why am i not able to call javscript function?

    I just created a sample svg file for displaying a menu. I wanted to change the background onClick/onMouseOver. The problem is it is not able to call the javascript function embedded in that???
    tnx in advance.
    Kalyan
    <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
    <svg width="500" height="25" onload="change(evt);"><!--viewBox="0 0 100 100"-->
    <!--<script language="JavaScript1.2"><![CDATA[
         function change(evt) {
              alert("fdsf");
              svgdoc = evt.getCurrentNode().getOwnerDocument();
              svgdoc.getElementById("menu1rect").style.visibility="visible";
              svgdoc.getElementById("menu1text").style.visibility="visible";
    ]]></Script>
    -->
         <rect style="fill:#336699" x="0" y="0" width="500" height="25" rx="12" ry="12"/>
         <g id="text1" width="100px" style="width:100px; height:20px;cursor:hand">
              <a xlink:href="JavaScript:alert('Clicked Upload XML !');change(evt);">
              <text x="45" y="15" style="font-size:8pt; fill:white; text-anchor:middle" onMouseOver="change(evt);">Upload XML</text>
              </a>
         <rect id="menu1rect" style="fill:#FFFFFF;stroke:#336699; visibility:hidden" x="0" y="0" X="350" Y="15" width="100" height="25" rx="12" ry="12"/>
         <a xlink:href="JavaScript:alert('Clicked Upload XML !')">
              <text id="menu1text" x="45" y="15" style="font-size:8pt; visibility:hidden;fill:#336699; text-anchor:middle">Upload XML</text>
         </a>
         </g>
         <a xlink:href="JavaScript:alert('Clicked Upgrade Version !')" style="width:100px; height:20px">
              <text x="150" y="15" style="font-size:8pt; fill:white; text-anchor:middle">Upgrade Version</text>
         </a>
         <a xlink:href="JavaScript:alert('Clicked Item Search !')">
              <text x="250" y="15" style="font-size:8pt; fill:white; text-anchor:middle">Item Search</text>
         </a>
    </svg>

    The script language type should be text/javascript when it is used in a svg!!
    Kalyan

  • Not able to call action of a button

    Hi All
    RIght now i am facing a very strange issue.
    In my applictaion if on my page i drop a buttion and add action for that button.
    If i add a SOP(System.out.println()) in that action i am able to see that in my back end means action is called. But on one specific page when i add a button and add action its not working.
    I am not able to see the SOP on a specific page means action is not called.
    Any idea why button on that specifci page is not called ?
    Thanks in advance,
    Vikas

    Which page?
    Which jdev version?
    Which UI technology you are using?
    What's the difference to the other pages?
    How do you get to the page in question?
    Timo

  • Not able to create a java class included in custom jar from script

    Hi,
    We need to call a third-party web service from within SAP Sourcing and so we have created and deployed a custom JAR. However I am not able to create any of the custom classes included in this object. I have created a simple JAR file having just a "Hello World" message and got our BASIS team to deploy this (they deployed using the steps mentioned in Installation Guide Section 4.2.4 - we are using Sourcing Wave 9). I have added the required import statement in my test script and included this line:
    HelloWorld test = new HelloWorld();
    When this script executes, it gives the error:
    Class:HelloWorld not found in namespace.
    Can you please give your suggestions on how to fix this error?
    Thanks,
    Gayathri

    The issue was fixed after including the custom jar in esourcing90/lib folder and redeploying

  • Not able to call Java from flex using RemoteObject

    hi,
    I am badly stuck in compiling my flex app to connect to Java code on the server side using LCDS remoteObject component.
    My swf file wouldn't trigger a method on the Java class, below is the snippet of all relevant codes, i just don't know what to do.
    Please help on what am i missing or what i am doing wrong in this.
    ------> 1. here is the ant target that uses mxmlc compiler option
    <target name="flex-compile" depends="copy-all">
        <mxmlc
          file="${uisrc}/OnlineServicesPortal.mxml"
          output="${prjdeploydir}/OnlineServicesPortal.swf"
          actionscript-file-encoding="UTF-8"
          keep-generated-actionscript="true"
          incremental="true"
          as3="true">
    <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
    <source-path path-element="${FLEX_HOME}/frameworks"/>
    <library-path dir="${FLEX_HOME}/frameworks" append="true">
         <include name="libs" />
    </library-path>
    <compiler.source-path path-element="${FLEX_HOME}/frameworks"/>  
    <compiler.include-libraries dir="${FLEX_HOME}/frameworks" append="true">   
         <include name="libs/datavisualization.swc" />   
         <include name="libs/fds.swc" />  
         <include name="libs/player/10/playerfds.swc" />   
         <include name="locale/en_US/datavisualization_rb.swc" />
         <include name="locale/en_US/fds_rb.swc" />
    </compiler.include-libraries>
    <!--compiler.services filename="${src}/flex/services-config.xml"/-->
    <!--context-root context-path="portal"/-->
    <default-size width="500" height="600" />
        </mxmlc>
      </target> 
    ---------2. services-config.xml file
    <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
        <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
        <properties>
    <polling-enabled>false</polling-enabled>
        </properties>
    </channel-definition>
    <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel">
        <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/>
    </channel-definition>
    ----------3. remoting-config.xml file
    <service id="remoting-service"
        class="flex.messaging.services.RemotingService">
        <adapters>
            <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
        </adapters>
        <default-channels>
            <channel ref="my-amf"/>
            <channel ref="my-http"/>
        </default-channels>
        <destination id="portal">
            <properties>
                <source>com.mssb.portal.impl.PortalService</source>       <!---this class file is valid & exists-->
            </properties>
        </destination>
    </service>
    -----------4. mxml file
    <mx:RemoteObject  id="myRO"  destination="portal"  result="createFieldsResultHandler();"  fault="createFieldsFaultHandler();">
    </mx:RemoteObject>
    myRO.persistServiceDefinition(serviceDef)                           //called from action script function invoked upon a click of a button.

    actually , I have laready given print stataement for the data in the context property file that you can see in the output. Today I am also able to call the bpel process using the same java program from my DOS command promt(cmd). Don't understand why the problem is occuring in unix.
    please help.

Maybe you are looking for