Urgent: how to run applet which connected to the servlet?

hi frends:
i have written an applet on the server side and it supposed to pass parameters to my servlet and retrieve some info from the servlet.
i put both applet and servlet under tomcat../WEB-INF/classes. but when i run the applet from the web browser, there is no response from the servlet.
could anyone help me to solve this problem?
one more thing is i know that applet is able to connect to servlet, but how about java application? is it able to do so? if yes, is it also using URLconnection as applet? and how to run it?
i will be very appreciate if anyone can help me... thanx a million.

You can connect to the servlet from an application.There's a URL class in java.net that has an openConnection method. Then cast the return to an HttpURLConnection and use setMethod to set up as a post request.This may be the default if you call setDoOutput(true) on the URLConnection. Then you'll need to get an OutputStream and write properly formatted form POST data to it. It's also possible to encode your data on the URL, even when using the POST method, and this may be easier when doing it programmatically from an application. To send a get request you can append the name-value pair at the end of the url.

Similar Messages

  • Urgent - How to Run Applet without JRE installation

    I am creating an applet which displays information using JTree. This applet needs to be deployed in 'n' systems which may or may not contain JRE. Is there any way where in i can deploy in all the systems without any error.

    You could provide swing.jar and have the applet load that. It is
    slow though.

  • HOw to run Applet in browser.

    Hi guys. I've got 2 problems.
    1. In Window, I've got Java installed (and using NetBean IDE as Java editor), so of course I've got j2sdk_nb-1.4.2 installed as well. But I couldn't run any applet in IE, for example, in games.yahoo.com, I couldn't join any game because applet always failed to load. But yesterday, I've got a pop up asking to install jre1.4.2 and after install this JRE, everything works fine. My point here is, when I have SDK1.4.2 which contains JRE, why should I have to install new JRE to run applets ?
    2. Could anyone tell me how to run applet in Mozilla, Linux. I'm using Linux RedHat 9 as well. And in Redhat, I've got J2sdk_nb-1.4.2 installed with NetBeans IDE. It said that I need appropriate Plugs-in, but in my Java directory, I also found Plugsin directory. So how to configure Mozilla to run applet.
    Thanks for reading.

    Just to let you guys know that I sorted it out already. Well, the problem lies in I'm confused between two directory /usr/lib/Mozilla and /usr/lib/Mozilla and two Java plugs-in available in nsc60 and nsc60-gcc (don't remember exactly)
    For my Linux (Red Hat 9), I've got to create symbol link from nsc60 directory to /usr/lib/Mozilla, not any other way.
    Thanks

  • Hi, I'm using a Mac Pro here. I am trying to connect it with my NAS hard drive. But i could not connect to it because i have an ethernet which connects to the intranet in my company and Air Port for the internet.

    Hi, I'm using a Mac Pro here. I am trying to connect it with my NAS hard drive. But i could not connect to it because i have an ethernet which connects to the intranet in my company and Air Port for the internet and it could not detect the the ip address after i input the correct address on "Connect to Server" window. Please help! Urgent! Thanks

    I did not say it is not possible.
    I said if your company networks are monopolizing both ports, you should talk to them about what options are available.
    Maybe you can get the company Intranet over wireless if you change some configuration items such as Subnet Mask.
    Maybe you can get on the Internet over Ethernet.
    You really need to ask them, and do not let them blow you off because you have a Mac. If they balk, ask them how it would be done on a PC (becasue it will be the same on a Mac).

  • How to run a Concurrent Program from the back end?

    Hi,
    How to run a Concurrent Program from the back end?
    Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
    If yes, then Please Give reply how to write the code
    Thanks in Advance,
    Bharathi.S

    This is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
    221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
    HTH
    Srini

  • Adobe Cloud has 2 different Muse programs.... how do I know which one is the newer better version?

    So I am new to Muse, and my Adobe Cloud has 2 different programs from Muse... how do I know which one is the newer better version?
    One Must program (Muse CC 2014.2)  has a black background when working on it... it looks like other Adobe programs such as Photoshop.
    The other one is light color (Muse CC) very similar to the black color Muse on functions.....
    One of the difference I notice is that the light color Muse has a few widgets in the library, while the black background Muse seems to have an empty library
    So... why are there 2 different Muse programs in my Adobe Cloud?

    Hi
    The latest version of Muse is 2014.2, so you need to uninstall another version of Muse manually.
    regarding the items in Library, you can add items in your library manually, as shown in this article
    Adobe Muse Help | Organizing and reusing design elements using Library panel
    Please let me know if you have any other query.

  • How to find out which type of the driver is used in our application?

    Hi all,
    can anyone tell me how to find out which type of the driver is used in our application?
    Thanks in advance,
    Phoeniox

    Hi,
    Check out this...
    Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
    List drivers = Collections.list(DriverManager.getDrivers());
                   for(int i=0;i<drivers.size();i++)
                        Driver driver = (Driver)drivers.get(i);
                        String driverName = driver.getClass().getName();
                        System.out.println("Driver "+i+":::"+driverName);
    you need to load the driver and display in the same program.
    Then only you'l get the required result.
    prakhyath

  • When I connect my apple tv to my access point upstair and connect my ipad to the same access point i cant see my apple tv when i open up the airplay menu on my ipad. but i can see the apple tv in the living room downstair which connect to the main router

    when I connect my apple tv to my access point upstair and connect my ipad to the same access point i cant see my apple tv when i open up the airplay menu on my ipad. but i can see the apple tv in the living room downstair which connect to the main router.
    Below is some info i get about ports.
    I tried to set DMZ on my main router to have full access to ported to access point upstair which is in the ip of 192.168.1.2 and the main router in the living room is the gateway router with the 192.168.1.1 ip.
    I still cant see apple tv after i try the DMZ method.
    any suggestion ?
    These network ports are used by Apple TV for communications on your network.
    TCP port 123 is used to communicate with a network time server.
    TCP port 3689 is used to communicate with iTunes while using the iTunes Library Sharing feature.
    UDP port 5353 is used by Apple TV for automatically finding computers with iTunes on your network using Bonjour.
    TCP port 80 is used for communicating with podcast servers.
    TCP port 80 and 443 are used for basic and secure communications with the iTunes Store via the Internet.
    TCP port 53 is used for regular DNS.
    These are well-known ports used by Apple products, like iTunes. If you can use all the features of iTunes, these ports are likely already open on your firewall or NAT router. Note: These ports may also used by other services such as YouTube and Flickr.

    When the Apple TV is paired with a remote, it means only that remote can control it, when it's not paired any remote can control it. You will need a remote for each of your devices.

  • How do I change which application is the (default) for a given file type?

    For .pdf files, I have set the application behaviour to "Always Ask", because sometimes I want to open the pdf, sometimes I want to save it. So far so good.
    Now, when I want to open the .pdf, I have added an application to the dropdown list, so now I have "Adobe Reader 9 (default)" and "okular".
    The problem is this: I *never* open using Adobe Reader. I always want to use okular, but Adobe Reader always appears first on the list, as it is the 'default'. This means I always have to click on the dropdown and select "okular", i.e. an extra step every time I want to open a pdf.
    How do I change which application is the default?

    Yes, I know that. That was the first sentence of my question, but it is not the problem I have.
    I want to change which application is the (default) for a given file type, and this cannot be done from the settings.

  • How can I tell which generation is the MBP's Core i CPU

    In the showroom: How can I tell which generation is the MBP's Core i CPU?

    Abdullah Tammour wrote:
    In the showroom: How can I tell which generation is the MBP's Core i CPU?
    Ask the sales staff. 

  • How do I monitor clients connections on the time capsule?

    How do I monitor Wifi connections to the Time Capsule (client mac address, IP, time, etc.)?

    There is very little information displayed about clients in Mountain Lion.
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Click on the Time Caspule icon
    Look for Wireless Clients
    Click on the ID number or Name to see more information

  • When using Multicam in CS6 how do I choose which source file the audio comes from?

    I've noticed when using the Multi-cam window to create edits, the audio does not change when I select the different video sources. How do I select which source file the audio comes from?

    It doesn't make sense why the multicam source sequence only uses one track of audio. Was this by design? The issue with this as in my situation (and because I didn't know this) I recorded all my source videos with the music tracks on the right side which is what I'm using to cut my video with. Not being able to hear this while I'm cutting is really frustrating. There's a reason I separate dialog on the left side and music on the right. There should at a minimum be an option while setting up the multicam to choose more audio options. Even in the audio clip option settings, those don't seem to work when a clip is put into a multicam source sequence.
    The other issue is when you bring in the audio after the fact or even before, there's no way to sync timecode with audio to the multicam sequence. When I create the Multicam source sequences in my project bin, I choose sync with timecode, not in points, because the record decks I'm using are all locked with a TC gen during the shoot.
    Maybe I'm missing something, but there seems to be either a bug with multicam or a design flaw. Even in the help documentation, it states multiple audio tracks can be brought in with the multicam sequence, but only track one is enabled by default. I've never been able to have the MC sequence bring in more than one track of audio no matter what the audio settings are.

  • Error 1403. How do I tell which update was the last downloaded?

    Error 1403. How do I tell which update was the last downloaded?
    It is my understanding the updates need to be downloaded in order.

    Hi jmin907
    You may need to download the update from the Adobe Download site (Windows: http://www.adobe.com/support/downloads/product.jsp?product=1&platform= Windows). These updates typically have to be installed in order unless the downloads indicate otherwise.
    See the Update Sequence on : http://helpx.adobe.com/acrobat/kb/update-patch-acrobat-reader-7.html

  • HT201407 how to know under which carrier has the phone been issued

    how to know under which carrier has the phone been issued

    If you bought it from an authorized Apple reseller, it should say on the receipt. If you bought it from a private seller, ask that seller, or call Apple Support and they may be able to tell you.
    Regards.

  • Call methods (which are in the servlet) in my response page

    Hello !
    I want to call methods which are in the servlet ( its name is ServletRecap) BUT the call is made in the response page which is generated by the servlet ServletRecap !
    I just want to allow the user to update his choice in the response page.
    example: i choice A in the initial form but i change my mind and now i want to choice B in the response page : the choice have to be update in the database.
    the insertion in the DB is made by a method in the servlet : so i have to recall the method in the response page!
    Please, anybody have an idea ?
    my servlet :
    public class ServletRecap extends HttpServlet {
        // param�tres d'instance
        private String urlErreurs = null;
        private ArrayList erreursInitialisation = new ArrayList<String>();
        private String[] param�tres = {"urlFormulaire", "urlReponse", "urlControleur", "lienRetourFormulaire"};
        private Map params = new HashMap<String, String>();
        // init
        @SuppressWarnings("unchecked")
        public void init() throws ServletException {
            // on r�cup�re les param�tres d'initialisation de la servlet
            ServletConfig config = getServletConfig();
            // on traite les autres param�tres d'initialisation
            String valeur = null;
            for (int i = 0; i < param�tres.length; i++) {
            // valeur du param�tre
                valeur = config.getInitParameter(param�tres);
    // param�tre pr�sent ?
    if (valeur == null) {
    // on note l'erreur
    erreursInitialisation.add("Le param�tre [" + param�tres[i] + "] n'a pas �t� initialis�");
    } else {
    // on m�morise la valeur du param�tre
    params.put(param�tres[i], valeur);
    // l'url de la vue [erreurs] a un traitement particulier
    urlErreurs = config.getInitParameter("urlErreurs");
    if (urlErreurs == null) {
    throw new ServletException(
    "Le param�tre [urlErreurs] n'a pas �t� initialis�");
    @SuppressWarnings("unchecked")
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException {
    // on v�rifie comment s'est pass�e l'initialisation de la servlet
    if (erreursInitialisation.size() != 0) {
    // on passe la main � la page d'erreurs
    request.setAttribute("erreurs", erreursInitialisation);
    request.setAttribute("lienRetourFormulaire", "");
    getServletContext().getRequestDispatcher(urlErreurs).forward(
    request, response);
    // fin
    return;
    // on r�cup�re la m�thode d'envoi de la requ�te
    String m�thode = request.getMethod().toLowerCase();
    // on r�cup�re l'action � ex�cuter
    String action = request.getParameter("action");
    // action ?
    if (action == null) {
    action = "init";
    // ex�cution action
    if (m�thode.equals("get") && action.equals("init")) {
    // d�marrage application
    doInit(request, response);
    return;
    if (m�thode.equals("post") && action.equals("validationFormulaire")) {
    // validation du formulaire de saisie
    doValidationFormulaire(request, response);
    return;
    if (m�thode.equals("post") && action.equals("enregistrementFormulaire")) {
    // enregistrement du formulaire de saisie
    doEnregistrementFormulaire(request, response);
    return;
    if (m�thode.equals("post") && action.equals("retourFormulaire")) {
    // retour au formulaire de saisie
    doRetourFormulaire(request, response);
    return;
    // autres cas
    doInit(request, response);
    // validation du formulaire
    void doValidationFormulaire(HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException {
    // on r�cup�re les param�tres
    String nomCentre = (String) request.getParameter("nomCentre");
    String idCentre = (String) request.getParameter("idCentre");
    String nomPreleveur = (String) request.getParameter("nomPreleveur");
    String datePrelev = (String) request.getParameter("datePrelev");
    String numFinFiche = (String) request.getParameter("numFinFiche");
    // qu'on m�morise dans la session
    HttpSession session = request.getSession(true);
    session.setAttribute("nomCentre", nomCentre);
    session.setAttribute("idCentre", idCentre);
    session.setAttribute("nomPreleveur", nomPreleveur);
    session.setAttribute("datePrelev", datePrelev);
    session.setAttribute("numFinFiche", numFinFiche);
    // v�rification des param�tres
    ArrayList<String> erreursAppel = new ArrayList<String>();
    // le nom doit �tre non vide
    nomCentre = nomCentre.trim();
    idCentre = idCentre.trim();
    nomPreleveur = nomPreleveur.trim();
    datePrelev = datePrelev.trim();
    numFinFiche = numFinFiche.trim();
    if (nomCentre.equals("")) {
    erreursAppel.add("Le champ [nomCentre] n'a pas �t� rempli");
    if (idCentre.equals("")) {
    erreursAppel.add("Le champ [idCentre] n'a pas �t� rempli");
    if (nomPreleveur.equals("")) {
    erreursAppel.add("Le champ [nomPreleveur] n'a pas �t� rempli");
    if (datePrelev.equals("")) {
    erreursAppel.add("Le champ [datePrelev] n'a pas �t� rempli");
    if (!numFinFiche.matches("^\\s*\\d+\\s*$")) {
    erreursAppel.add("Le champ [numFinFiche] est erron�");
    // des erreurs dans les param�tres ?
    if (erreursAppel.size() != 0) {
    // on envoie la page d'erreurs
    request.setAttribute("erreurs", erreursAppel);
    request.setAttribute("lienRetourFormulaire", (String) params.get("lienRetourFormulaire"));
    getServletContext().getRequestDispatcher(urlErreurs).forward(
    request, response);
    return;
    // les param�tres sont corrects - on envoie la page r�ponse
    request.setAttribute("nomCentre",nomCentre);
    request.setAttribute("idCentre",idCentre);
    request.setAttribute("nomPreleveur",nomPreleveur);
    request.setAttribute("datePrelev",datePrelev);
    request.setAttribute("numFinFiche",numFinFiche);
              request.setAttribute("lienRetourFormulaire", (String) params.get("lienRetourFormulaire"));
    getServletContext().getRequestDispatcher((String) params.get("urlReponse")).forward(request,
    response);
    return;
    //enregistre dans la base de donn�e les variables
    void doEnregistrementFormulaire(HttpServletRequest request, HttpServletResponse response) throws
    ServletException, IOException {
         String nomCentre = (String) request.getParameter("nomCentre");
    String idCentre = (String) request.getParameter("idCentre");
    String nomPreleveur = (String) request.getParameter("nomPreleveur");
    String datePrelev = (String) request.getParameter("datePrelev");
    String numFinFiche = (String) request.getParameter("numFinFiche");
         String nEtude = datePrelev + "." + idCentre + "." + numFinFiche;
    //      qu'on m�morise dans la session
    HttpSession session = request.getSession(true);
    session.setAttribute("nomCentre", nomCentre);
    session.setAttribute("idCentre", idCentre);
    session.setAttribute("nomPreleveur", nomPreleveur);
    session.setAttribute("datePrelev", datePrelev);
    session.setAttribute("numFinFiche", numFinFiche);
         Connexion com = new Connexion();
              try{     
                   //serveur,login,pwd,database
                   com.loadDriverAndConnect("127.0.0.1","3306","root","root","");
                   com.execute("USE BIOTECH");
                   com.execute("INSERT INTO RECAP (NEtude,NomCentre,idCentre,nomPreleveur,datePrelev) " +
                             "values ('"+nEtude+"','"+nomCentre+"','"+idCentre+"','"+nomPreleveur+"','"+ datePrelev + "')") ;
                   com.close();                              
              catch(Exception ex) {
                   System.err.println("\n*** SQLException caught in main()");     
              request.setAttribute("urlAction", (String) params.get("urlControleur"));
              getServletContext().getRequestDispatcher((String) params.get("urlReponse")).forward(request,
    response);
              return;      
    // affichage formulaire pr�-rempli
    void doRetourFormulaire(HttpServletRequest request, HttpServletResponse response) throws
    ServletException, IOException {
    // on r�cup�re la session de l'utilisateur
    HttpSession session = request.getSession(true);
    // on pr�pare le mod�le du formulaire
    // nom pr�sent dans la session ?
    String nomCentre = (String) session.getAttribute("nomCentre");
    if (nomCentre == null) {
    session.setAttribute("nomCentre", "");
    String idCentre = (String) session.getAttribute("idCentre");
    if (idCentre == null) {
    session.setAttribute("idCentre", "");
    String nomPreleveur = (String) session.getAttribute("nomPreleveur");
    if (nomPreleveur == null) {
    session.setAttribute("nomPreleveur", "");
    String datePrelev = (String) session.getAttribute("datePrelev");
    if (datePrelev == null) {
    session.setAttribute("datePrelev", "");
    String numFinFiche = (String) session.getAttribute("numFinFiche");
    if (numFinFiche == null) {
    session.setAttribute("numFinFiche", "");
    // urlAction
    request.setAttribute("urlAction", (String) params.get("urlControleur"));
    // on affiche le formulaire
    getServletContext().getRequestDispatcher((String) params.get("urlFormulaire")).forward(
    request, response);
    return;
    // post
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException {
    // on passe la main au GET
    doGet(request, response);
    my initial form:%
    // on r�cup�re les param�tres dans la session
         String nomCentre=(String)session.getAttribute("nomCentre");
         String idCentre= (String)session.getAttribute("idCentre");                    
         String nomPreleveur = (String)session.getAttribute("nomPreleveur");     
         String datePrelev=(String)session.getAttribute("datePrelev");          
         String numFinFiche=(String)session.getAttribute("numFinFiche");          
         String urlAction=(String)request.getAttribute("urlAction");
    %>
    <html>
    <head>
    <title>Fiche r&eacute;pitulative - formulaire</title>
    </head>
    <body>
    <center>
         <img src="logoBiotech.jpg" align="left" alt="logo Biotech-Germande" width="5%"></img>
    <h2>Fiche r&eacute;pitulative - formulaire</h2>
         <br>
    <hr>
    <form action="<%= urlAction %>" method="post">
    [... page setting: made by html language ...]
    <td><input type="submit" name="action" value="validationFormulaire"></td>
    <td><input type="reset" value="R&eacute;tablir"></td>
    </tr>
    </table>
    </form>
    </center>
    </body>
    </html>
    my response page:<%
    // on r�cup�re les donn�es
         String nomCentre=(String)session.getAttribute("nomCentre");
         String idCentre= (String)session.getAttribute("idCentre");                    
         String nomPreleveur = (String)session.getAttribute("nomPreleveur");     
         String datePrelev=(String)session.getAttribute("datePrelev");          
         String numFinFiche=(String)session.getAttribute("numFinFiche");     
         String urlAction=(String)request.getAttribute("urlAction");
    %>
    <html>
    <head>
    <title>Fiche r&eacute;pitulative - formulaire</title>
    </head>
    <body>
    <form action="<%= urlAction %>" method="post">
    [... page setting: made by html language ...]
    <br><br>
                   <td><input type="submit" name="action" value="enregistrementFormulaire"></td>
                   <td><input type="submit" name="action" value="retourFormulaire"></td>
    </body>
    </html>
    my web.xml:<!-- Servlets -->
    <!--Servlet Fiche Recapitulative-->
    <servlet>
    <servlet-name>FicheRecap</servlet-name>
    <servlet-class>germande.ServletRecap</servlet-class>
    <init-param>
    <param-name>urlReponse</param-name>
    <param-value>/WEB-INF/JSP/Recap/reponseRecap.biotech.jsp</param-value>
    </init-param>
    <init-param>
    <param-name>urlErreurs</param-name>
    <param-value>/erreursRecap.biotech.jsp</param-value>
    </init-param>
    <init-param>
    <param-name>urlFormulaire</param-name>
    <param-value>/WEB-INF/JSP/Recap/formulaireRecap.biotech.jsp</param-value>
    </init-param>
    <init-param>
    <param-name>urlControleur</param-name>
    <param-value>ServletRecap</param-value>
    </init-param>
    <init-param>
    <param-name>lienRetourFormulaire</param-name>
    <param-value>Retour au formulaire</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>FicheRecap</servlet-name>
    <url-pattern>/ServletRecap</url-pattern>
    </servlet-mapping>
    </web-apps>
    Thanks in advance for your idea.
    I resume : how can I call a method in my servlet into my response page (in jsp).
    the servlet generate this response page and i just want to update the choice of my user.
    Thanks !!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I resume : how can I call a method in my servlet into my response page (in jsp).Don't do that. Put the message into a plain old Java class which can be called from both the servlet and the JSP.

Maybe you are looking for

  • Profit center line item report

    Hello All, A sales order is created with reference to a service order, now when I see Profit center line items, the function area available in Service order is differ from the function area displaying with sales document number in profit center line

  • ASC 2.0 Preview 2 Bug - Conditional Compilation around a constructor fails

    Is this the right place to be reporting bugs? Source class: public class Something CONFIG::debug public function Something(id:uint) CONFIG::release public function Something() In another class: CONFIG::debug var q:Something = new Something(10); Compi

  • Java RunTime

    I am trying to use the following command to launch a particular file from a user interface with java. Runtime.getRuntime().exec("...Command...") This works fine as long as I have a string literal inside the brackets. eg. exec("C:\Program Files\Intern

  • Connecting to a different database

    Hi,       I need to retrieve the data from non-sap databse.Its an another ORACLE System. In our SAP also the back end is Oracle only. Now i need to retrieve all the data from a table  which was in another DB.How to connect that. Can anyone help me in

  • Usage of Activity types under Cost Centre.

    Hi I would like to know the usage of activity types under cost centre. How to do direct and indirect activity type allocation.  Please explain indetail from scratch to finish with necessary t.codes at the earliest. Appreciate your cooperation at the