How to run a java program in the JVM of an already running program?

As far as I know about JVM, each time we run a program a separate instance of JVM is created where the program runs. Correct me if I am wrong.
Is there any way for another program to execute itself in the same JVM?
Currently I am working on JFCUnit which is a tool used to automate swing applications. I am trying to automate JConsole.
If I open "JConsole.exe" through a program and then try to get the handles using JFCUnit, things are not working.
If I use JConsole.jar in JDK/lib and create a new instance of JConsole and then try to get the handles using JFCUnit, I am able to proceed with automation.
But here comes the problem :-
The application which needs to be automated through JConsole requires it to be started with few arguments, which is as follows:
%JDK_HOME%\bin\jconsole -J-Djava.class.path=%CLASSPATH% -J-Dcom.sun.management.jmxremote.ssl=false -J-Dcom.sun.management.jmxremote.authenticate=true -J-Djmx.remote.protocol.provider.pkgs=oracle.oc4j.admin.jmx.remote "service:jmx:rmi://localhost:23791"So this problem can be solved in two ways,
Either
1. JFCunit could be made to recognize the JConsole.exe which would be running is a different JVM.
OR
2. JConsole.jar to be used in a way so that it takes the required arguments, hereby an instance of JConsole would be created that too in the same JVM as that of the program.
I am more interested in the first solution as it would definitely be helpful in other projects as well.
Please let me know if any other solution is possible.
Any kinda solution is appreciated :)
Thanks in advance.

Give a look at Terracota.
http://www.terracottatech.com/

