Installing & calling a servlet on the web

I have developed a servlet wich communicates with my client software.
I'm using Jbuilder and Tomcat and I have no problem with runnin & debugging the code, but I can't get over this problem:
How do I install the servlet on my web host (wich supports java servlet)?
Wich address do I have to use for calling it from my client?
Thank you

OK, I will try to explain it in a better way.
I worte a servlet and now I want to publish it on the net.
I have found a host (say MyWebServer) supporting java servlet.
Wich file do I have to upload to MyWebServer?
MyServlet.war ?
MyServlet.class ?
web.xml ?
servlet.jar form the tomcat's lib ?
In wich directory of the web server do I have upload them?
http://MyWebServer/MyDomain/ ?
http://MyWebServer/MyDomain/servlet/ ?
again thank you

Similar Messages

  • Installing and calling a servlet on the web

    I have developed a servlet wich communicates with my client software.
    I'm using Jbuilder and Tomcat and I have no problem with runnin & debugging the code, but I can't get over this problem:
    How do I install the servlet on my web host (wich supports java servlet)?
    How do I 'init' the servlet?
    Wich address do I have to use for calling it from my client?
    Thank you

    How do I install the servlet on my web host (wich
    supports java servlet)?Download Tomcat from jakarta Apache site. The download will have thre required servlet.jar in "lib" folder under your downloaded folder.
    How do I 'init' the servlet?When you call the servlet for the first time, it gets loaded inside the servletcontainer of your server and gets initialized.
    Wich address do I have to use for calling it from my
    client?simply "http://<web-server-name>/servlet/<servlet-class-name>
    Does this help?
    >
    Thank you

  • Firing a servlet from the web..

    I am using Win2000 IIS5 and ServletExec. I have configured the server so I can fire up a 'HelloWorld' servlet from the local machine but when I call the servlet from the web i.e. http://www.???.com/servlet/HelloWorld it does not fire. I have configured the virtual server for the web site address.
    any ideas greatly appreciated.
    Nigel

    HelloWorld is the servlet class so no extension. I've tried various ways of firing including referencing the servlet in a html page but always the same result of being able to fire the servlet if I include the server name i.e. http://websrv1/servlet/HelloWorld but not if I use http://www.mysite.com/servlet/HelloWorld.
    Nigel

  • Do I must put ALL my servlets inside the web.xml file?

    Hello everybody,
    I am trying to migrate from Webshere to TOMCAT a project with severals packets, one of those have 15 servlets and some classes.
    Is there any way to use the servlets without have to declare each one inside the web.xlm file ?
    Thanks in advance.

    All servlet definitions go into web.xml, though not the actual servlets themselves :) . Say if you wanted servlet A to have a different mapping you would define the mapping in web.xml to something other than the standard one.

  • How to run a ProC* report called in forms6i on the WEB

    Hi all,
    We have few Proc* reports which are called in our previous version of oracle forms4.5. But we have now moved to forms6i and we want to run same ProC* reports on the web using forms6i.
    I don't have a clue how to do it..
    Have anyone done something similar to my requirement or is there any reference manual to look in.
    Thanks..
    regds
    Lasily THomas

    Thanks frank for the reply..
    We use the follwing code to call Pro*C report in forms4.5
    PROCEDURE RUN_HOST IS
    cursor DOCKET_CUR is
    select NVL(DELIVERY_DOCKET_TYPE,'A')
    from CLIENT
    where CODE = :PARAMS.CLIENT_CODE;
    p_report_id wms_report_log.report_id%TYPE;
    p_program wms_report_log.program%TYPE;
    p_select_args wms_report_log.select_args%TYPE;
    ret boolean;
    delivery_docket_type varchar2(1);
    BEGIN
    check_order;
    open DOCKET_CUR ;
    fetch DOCKET_CUR into delivery_docket_type;
    if DOCKET_CUR%notfound then
    delivery_docket_type := 'A';
    end if;
    close DOCKET_CUR;
    p_program := 'mr803';
    p_select_args :=
    'CLIENT="' || :params.client_code || '" ' ||
    'ORDER_NO="' || :params.order_no || '" ' ||
    'DOCKET_TYPE="' || delivery_docket_type || '" ' ||
    'PRINT_SUB="' || nvl(:params.print_sub_orders,'N') || '" ' ||
    'REPRINT="' || 'Y' || '"';
    ret := wms_report_init(p_program, p_select_args,
    :params.printer_name, :params.background_mode,
    p_report_id);
    if (ret = FALSE) then
    raise form_trigger_failure;
    end if;
    -- if no report_id was set then user must of cancelled
    if p_report_id is null then
    return;
    end if;
    :system.message_level := 10;
    commit;
    :system.message_level := 0;
    ret := wms_run_report('../proc/'||p_program, p_report_id, :params.background_mode);
    if (ret = FALSE) then
    raise form_trigger_failure;
    end if;
    END;
    Frank, can u please briefly explain what do u mean by
    physical
    directory for Web access and use Web.show_document()
    in Forms on the Web to download the Reports output to
    the client.Im very new to forms6i..
    regds
    Lasily THomas

  • After installing Adobe After Effects CC the web browser crashes

    Hi,
    I don't know where to turn with this so I'm trying as many possibilities as I can think of:
    I installed After Effects CC on my PC. I then noticed that a web page that I created incorporating a virtual tour stopped functioning properly. It doesn't matter which computer I access it from. I haven't done anything to this web page but it has just stopped working properly after I installed After Effects CC. If I use Chrome a Shockwave Flash has Crashed message appears:
    I've tried creating a similar page but the same problem occurs:
    I've checked Chrome using the phrase   about:plugins  and tried disabling one of the two Adobe Flash Player plugins to no effect
    I've contacted my internet service provider and they have assured me the problem is not connected to using their service
    I have contacted the company which provided the virtual tour software and sent them a copy of the file that I included in the web page. There has never been any problem with the web page before
    I also tried uninstalling and downloading a more up to date version of the Panotour Tourweaver software but still the same problem occurs.
    I've tried recreating the page but the browser (IE, Firefox and Chrome) crashes on whichever computer I'm accessing the webpage from
    So I wondered if the problem is connected the creative cloud?
    No matter what computer I use the browser crashes when I click on a button within the webpage (which normally opens another webpage that I created). I haven't touched any of this and it has always worked perfectly. The only thing I've done recently is to download the Adobe After Effects CC app and then the problem occurred.
    Any constructive advice would be appreciated, thanks

    Update - I've now tested this with different internet connections, different computers and different operating systems. I've also just received a response from my internet service provider who said:
    "I've tested in Firefox, and it looks as if the buttons are crashing the browsers' flash plugin. This being the case, it is not going to be anything related to your computer, the internet connection, or the web server. 
    In all likelihood, it will be an issue with how the flash tour is coded, which I presume is created automatically by the Tourweaver package you mention. You will need to pursue their support for advice on this problem as it is something with the flash file)s( which isn't working correctly."
    So, hopefully Easypano support will be able to fix the problem. Obviously no connection at all with Adobe After Effects

  • How can I dowloaded Recorde phone call conferences posted on the web?

    Hi Friends
    Yesterday I bought my first IPOD, and I am enjoying the music etc.
    However, the main reason I bought the IPOD is so that I can record all the phone conference call we have with our internet business. Our leaders have posted several recorded calls with different topics (these are called made by phone and recorded so we can review and learn what is being taught to us).
    I click on the download button (click here to download)on the internet page, and the Quick Time sign comes and It begins playing, but I need downloading not playing and I do not see any place to click once it begin to play.
    HELP HELP HELP
    Arnold

    On the web-site that you get the recordings from, right click on the link instead of left-clicking and then click "download as" or "save target as". Then save it in My Documents or whereever you want. Then open iTunes, go to file - "Add File To Library". Once the window pops up, find your phone record and click "open". It should now be in your library, ready to be downloaded to your iPod.
    If this solution was helpful or it solved your problem, please click either button at the top of my post.
    Thanks,
    Matt

  • Calling Bex Workbooks from the Web Dynpro

    Hi All,
    I'm calling Bex Workbooks from my dynpro using the following code:
    create reentrance ticket
      call function 'CREATE_RFC_REENTRANCE_TICKET'
        importing
          ticket                 = l_ticket
        exceptions
          ticket_logon_disabled  = 1
          ticket_creation_failed = 2
          kernel_too_old         = 3
          others                 = 4.
      check sy-subrc = 0.
    system number
      call function 'GET_SYSTEM_NUMBER'
        importing
          instancenumber = l_sysno.
    create the shortcut
      CONCATENATE '[System]'                           cl_abap_char_utilities=>cr_lf
        'GuiParm=' sy-host ` ` l_sysno                 cl_abap_char_utilities=>cr_lf
        'Client=' sy-mandt                             cl_abap_char_utilities=>cr_lf
        '[User]'                                       cl_abap_char_utilities=>cr_lf
        'Name=' sy-uname                               cl_abap_char_utilities=>cr_lf
        'at="MYSAPSSO2=' l_ticket '"'                  cl_abap_char_utilities=>cr_lf
        'Language=' sy-langu                           cl_abap_char_utilities=>cr_lf
        '[Function]'                                   cl_abap_char_utilities=>cr_lf
        'Title='                                       cl_abap_char_utilities=>cr_lf
        'Command=*RRMXP WBID=' l_workbookid            cl_abap_char_utilities=>cr_lf
        'Type=Transaction'                             cl_abap_char_utilities=>cr_lf
        '[Configuration]'                              cl_abap_char_utilities=>cr_lf
        'GuiSize=Normal window'                        cl_abap_char_utilities=>cr_lf
        'Workplace=true'                               cl_abap_char_utilities=>cr_lf
        '[Options]'                                    cl_abap_char_utilities=>cr_lf
        'Reuse=0'                                      cl_abap_char_utilities=>cr_lf
        into l_content.
      lo_conv = cl_abap_conv_out_ce=>create( ).
      lo_conv->write( data = l_content ).
      l_content_x = lo_conv->get_buffer( ).
      concatenate l_workbookid `.sap` into l_filename.
      cl_wd_runtime_services=>attach_file_to_response(
        i_filename      = l_filename
        i_content       = l_content_x
        i_mime_type     = `application/octet-stream`
        i_in_new_window = abap_false
        i_inplace       = abap_true ).
    Most of the time it's working fine - but some user experience a "Host Unknown" failure ?? - I suspect than it has something to do with contacting Excel, but I can't figure out exactly what goes wrong. The users have all needed componets of course, and they can run Workbooks from SAP GUI without getting this error.
    Thanx Ahead.

    Look at below link: it might help you.
    [WAD URL Call for BEX|/thread/268199 [original link is broken];
    Raja

  • Hi, I purchased lightroom 5 and installed on my laptop(not the web online version).

    I had irreparable accidental damage to my laptop. I went ahead and bought a new one. However, I would like to install the Lightroom software to my new equipment. I have the serial number of the registration code and receipt of from my previous purchase. How can I activate it ?
    Thanks

    I appreciate the time you take to respond my questions. For some reason,
    Adobe wasn't recognizing the serial number. I used the purchase store code
    to validate my license serial number and it worked this way, even though it
    was the same serial used before at the Adobe site.
    Thanks again,
    Omar

  • Problems Calling Graphics by Forms on the Web

    Hi!
    I'm not able to call a graphic on the web using Forms6i (Version 6.0.8.8.0 (Production)) and Graphics (Version 6.0.5.33.0).
    I made a call to a graphic using the RUN_PRODUCT built-in.
    On a client-server connection the call has no problem.
    On the Web i have no error messages, no results!!!
    I tried to populate a chart item with the graphic (always with RUN-PRODUCT) and i had a correct result but when i tried to enlarge the item i had an error message (FRM-92100: Your connection to the Server was interrupted with him detail composed by a lot of java exceptions).
    HELP!!!!!!!!
    null

    Start by setting the "Java console" on in the Jinitator control panel on the client machine. This will show you if Jinitator is called and if it is downloading the correct Jar files.
    If you weren't prompted to install Jinitator I would guess you have some security setting you need to set in your IE to allow the download of an exe file.

  • Call a FM in a web template to execute a workbook in the portal

    this is what i got and what i need,
    i got a web template like a panel buttons, where behind each button is a web report,  but there is one report that is needed in a workbook,  i got the button for this report, the problem is how can i call this workbook trough the web template???
    trough javascript???
    trough html???
    trough FM ??
    i got a FM RSAH_LAUNCH_EXCEL , this FM just need the ID WORKBOOK and ID QUERY and call the workbook , this FM can be  fixed because this button is for this report, but now what can i do to make this...., help

    Hello.
    I have exactely the same need, can you please let us know how you solved your problem?
    Thanks
    Best Regards.

  • SSO between WebDynpro and Servlet on the same machine

    Hi,
    I have an WebDynpro application running in our portal which makes some calls using RFC to a backend system. The RFC connection is obtained using DestinationService and SAP Logon Ticket is used for authentication.
    This app should call a servlet on the same instance which also uses RFC to get some data from the backend.
    Now, wenn I call the servlet from the WebDynpro, the exception java.lang.IllegalStateException: No SAP logon ticket found comes up. Does anyone have an idea how to configure the servlet-webapp to accept logon tickets?
    Thanks in advance
    Thorsten

    this must mean that your windows drive is formatted NTFS. NTFS drives are not natively writable from OS X (only readable). However, you can install Macfuse and [NTFS-3g|http://macntfs-3g.blogspot.com> (both are free) to make them writable.

  • 404 file not found ,for servlets in a web app but not for html files

              Hi everybody ,I have this web app on weblogic 7 .The application
              works file with Tomcat 4.0 but on WebLogic server 7,I am getting
              404 not found for all the servlets ,although weblogic is serving
              the html files without any problems
              

    Create a subdirectory called 'classes' and copy your servlet class file
              to the 'classes' dir.
              mydomain/applications/
              DefaultWebApp/
              WEB-INF/classes.
              Modify the web.xml file located in the mydomain/applications/
              DefaultWebApp/
              WEB-INF/ directory
              <web-app>
              <servlet>
              <servlet-name>
              myServlet
              </servlet-name>
              <servlet-class>
              package.name.myServlet
              </servlet-class>
              </servlet>
              <servlet-mapping>
              <servlet-name>
              myServlet
              </servlet-name>
              <url-pattern>
              servlet-url-pattern
              </url-pattern>
              </servlet-mapping>
              </web-app>
              Start the default WebLogic Server.
              Call your servlet from a Web browser with the following URL:
              http://localhost:port/servlet-url-pattern
              servlet-url-pattern is the value of the <url-pattern> element that you
              defined in the web.xml file.
              prakash wrote:
              > Hi everybody ,I have this web app on weblogic 7 .The application
              > works file with Tomcat 4.0 but on WebLogic server 7,I am getting
              > 404 not found for all the servlets ,although weblogic is serving
              > the html files without any problems
              

  • Problem with Jdeveloper and the Web Object Manager

    I am trying to register a servlet through the web object manager.
    As soon as click the web object manager menu pick I get the following
    error: Could not load servlet information from web server.
    On other peoples machines here it works fine and they can register
    servlets. What am I missing!

    hmmmm, wondering if I understood you correctly:
    first try the file association - right click on one of the movie files (you should tell as well with extension) then 'open with' menu then go to 'choose program' and then choose one of them and coach the box "always use the selected program to open this kind of file" in your example 'window media player'.
    the other point I understood is that in download directly into your browser, well there is a settin for this in the option, don't know where exactly, but you can avoid this by right clicking on the movie/file link and choose 'save target as ...' this forces it to download it on your disk and then you can open it.
    hope this kinda helps
    Cheers
    Slarti

  • How to get the web application root ?

    Hi,
    We are developing a JSP/Servlets web application for Weblogic 5.1, that is distributed as a WAR archive, and so far we are unable to determine the web application root dynamically (from within the code in a Servlet or class). We tryed the servletContext.getRealPath("/") method, but it is not working due to the fact that we are deploying the application as a WAR file.
    We need to have this app root at the application startup, because it is widely used inside the JSP pages and the servlets of the web application. Also we would like to avoid setting it as a static parameter in the web.xml or elsewhere.
    Does anyone know how to do that? Any hint or suggestion is very much appreciated!
    TIA
    Stefan Buynov

    Thanks for your reply.
    As I said in one of my early posts, this variable (the application root) i used widely in the application (not only in JSPs, but also in classes).
    Another problem will be including JSTL in the project - first of all, I will have to put this tag where the variable is required (it will be quite exhausting), and also the specification of the application is strict - I might not be able to add this tag library, since the client won't like it.
    Anyway, thanks for your concern.
    Regards,
    Stefan

Maybe you are looking for