Is it possible to  call servlet in struts?

hello,
In struts we can submit form like this login.do
likewise is it anything possible to call servlet in struts.

In struts we can submit form like this login.donot nessarily it all depends on your ActionServlet configuration in what way you configured the its URLPattern in web.xml
if you are intrested you can very well specify it to be
<servlet>
     <servlet-name>StrutsActionServlet</servlet-name>
     <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
         <param-name>config</param-name>
         <param-value>/WEB-INF/strutsconfigurationfile.xml</param-value>
      </init-param>
      <init-param>
           <param-name>debug</param-name>
            <param-value>2</param-value>
      </init-param>
      <init-param>
     <param-name>detail</param-name>
     <param-value>2</param-value>
      </init-param>
       <init-param>
     <param-name>validate</param-name>
     <param-value>true</param-value>
       </init-param>
      <load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
       <servlet-name>StrutsActionServlet</servlet-name>
       <url-pattern>*.sivakaminathan </url-pattern>
</servlet-mapping>
likewise is it anything possible to call servlet in struts. Why not ?
Struts itself is driver by a Servlet(ActionServlet).
all you have to do is to Configure your Custom built Servlet in web.xml with by naming the Servlet Instance,settings its configurations & specifying its URL pattern.
just like the one which you did for Struts Action Servlet
Hope that is the relavent answer for your question
REGARDS,
RaHuL