Similar Messages

  • How can i reload font information while the jvm is running.

    l.s.
    how can i reload font information while the jvm is running.
    I'm having the following problem...
    A program is running.
    A user installs a new font on the system (Xwindows in this case)
    Java doesn't display the font when i ask :
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();Thus i think that java buffers its font information somewhere. Anyone knows how to refresh te buffer?
    many thanks

    ungalcrys, welcome to the forum. Please don't post in threads that are long dead and don't hijack another poster's thread. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.
    db

  • Please help: Running a java script form the windows command line.

    Hello forum,
    I'm trying to run a java script from the command line on
    windows but I always get the "Failed to open document" alert.
    I typed the following in the run command line:
    "flash.exe" C:\Documents and Settings\Hasan.Atieh\My
    Documents\science\java scripts\testing jsfl\get_files_mx2004.jsfl
    now I copied and pasted the path of my java script file from
    the windows explorer address bar so I'm sure that the java script
    file exists in the specified path.
    Any thoughts why am I getting the message!!

    :oops: never mind... issue resolved. I didn't quote the java
    script file path but thats because the help documents on flash
    didn't say that.
    this is what flash help say:
    To run a script from the command line on Windows:
    Use the following syntax (add path information as required):
    "flash.exe" myTestFile.jsfl

  • When I open Firefox I get the message "Firefox is already running but not responding . . .

    I am using Firefox 3.6.9 with Windows XP SP3. Almost every time I try to open Firefox I get the message:
    "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."
    I then must open Task Manager and find Firefox and stop the process.
    I run Firefox on 4 Windows machines and this is the only machine that I have this problem on.
    I have looked at the Mozilla Firefox KB and have tried to check on the items that could be causing the problem. I have update my Java in Firefox. I have un-installed Firefox leaving the Bookmark preferences, etc. on my machine, ran CCleaner to clean the Registry of remaining Firefox items and then re-installed Firefox - I still have the problem.
    I have installed Google Chrome to fix this problem but now I find that several of the websites and companies I do business with are not compatible with Chrome.
    How can I fix this problem? Why am I only having this issue on 1 of my 4 Windows machines?
    Thanks!
    Bill Artman

    For possible causes see [[Firefox is already running but is not responding]].

  • How can I write new objects to the existing file with already written objec

    Hi,
    I've got a problem in my app.
    Namely, my app stores data as objects written to the files. Everything is OK, when I write some data (objects of a class defined by me) to the file (by using writeObject method from ObjectOutputStream) and then I'm reading it sequencially by the corresponding readObject method (from ObjectInputStream).
    Problems start when I add new objects to the already existing file (to the end of this file). Then, when I'm trying to read newly written data, I get an exception:
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    Is there any method to avoid corrupting the stream? Maybe it is a silly problem, but I really can't cope with it! How can I write new objects to the existing file with already written objects?
    If anyone of you know something about this issue, please help!
    Jai

    Here is a piece of sample codes. You can save the bytes read from the object by invoking save(byte[] b), and load the last inserted object by invoking load.
    * Created on 2004-12-23
    package com.cpic.msgbus.monitor.util.cachequeue;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    * @author elgs This is a very high performance implemention of Cache.
    public class StackCache implements Cache
        protected long             seed    = 0;
        protected RandomAccessFile raf;
        protected int              count;
        protected String           cacheDeviceName;
        protected Adapter          adapter;
        protected long             pointer = 0;
        protected File             f;
        public StackCache(String name) throws IOException
            cacheDeviceName = name;
            f = new File(Const.cacheHome + name);
            raf = new RandomAccessFile(f, "rw");
            if (raf.length() == 0)
                raf.writeLong(0L);
         * Whne the cache file is getting large in size and may there be fragments,
         * we should do a shrink.
        public synchronized void shrink() throws IOException
            int BUF = 8192;
            long pointer = getPointer();
            long size = pointer + 4;
            File temp = new File(Const.cacheHome + getCacheDeviceName() + ".shrink");
            FileInputStream in = new FileInputStream(f);
            FileOutputStream out = new FileOutputStream(temp);
            byte[] buf = new byte[BUF];
            long runs = size / BUF;
            int mode = (int) size % BUF;
            for (long l = 0; l < runs; ++l)
                in.read(buf);
                out.write(buf);
            in.read(buf, 0, mode);
            out.write(buf, 0, mode);
            out.flush();
            out.close();
            in.close();
            raf.close();
            f.delete();
            temp.renameTo(f);
            raf = new RandomAccessFile(f, "rw");
        private synchronized long getPointer() throws IOException
            long l = raf.getFilePointer();
            raf.seek(0);
            long pointer = raf.readLong();
            raf.seek(l);
            return pointer < 8 ? 4 : pointer;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#load()
        public synchronized byte[] load() throws IOException
            pointer = getPointer();
            if (pointer < 8)
                return null;
            raf.seek(pointer);
            int length = raf.readInt();
            pointer = pointer - length - 4;
            raf.seek(0);
            raf.writeLong(pointer);
            byte[] b = new byte[length];
            raf.seek(pointer + 4);
            raf.read(b);
            --count;
            return b;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#save(byte[])
        public synchronized void save(byte[] b) throws IOException
            pointer = getPointer();
            int length = b.length;
            pointer += 4;
            raf.seek(pointer);
            raf.write(b);
            raf.writeInt(length);
            pointer = raf.getFilePointer() - 4;
            raf.seek(0);
            raf.writeLong(pointer);
            ++count;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#getCachedObjectsCount()
        public synchronized int getCachedObjectsCount()
            return count;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#getCacheDeviceName()
        public String getCacheDeviceName()
            return cacheDeviceName;
    }

  • I get the message "Firefox is already running but not responding" and I have tried all of your solutions and nothing has worked so what do I need to do?

    My daughter downloaded Babylon (incredibar) malware and we tried to reset Firefox. It got hung up and I closed the window. When I tried to restart Firefox, I got the messsage "Firefox is already running...". I uninstalled and reinstalled Firefox as well as restarting the computer a number of times. I followed the Mozilla help info and deleted the profile locked. parent(?). I use Windows 7 Ultimate.

    hello sdandccids, unfortunately this babylon software is hooking-in deeply into the system. especially the component browsemngr.exe (+dll) is known to crash firefox and possibly might also cause the issue you're experiencing.
    please go into the windows control panel > programs section and sort the software according to installation date & then remove all entries that got installed at the same date as the babylon toolbar and you're not familiar with ([https://support.mozilla.org/questions/935739#answer-367152 according to babylon] this might be "Browser Manager" + "Bprotector" + "Object Installer" + "Babylon Toolbar on IE").
    in case this doesn't work or there are no such entries showing up, please hit ctrl+shift+esc and search if there is a file named browsemngr.exe showing up as running in the list of processes - if so here are instructions for a manual removal (unfortunately quite technical): www.explosiveknowledge.net/main/2012/08/19/browsemngr/
    otherwise you can also try a "clean uninstall". uninstall firefox from the windows control panel & chose to remove all personal data. afterwards manually check if the firefox program folder got deleted (it's usually in ''C:\Program Files\Mozilla Firefox'') and else remove it manually. then download & install a fresh copy at getfirefox.com
    i'd furthermore recommend doing a full scan of your system with the security software already in place and/or a different tool like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] since this firefox start-error can also be a sign of other [[Troubleshoot Firefox issues caused by malware|malware]] active on the pc.

  • I always get the message "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." on terying to run firefox

    When I try to run Firefox I get the message "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."
    No copy of firefox is running as far as I can tell. Restart and restoring system to 10 days ago did not help.
    Uninstalling and downloading a new copy - but to not avail.

    See:
    * http://kb.mozillazine.org/Recovering_a_missing_profile
    * http://kb.mozillazine.org/Profile_in_use
    Do you still have a default profile?<br />
    If not then delete the file [http://kb.mozillazine.org/profiles.ini_file profiles.ini] to make Firefox create a new default profile.
    * C:\Documents and Settings\&lt;user&gt;\Application Data\Mozilla\Firefox\Profiles\&lt;profile&gt;\

  • Prohibiting running a new package while the previous one is still running

    Hi Colleagues,
    I'm looking for a way to prohibit a new package running while the previous one is still working. Is it possible to make a sequence of "to be run" packages, when the next one starts right when the previous one finishes?
    Or maybe just prohibit starting a new package while the some package is already running.
    Thank you.
    Best regards,
    Sergey

    Hi Sergey
    If you want to restrict the concurrent execution of data manager packages, you will have to edit your data manager package and add custom code.
    For example:
    You could put in queue based logic, when the package is first run, it inserts a record into a 'Queue' table, then once it completes the execution of its tasks, it deletes the record from the queue table.
    So, if anybody runs the same data manager package, it checks to see if the record exists in the queue table, if it does, it ends the execution of the package.
    I hope this helps
    Kind Regards
    Daniel

  • How to compile and run a Java servlet using the BEA weblogic server

              Hi,
              Could you help me out as to how to compile a servlet using Web Logic server.I have written a Servlet program and have also set up the environment in the "c:\bea\wlserver6.0\config\examples" folder by giving the command setExamplesEnv.cmd.
              I have stored my GreetingServlet.java file in "c:\bea\wlserver6.0\samples\examples\servlets" folder.
              How do I compile my servlet now?
              Vid
              

    Hello,
    1. The .form file was used by Netbean's GUI builder to create the .java and is not needed for compilation.
    2..../src # javac -classpath "..." mytool/*.java
    I guess the package mytool was not coped with.
    Alternatively it is worth to use the ant build tool also used by Netbeans.
    Then you can make a jar from the class files, indicate in the manifest.mf file:
    1. the main class
    2. the library jars

  • How do I run multiple java apps in one JVM to reduce memory use?

    Hi all,
    I saw an article either on the web or in a magazine not too long ago about how to "detect" if the app is already running, and if so, it hands off the new instance to the already running JVM, which then creates a thread to run the Java app in. As it turns out, my app will be used in an ASP environment, through Citrix. We may have as many as 50 to 100 users running the same app, each with their own unique user ID, but all using the same one server to run it on. Each instance eats up 25MB of memory right now. So the question is if anybody knows of a URL or an app like this that can handle the process of running the same (or even different Java) apps in one JVM as separate threads, instead of requring several instances of the JVM to run? I know this article presented a fully working example, and I believe I know enough to do it but I wanted ot use the article as a reference to make sure it is done right. I know that each app basically would use the same one "launcher" program that would on first launch "listen" to a port, as well as send a message through the port to see if an existing launcher was running. If it does, it hands off the Java app to be run to the existing luancher application and shuts down the 2nd launching app. By using this method, the JVM eats up its normal memory, but each Java app only consumes its necessary memory as well and doesn't use up more JVM instance memory.
    Thanks.

    <pre>
    import java.util.Properties;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.lang.reflect.Method;
    import java.lang.reflect.InvocationTargetException;
    import java.util.Enumeration;
    import java.util.NoSuchElementException;
    public class RunProg implements Runnable, Cloneable
    private String iProg;
    private String iArgs[];
    public static void main(String args[])
    new RunProg().main();
    // first step is to start main program itself
    private void main()
    Properties properties = System.getProperties();
    try
    properties.load(new FileInputStream("RunProg.properties"));
    catch(IOException e)
    System.setProperties(properties);
    int i = 0;
    System.out.println("enter main, activeCount=" + Thread.activeCount());
    while(true)
    String program = properties.getProperty("Prog" + i);
    if(program == null)
    break;
    StringTokenizer st = new StringTokenizer(program);
    String[] args = new String[st.countTokens() - 1];
    try
    RunProg rp = (RunProg)this.clone();
    rp.iProg = st.nextToken();
    for(int j = 0; st.hasMoreTokens(); j++)
         args[j] = st.nextToken();
    rp.iArgs = args;
    Thread th = new Thread(rp);
    th.setName("prog" + i + "=" + program);
    th.start();
    System.out.println("prog" + i + "=" + program + ", started");
    catch(CloneNotSupportedException e)
    System.out.println("prog" + i + "=" + program + ", can't start");
    i++;
         System.out.println("end of main, activeCount=" + Thread.activeCount());
    // next step is to start all others one by one
    public void run()
    try
    Class c = Class.forName(iProg);
    Class p[] = new Class[1];
    p[0] = String[].class;
    Method m = c.getMethod("main", p);
    Object o[] = new Object[1];
    o[0] = iArgs;
    m.invoke(null, o);
    catch(ClassNotFoundException e)
    System.out.println(iProg + "ClassNotFoundException");
    catch(NoSuchMethodException e)
    System.out.println(iProg + "NoSuchMethodException");
    catch(InvocationTargetException e)
    System.out.println(iProg + "NoSuchMethodException");
    catch(IllegalAccessException e)
    System.out.println(iProg + "NoSuchMethodException");
    System.out.println(Thread.currentThread().getName() + ", ended");
    System.out.println("exit run, activeCount=" + Thread.activeCount());
    // setup SecurityManager to disable method System.exit()
    public RunProg()
         SecurityManager sm = new mySecurityManager();
         System.setSecurityManager(sm);
    // inner-class to disable method System.exit()
    protected class mySecurityManager extends SecurityManager
         public void checkExit(int status)
              super.checkExit(status);
              Thread.currentThread().stop();
              throw new SecurityException();
    * inner-class to analyze StringTokenizer. This class is enhanced to check double Quotation marks
    protected class StringTokenizer implements Enumeration
    private int currentPosition;
    private int maxPosition;
    private String str;
    private String delimiters;
    private boolean retTokens;
    * Constructs a string tokenizer for the specified string. All
    * characters in the <code>delim</code> argument are the delimiters
    * for separating tokens.
    * <p>
    * If the <code>returnTokens</code> flag is <code>true</code>, then
    * the delimiter characters are also returned as tokens. Each
    * delimiter is returned as a string of length one. If the flag is
    * <code>false</code>, the delimiter characters are skipped and only
    * serve as separators between tokens.
    * @param str a string to be parsed.
    * @param delim the delimiters.
    * @param returnTokens flag indicating whether to return the delimiters
    * as tokens.
    public StringTokenizer(String str, String delim, boolean returnTokens)
    currentPosition = 0;
    this.str = str;
    maxPosition = str.length();
    delimiters = delim;
    retTokens = returnTokens;
    * Constructs a string tokenizer for the specified string. The
    * characters in the <code>delim</code> argument are the delimiters
    * for separating tokens. Delimiter characters themselves will not
    * be treated as tokens.
    * @param str a string to be parsed.
    * @param delim the delimiters.
    public StringTokenizer(String str, String delim)
    this(str, delim, false);
    * Constructs a string tokenizer for the specified string. The
    * tokenizer uses the default delimiter set, which is
    * <code>"&#92;t&#92;n&#92;r&#92;f"</code>: the space character, the tab
    * character, the newline character, the carriage-return character,
    * and the form-feed character. Delimiter characters themselves will
    * not be treated as tokens.
    * @param str a string to be parsed.
    public StringTokenizer(String str)
    this(str, " \t\n\r\f", false);
    * Skips delimiters.
    protected void skipDelimiters()
    while(!retTokens &&
    (currentPosition < maxPosition) &&
    (delimiters.indexOf(str.charAt(currentPosition)) >= 0))
    currentPosition++;
    * Tests if there are more tokens available from this tokenizer's string.
    * If this method returns <tt>true</tt>, then a subsequent call to
    * <tt>nextToken</tt> with no argument will successfully return a token.
    * @return <code>true</code> if and only if there is at least one token
    * in the string after the current position; <code>false</code>
    * otherwise.
    public boolean hasMoreTokens()
    skipDelimiters();
    return(currentPosition < maxPosition);
    * Returns the next token from this string tokenizer.
    * @return the next token from this string tokenizer.
    * @exception NoSuchElementException if there are no more tokens in this
    * tokenizer's string.
    public String nextToken()
    skipDelimiters();
    if(currentPosition >= maxPosition)
    throw new NoSuchElementException();
    int start = currentPosition;
    boolean inQuotation = false;
    while((currentPosition < maxPosition) &&
    (delimiters.indexOf(str.charAt(currentPosition)) < 0 || inQuotation))
    if(str.charAt(currentPosition) == '"')
    inQuotation = !inQuotation;
    currentPosition++;
    if(retTokens && (start == currentPosition) &&
    (delimiters.indexOf(str.charAt(currentPosition)) >= 0))
    currentPosition++;
    String s = str.substring(start, currentPosition);
    if(s.charAt(0) == '"')
    s = s.substring(1);
    if(s.charAt(s.length() - 1) == '"')
    s = s.substring(0, s.length() - 1);
    return s;
    * Returns the next token in this string tokenizer's string. First,
    * the set of characters considered to be delimiters by this
    * <tt>StringTokenizer</tt> object is changed to be the characters in
    * the string <tt>delim</tt>. Then the next token in the string
    * after the current position is returned. The current position is
    * advanced beyond the recognized token. The new delimiter set
    * remains the default after this call.
    * @param delim the new delimiters.
    * @return the next token, after switching to the new delimiter set.
    * @exception NoSuchElementException if there are no more tokens in this
    * tokenizer's string.
    public String nextToken(String delim)
    delimiters = delim;
    return nextToken();
    * Returns the same value as the <code>hasMoreTokens</code>
    * method. It exists so that this class can implement the
    * <code>Enumeration</code> interface.
    * @return <code>true</code> if there are more tokens;
    * <code>false</code> otherwise.
    * @see java.util.Enumeration
    * @see java.util.StringTokenizer#hasMoreTokens()
    public boolean hasMoreElements()
    return hasMoreTokens();
    * Returns the same value as the <code>nextToken</code> method,
    * except that its declared return value is <code>Object</code> rather than
    * <code>String</code>. It exists so that this class can implement the
    * <code>Enumeration</code> interface.
    * @return the next token in the string.
    * @exception NoSuchElementException if there are no more tokens in this
    * tokenizer's string.
    * @see java.util.Enumeration
    * @see java.util.StringTokenizer#nextToken()
    public Object nextElement()
    return nextToken();
    * Calculates the number of times that this tokenizer's
    * <code>nextToken</code> method can be called before it generates an
    * exception. The current position is not advanced.
    * @return the number of tokens remaining in the string using the current
    * delimiter set.
    * @see java.util.StringTokenizer#nextToken()
    public int countTokens()
    int count = 0;
    int currpos = currentPosition;
    while(currpos < maxPosition)
    * This is just skipDelimiters(); but it does not affect
    * currentPosition.
    while(!retTokens &&
    (currpos < maxPosition) &&
    (delimiters.indexOf(str.charAt(currpos)) >= 0))
    currpos++;
    if(currpos >= maxPosition)
    break;
    int start = currpos;
    boolean inQuotation = false;
    while((currpos < maxPosition) &&
    (delimiters.indexOf(str.charAt(currpos)) < 0 || inQuotation))
    if(str.charAt(currpos) == '"')
    inQuotation = !inQuotation;
    currpos++;
    if(retTokens && (start == currpos) &&
    (delimiters.indexOf(str.charAt(currpos)) >= 0))
    currpos++;
    count++;
    return count;
    </pre>
    RunProg.properties like this:
    Prog1=GetEnv 47838 837489 892374 839274
    Prog0=GetEnv "djkfds dfkljsd" dsklfj

  • Run two java apps in separate jvm's on the same machine?

    At the command line, when you type:
    java MyClass
    and then type:
    java MyClass
    are the two programs (assuming neither terminated prior to the other's execution) is it running in a separate Java Virtual Machine or the same one?
    And if they're running in the same JVM, is there a way to run the second program in a separate JVM for testing purposes even though they're on the same computer? (btw I'm running windows XP).

    thanks all...just a quick follow up question. Are two
    separate jvm's on the same computer a good
    representation of two jvms running on separate
    computers?Don't know what you mean by "a good representation."
    They're two separate processes. For basic testing, not worrying about performance, etc., and if your code doesn't do anything special to treat two VMs on the same box differently than two VMs on separate boxes, it's probably a reasonable approximation.

  • XSLT - How to pass a Java object to the xslt file ?

    Hi ,
    I need help in , How to pass a java object to xslt file.
    I am using javax.xml.transform.Tranformer class to for the xsl tranformation. I need to pass a java object eg
    Class Employee {
    private String name;
    private int empId;
    public String getName() {
    return this.name;
    public String getEmpId() {
    return this.empId;
    public String setName(String name) {
    this.name = name;
    public String setEmpId(int empId){
    this.empId = empId;
    How can i access this complete object in the xsl file ? is there any way i can pass custom objects to xsl using Transformer class ?

    This is elementary. Did you ask google ? http://www.google.com/search?q=calling+java+from+xsl
    ram.

  • Starting a program from the shell into a vncserver running on 5901

    I started a vncserver via `vncserver -geometry 1792x1008 -alwaysshared :1` and within it, I am running xfce4 just fine.  I would like to start a program from a shell outside of the vncserver.  I tried the following but got errors.  What am I missing?
    % DISPLAY=1.0 lxterminal
    (lxterminal:17489): Gtk-WARNING **: cannot open display: 1.0

    Try
    $ export DISPLAY=:1
    $ lxterminal
    That works over here.
    Last edited by mwillems (2015-04-21 00:03:43)

  • How to integrate a Java Application in the portal

    Hi:
    I have developed a pure and simple Java Application just like a test, only Java, no EJB, no JSP. JUST PURE JAVA. I need to put this application in my Oracle9iAS Portal and i've found something about developing EAR and WAR. But i can't find the way to put my app in the portal.
    Does anybody know how can i put my app in the portal? or what should i do?
    Thank you.

    Hi:
    I have developed a pure and simple Java Application just like a test, only Java, no EJB, no JSP. JUST PURE JAVA. I need to put this application in my Oracle9iAS Portal and i've found something about developing EAR and WAR. But i can't find the way to put my app in the portal.
    Does anybody know how can i put my app in the portal? or what should i do?
    Thank you.

  • How to redirect in java code not the jsp or any other

    hello
    can any one help me how to redirect in java pages the code must be in java function not in jsp or any thing else
    thanks in advance

    Function? Don't you rather mean method?
    Anyway, in JSF you can send a redirect using ExternalContext#redirect(). If your JSF environment is on top of JSP/Servlet, then under the hood it basically invokes HttpServletResponse#sendRedirect() and FacesContext#responseComplete().

Maybe you are looking for

  • Shocked by lack of interest in buying my Power PC or Mac Pro

    This isn't really meant to be a question, but rather a statement . . . of astonishment. I guess I'm like, waaaaaay out of touch, but has it reached the point where desktop computers are pretty much obsolete? I guess I'm not talking about iMacs so muc

  • Adobe form is not displayed via function module

    Hi to all, I have written a function module. Import parameter: ADOBEFORM_NAME type FPNAME. DATA: fm_name           TYPE rs38l_fnam,            fp_docparams      TYPE sfpdocparams,          fp_outputparams   TYPE sfpoutputparams. CALL FUNCTION 'FP_JOB

  • Supervisor Desktop, Agents window is very jittery on certain queues

    We have Supervisor Desktop installed on Windows 7. On all of the Supervisors, the Agents window in the lower left hand is so jittery (very fast), you cannot make out who the agents are. We have two queues and it only happens when a particular queue i

  • How to place multiple images of hand paintings with drop shadow effects on room backgrounds?

    I want to place multiple images of hand paintings with drop shadow effects on room backgrounds to make them look as if the paintings are hanged on the room walls. I know how to do it one by one, but that takes time and I want to do it in batch at onc

  • Regarding directory structure

    hi every one, any one plz help me to let me know the reason why we need to create the directory strucutre like the doucument root under which the WEB-INF under which the classes and lib directories.I am a beginner in J2EE,so plz let me know why we ne