Similar Messages

  • Is it possible to call a dll thru XI

    Hi ,
    Is it possible to call a dll thru XI .
    Thanks in advance
    Divya

    Hi Divya ,
    You can follow up these blogs and docs for your refrence
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    JDBC-XI-File Scenario
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    Regards
    Abhi

  • Calling servlet from a backing bean

    hi guys i need to call a servlet from a backing bean in JSF. how do i do that ?
    The scenario is i have to call servlet on a different machine from my backing bean . I also need to pass an object to the servlet .
    This object contains data which must be manipulated and inserted in the database by the calling servlet.
    I also want that after insertion in the db the control must be passed to the backing bean .
    Is this all possible???
    Please help

    You may want to investigate the built in java.net.URL class. For advanced needs, Apache has a Java HTTP client library.

  • Get HTML source from servlet or strut action

    Hi, need ur help
    I would like to get the HTML source code after calling a URL, for example,
    Suppose a servlet will return a page hello.html, i would like to grap this HTML page source code in my servlet or strut action.
    How can i achieve this?
    Thanks

    This question does not make sense, because the Servlet is the thing that generates the HTML in the first place.
    If you want to view the HTML source of a given web page. Go to 'View'->'Source' in Internet Explorer.

  • Call servlet through stateless sessionbean

    can any body help me about.....
    code to call(run) servlet through stateless session bean,
    how can develop it using URL class..
    please help me............

    Hi
    it can be possible if your session bean  can call servlet through an protocol.
      means you can create an URL or URL connection class and call it through http protocol.
    i .e we can create URLConnetion ( HttpURLConnection ) object to that servlet  from a session bean.
    I hope this will help you some extent to solve your probs.
    Thanks
    Mrutyunjaya Tripathy

  • Is there Any Way for calling servlet inside from javascript ?

    i have to call servlet from javascript .
    is it possible?

    is it possible?I don't know what excactly you are trying to do, but yes it's possible.
    You need to send a request to the server.
    Keep in mind that JavaScript is executed on the client whereas the Servlet is executed on the server.

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

  • Is it possible to call ms-dos command in abap program?

    Hi,
    is it possible to call ms-dos command in abap program?
    Thanks.

    Hi Cemil,
    You probably have your answer here:
    [Re: DOS/Windows command in app server;
    You create your external command with SM69 (you can test it with SM49).
    Then you call this command with function module "SXPG_COMMAND_EXECUTE".
    (See function group SXPT for all the calls to external commands).
    Regards,
    Thomas

  • Is it possible to call a adobe form inside a function module?

    Hi gurus,
    i am trying to generate the pdf data source inside a custom function module,
    the function module will call the FUNCTION 'FP_JOB_OPEN' , then call the function module of the pdf interface. then get the pdf data back and return.
    but at run time i got the error message:
    FPRUNX101, the job already started.
    then the program stopped.
    i checked the service market place, there is a note for that:858325 Message "Job already started" when you display PDF forms .
    according to the notes,it seems that it's only possible to call the pdf generated function module in a program.
    my question is , is there a way to call that in a funciton module?
    best regards.
    Jun
    the note states that:
    Reason and Prerequisites
    At runtime, a PDF-based form is called using a generated function module. If you use the new interface, it is necessary to set the function modules FP_JOB_OPEN and FP_JOB_CLOSE as control structures with one or several generated function modules. In order for the single test from Transaction SFP to work simultaneously, however, the system checks for the test environment of Transaction SE37 (in which the test ultimately runs) in the single test. In this case, the function modules FP_JOB_OPEN or FP_JOB_CLOSE are called automatically.
    If you then test a function module that calls a PDF based form and therefore calls the function module FP_JOB_OPEN itself, this leads to the error message mentioned above.
    Solution
    The test should be carried out using a program that in turn calls the function module to be tested.

    sorry, i found out the reason.
    the fm can not test direct in se37, it should be wrapped by a program.
    br.
    zj

  • Is it possible to call a VI that is inside a LabVIEW executable from a TestStand sequence?

    I have created a custom TestStand operator interface and have modified the default sequential process model to display a UUT information dialog that prompts for more information than just the UUT serial number.  This UUT information dialog is a LabVIEW VI.  To distribute the operator interface, I build it into an executable.  As part of the build process, I make a copy of the UUT information dialog VI (which is part of my operator interface project) and place it in the same folder as the executable.  I have then configured the sequential process model to call the dialog VI from this location.  It would be really nice if I could embed the UUT information dialog VI inside the operator interface executable so that I could distribute just an executable instead of an executable and separate VIs.  Is this possible?  In other words, is it possible to call a VI that is inside a LabVIEW executable from a TestStand sequence just like a standard LabVIEW VI call?

    Ryan,
    The dialog that you've created isn't being directly called by the OI at all and shouldn't need to be included in the same directory as the OI for distribution. Since you are modifying the PreUUT of the default process model, you will give the path to the VI in that step, create a deployment and then manually copy the VI to the directory referenced in the step. The VI is considered a support file for the process model and is not related to the OI at all.
    Test Engineer - CTA

  • Is it possible to call a 9i Forms from a 6i Forms ?

    Hello,
    I have a customer using CRM 11.5.10.2 ( Database 9.2.0.6 / 6i Forms) and will be created a functionality in the CRM screen, where end user will call (via button) a custom application running on 9i Forms.
    Customer believes that there is a technical limitation to achieve that. That is, call a 9i Forms from a 6i Forms.
    Is it possible to call a 9i Forms from a 6i Forms ?
    Thank you in advanced for help,
    Marcos Souza.

    I should have thought so, as Forms 9i is exclusively web-driven, so how you launch the URL is immaterial as long as you use a supported browser. As your Forms 9i apps will invariably be on a remote web server, you'll not encounter compatibility issues either. And Forms 6 and 9 development is possible on the same PC using multiple Oracle Homes. Ask Oracle beforehand if you are still not convinced.

  • Is it possible to call custom designed RFC function module, apart from BAPI

    Hi Friends,
    1.     Is it possible to call custom designed RFC function module, apart from BAPI.
    2.     Why we call it Adaptive RFC layer, Since every time the JCO layer updated with SAP, Why can’t be dynamic.
    Thanx for Ur time.
    Cheers,
    Sam

    Also check <a href="http://help.sap.com/saphelp_nw04/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm">here</a> for more information on aRFC. Here you can find why it is called adaptive.
    Regards,
    Christophe

  • HT5071 Is it possible to call a locally installed ibook from a hyperlink? What about to a bookmark?

    Is it possible to call a locally installed ibook from a hyperlink? What about to a bookmarked page?
    I have 2 questions..
    1. Can I send a link via email that when launched will open an ibook that has already been downloaded to the bookshelf?
    2. If question 1 is possible, can I take it a step further and call a bookmark, i.e. chapter 3.
    Our company has it's own appstore and I want to send out links to sections of the ibooks using bookmarks or at the very least take them to the start of the ibook.
    I don't need to give them a link to install the ibook as they already have it installed.
    Any help would be much appreciated.
    Chris.

    That would be cool, but it's not possible. The ibook is not accessible by URL in the user's bookshelf.

  • Is it possible to call the contact number indicated in the cell?

    Hello! Tell me please, I want to move a lot of contacts in the electronic form and organize a list of contacts in Numbers. Is it convenient to use it on the iphone? Is it possible to call the contact number indicated in the cell? That is an example: name, contact, etc. A few columns. I click on the number of human cell, and then what would happen if a set of user (as it happens in the notes for example)?
    Sorry for my english.

    Your post is now in the iWork for iOS community. You should be able to get to it using the link in the email you receive with this message.
    Regards,
    Barry
    PS: Interesting that I received the notification of your post in Russian (except for the first and last words).
    Here's Googles translation of my reply above:
    Ваше сообщение в настоящее время в IWORK для IOS сообщества. Вы должны быть в состоянии добраться до него по ссылке в сообщении электронной почты вы получите с этим сообщением.
    С уважением,
    Барри

  • Is it possible to call a Web Application from OSB Business Service

    Hi,
    Is it possible to call a Web Application that has URL - http://host:port/parse.php using a business service in OSB?
    What I have seen is it is able to call the service but the data we are sending that is the string in the form of the URL encoded data is not going there. Any help would be appreciated.
    Regards,
    Anuj

    What I have seen is it is able to call the service but the data we are sending that is the string in the form of the URL encoded data is not going there. Any help would be appreciated.How did you configure your BS. My guess is some thing to do with what your BS is configured and what the Back-end is expecting? HTTP Get Vs HTTP Post
    Manoj

Maybe you are looking for

  • Keynote and pages

    I was deleting photos from my iphoto and I apparently deleted the Keynote and pages on my Mac OS X 10.6.8. I went to click on my widgets on the dock and a question mark shows up on both. I believe I accidently deleted keynote and pages out of my syst

  • Printing Blocks and Bands of Color

    Two PC's (2000 & XP), an Officejet 7310 and a TV are connected to a wired ethernet router. Both PC's have been configured to use this printer as their default. It's the only printer connected right now. This printer had no software disk when I found

  • Tree View Node Element Resize

    Hello, Is there any way to resize Tree View Node Element programatically. In .fr file the height of the tree view node element is set to 90. On a button click I want to resize the element height to 18. I have tried using IControlView->SetFrame(TmpRec

  • Is there a way to make polygone shapes/buttons?

    Greetz peepz, Is there a way to make polygone shapes and/or buttons? I would like to make more accurate dropshadows and imagemap-like buttons.

  • Method to get the server time

    Hi, Is there any method in the TopLink API that returns an Date or Calendar or Timestamp (etc) with the server/database time?? I need to use this time and I want to avoid creating a query to do that (I think creating the SQL query will let my applica