HttpServletRequest content returning to the browser

I�m implementing a test servlet, which receives a file upload POST...
I�m trying to get the string received by the HttpServletRequest and then return it as html to the browser.. I need it to watch the post structure my form is sending to the servlet.....
any tip?
I�m a novice in servlet technologies

I got it:
BufferedReader br = requisicao.getReader();
String j = br.readLine();
while(j != null)
     System.out.println(j);
     j = br.readLine();
br.close();

Similar Messages

  • Does the Flash Player (Win7 / IE 9+) cache content outside of the browser?

    I have encountered a technical issue using Flash (CC) content in Captivate 7.  I am distributing the content to a customer with approximately 1000 Windows PC's running IE 9 +.  Some of these computers have no issue but a small number experience a problem which prevents them from downloading content after an undetermined point.  There is no apparent pattern to identify either a fault in the content or a fault in the workstation build.
    The problem looks like this:
    The user is able to access the content - sometimes several courses, sometimes only one.
    At some point during a course -it will stop playing (failing to load the next page).
    The user can close the course and reload - but is always stops in the same place it originally failed.
    The user can load previously accessed courses and these work without issue.
    The user is unable to load any new courses (previously un-accessed) - resulting in a blank page.
    No application events are logged when this occurs so there is little to examine when it occurs.  We have anecdotal evidence that the issue can sometimes be resolved by clearing the browser cache - but not always.  Also - we have unconfirmed reports that the problem can "resolve itself" after several weeks.
    From my perspective it looks like one of the following scenarios is causing the problem:
    The Flash Player is caching content in a location other than the browser cache and reaches a limit.  The cache is not overwriting content so then fails to download any new content.
    The Flash Player experiences a problem which prevents it from downloading content (corrupt files, registry issue, or policy restriction).
    We have several other customers who access this content at different sites - and none have reported this specific issue, so we are confident that the delivery mechanism is sound.  The customers workstations are generally new machines with plenty of capacity, and they have a 200 Mb leased line connection to the Internet.  The customer has assured us they do not use a caching proxy server on site, nor any bandwidth optimisation tools so in theory, the client connection is direct to the Internet.  Additionally - the fact that this issue affects isolated workstations suggests the problem lies at the endpoint - not in the transmission path.
    Has anyone encountered this type of issue before - or does anyone have any knowledge of Flash Player caching operations?
    Regards

    IE will roll cache like any other browser. Keep as much as the user allows and start recycling when that gets filled. At no point will IE "fill up" on any single or multiple sites and be unable to download any more content. Downloading is all a browser does and Flash is not excluded from that unlimited party. However if you never remove content properly and continue to download endless content, you could encounter RAM issues. You don't have unlimited RAM so you may be hitting a wall. But as long as you're disposing any content you loaded that you no longer need, that isn't an issue.
    You're going to need to install some custom logging if you really want to debug a clients client. The most popular thing a Flash application will do is fail silently and lock up because you did not provide any failsafe measures for various common issues. From common crossdomain policy issues to flaky connections failing in the middle of a download, you need to handle all these situations and act appropriately. If any content is failing to load in Flash you can be sure if you try {} catch () {} you'll be given a top level chance to send out a log notice to yourself. That's of course assuming you have the standard IOErrorEvent, SecurityErrorEvent, etc already in place to also log.
    If you had access to the offending machines then opening the developer tools in IE and using the network manager would be the easiest way to see what's going on. If you click to load more content and see no network request, the requesting itself has an issue (could be a million reasons). If you see the request go out then you'll either see it fail in the middle or complete. If it fails you should have code to handle that. If it completes and the app still locks up, you probably have ABC that isn't playing nicely and should be "caught" and logged.
    There's just no one way to approach this. Only layers of error handling and logging are your best friends when it comes to debugging this kind of thing.
    Personally I've seen clients boast they have XMbit lines and their network is otherwise perfect, when it had old grade (100mbit) eth cables and the little things that schools and large companies tend to overlook in the long run. It's easy to replace a faulty switch or eth card but in-wall cable, not so often.

  • How can I remember the last place I browsed? When I return to the main page it would be great if a marking of some kind would show the last place I browsed.

    When I return to the main browsing page after checking a site it would be great if the last place I checked would highlight on the main browsing page or have an indicator of some sort to let me know.
    When returning to the Browsing page it is difficult to remember which link I clicked on and have to guess or start over again so can someone let me know how to do this if it can be done?
    Can't remember but I think that you can do this with Internet Explorer.
    Thank you.

    I am not sure exactly what you are trying to do but firefox calls favorites bookmarks, and has a variety of methods of making, sorting and displaying these, it also stores your 'history' and lets you see that or use it in the location bar search.
    Have a look at some of the following
    * [[Bookmarks]] <-- coloured text is a clickable link --
    * [[Location bar autocomplete]]
    *[[Browsing basics#w_retracing-your-steps]] <-- this is a long article it will scroll up and down once opened

  • Is there a way to autoscroll the current accordion content to top of browser window?

    So this is a topic I have seen brought up but never solved….
    I have an accordion on my site which displays content larger than the browser window, so when you scroll down to the bottom of the content box and get to the next accordion topic and click on it stays in the same place in the broswer window however since the prior accordion content closes it leaves you scrolled half way down on the current content.
    So is there a way to bind an action where it autoscrolls and brings the browser to the top of the clicked accordion content?
    here you see the window scrolled to the bottom of the first accordion content and the second showing its hover state…. when you click on the "So i made.." content it leaves you with this...
    the middle of the second accordion content, causing you to have to scroll up to the top of it to continue reading….
    I found this jquery scrpit which supposedly would do it.  However since Muse exports is scripts differently it doesnt apply.
    $('.ui-accordion').bind('accordionchange', function(event, ui) {
                ui.newHeader // jQuery object, activated header
                ui.oldHeader // jQuery object, previous header
                ui.newContent // jQuery object, activated content
                ui.oldContent // jQuery object, previous content
                $('html, body').animate({scrollTop: $(ui.newHeader).offset().top}, 1);
    So now I need some help...
    Thx
    -Eric

    Hello,
    You can achieve this using the Anchors feature of Muse. Please follow the steps below :
    - Click on Anchor option in the toolbar as shown in the image :
    - Now click on the location on the webpage which you want to be the top of the page when click on Accordian panel triggers.
    - It will place the Anchor on that location. Now it will ask you to rename the anchor. Please rename the anchor to something convenient.
    - Now click on the first Accordian trigger and in the "Hyperlink" option in  the toolbar at the top, from the dropdown select the Anchor which you have added.
    - Do same for all the Accordian triggers.
    Now preview in a browser to see the results. Whenever you click on the Accordian trigger it will move to the location on the page where you have placed the anchor.
    Note : There is a known issue with the Anchors feature not working with Safari 6 (The latest version of Safari). It is a known bug and is likely to get fixed in future versions. You can test it using other Browsers.
    Hope this helps.
    Regards,
    Sachin

  • How can the browser auto-refresh not be considered a bug?

    I have been browsing these forums and I have seen this issue over and over again being discussed and the answer is always "that's not a bug, that's how it works, you can't change or disable it."
    Here is the problem. In ios 7, when you are using Safari (or any other browser, I have found), if you exit the browser to do almost anything: your phone rings, you open the camera and take a picture - anything at all - when you return to the browser, the current page will almost always reload itself. Anything you have done on that page, any comment written, any checkboxes checked - everything - will be lost.
    This is an important issue for me, because I have written a web application that I use every single day for work. My web application is a 560k page of pure html/javascript (no third party or plugin content at all, I wrote it all by hand) with about another 80k worth of graphics (buttons). You load the page and javascript functions move you from div to div, with different sets of checkboxes in each div (there are some 87 such divs in the page). At the end of this process, you click a button to finish your checklist, which will save it to a database and you're done. Unfortunately, this process would never get to the end because of the page constantly refreshing.
    So I rewrote the page to save via ajax at each major section (there are 8 major sections). Dividing it up this way meant that all of your work is never lost and that you only have to go back and redo at most one section. When I rewrote it this way and I was still using ios 6, it was only a minor annoyance. I might have to redo a section once or twice a week because of a page refresh.  Ever since the upgrade to ios 7 however, it has become a pain again, because now the page refreshes almost every single time. The problem is that while doing this checklist, I have no choice but to go to the camera to take pictures documenting what I am checking boxes about. This switch to the camera and back again almost always forces a page refresh.
    It strains credibility to think that a 640k web page has to be cleared out every time you do anything. I have only this page open in the browser, nothing else going on, nothing else loaded, all apps closed - and still, the browser will be force refreshed every time I do anything. The iphone 4s has 512M of memory, so my page occupies 640k of 524288k, or .001% of the available memory. Do you really have to refresh this thing every single time I sneeze?
    How can this not be considered a bug, clearing out everything that can be cleared out regardless of what impact it might have on the user experience?
    And finally, can anyone at all suggest any kind of a workaround? People have been complaining about this since at least 2008. I'm at my wits end, its making my web app nearly unusable.

    OK...after better keyword choices I did find that the 'change location' solution does work, but only if the calendar is first shared with the world, and then has its location changed:
      http://www.radbrooksolutions.co.uk/rs/Blog/Entries/2011/5/3_MobileMe_Calendar_Up date_and_PHP_iCalendar.html
    Does anyone know if information in public calendars can be found in nefarious ways (like by Google)?
    FWIW, I did try sharing privately to just myself, so that I could then subscribe to the calendar on the serving machine and push it out as a .ics file...but I cannot share a calendar with myself. Boooo.

  • ISE Guest Service fail depending on the browser

    One of my customers is complaining about having problems to access the guest services depending on the browser used:
    When the visitor has Intenet Explorer 10 or 11, he said the content is blocked and even the guest portal is not displayed. When the visitor has Google Chrome (no specific version indicated), he said the portal is displayed but the content is blocked after ingress user and password. Whit Firefox a certificate exception was added in advanced options.
    I think the issue can be something related with certificates or even the  computer but I'm not sure how can I identify the root cause.
    I wonder if something in the ISE is reported about the browser used to authenticate in the guest portal. I know the release notes indicate browser compatibilities, but in guest services I think shouldn't be restrictions, because you don't know what device, OS, or browser will be used by guests.
    The ISE is running 1.1.2.145, no patches yet.
    I will appreciate any tip you can provide me.
    Regards.

    Hi ,
    This below link gives the detailed versions of the supported operating systems and their supported browsers for Sponsor and Guests.
    http://www.cisco.com/en/US/docs/security/ise/1.1.1/compatibility/ise_sdt.html
    Google chrome , Mozilla and IE are supported, but there is some restriction in the browser versions.
    For IE make sure you have enabled ActiveX controls and check if the compatibilty mode is enabled.
    If customer is making use of supported browsers and still experiencing the issue then we need to check what options are enabled on browsers and what is blocking the content download in the browser.

  • Filtering content returned by Servlet?

    Hi, I've written a filter simply adds in an extra header before making the request to the final web server. This works fine. My question is, is it possible to modify the returned content before passing it back to the original client?
    I don't have control over the webserver, just the filter. I would like to convert certain characters in the content returned by the server. Not sure if this is possible. One thing I tried was to create a URL object in the filter and use the URL.getContent() method. The idea was that I could read the content, modify it, write it back the response object and then commit the response. Problem is, when I create the URL object and request the content, it goes through my own filter again and then we're into an infinte loop...
    Is there a way to specify to bypass my filter in the URL.connect() call? Can you think of any other way to program what I'm trying to do?
    Thanks in advance...
    Stuart.

    It's supposed to be an infinite loop, because filter works before the request is passed to the servlet, like this:
    http request -> filter -> servlet/JSP -> http response
    and your filter does the whole process above so this is a recursion, without and escape-condition.
    So if just want a filter's work, don't use the URL object, just work with the request object. Get the parameters in the request and process them, then put the result in a bean into the request object. Finally, the requested servlet gets the request object and proccess the bean the filter created and generate the response whatever you want it to be.
    Does this help?

  • How do I set iPlanet Web Server 4.1 HTTP Response Header to use expires so that the browser will cache content longer

    I want to add in all html files returned the "expires" value.
    Based in HTTP 1.1, I think it is possible by adding the META tag between the <HEAD> and </HEAD>:
    <META> HTTP_EQUIV:"expires" CONTENT="Sun, 21 Jun 2002 15:05:00 GMT" </META>
    I include this in my html file (but "expires" doesn�t work :(( ). Which options are necessary to modify in the WS?
    How does the internet options of the browser influence?
    PD:(This is a question posted last 5/28, but is has no response yet.)

    The above reply does not take into account that I am trying to use GROUP POLICY EDITOR to make it the default browser.

  • Displaying xml content in the browser

    Hi,
    In my application i am generating an XML content which i was storing into a file. Now as per the new requirement, this xml content needs to be displayed in the browser. (The way it gets displayed when we double click on an xml file).
    Can some one plz tel me how to do this? I am using the jsp/servlet architechture..? plz help
    Thanx

    Program 1
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class SendXml extends HttpServlet {
      public void doGet(HttpServletRequest request, HttpServletResponse response)
          throws ServletException, IOException {
        //get the 'file' parameter
        String fileName = (String) request.getParameter("file");
        if (fileName == null || fileName.equals(""))
          throw new ServletException(
              "Invalid or non-existent file parameter in SendXml servlet.");
        // add the .doc suffix if it doesn't already exist
        if (fileName.indexOf(".xml") == -1)
          fileName = fileName + ".xml";
        String xmlDir = getServletContext().getInitParameter("xml-dir");
        if (xmlDir == null || xmlDir.equals(""))
          throw new ServletException(
              "Invalid or non-existent xmlDir context-param.");
        ServletOutputStream stream = null;
        BufferedInputStream buf = null;
        try {
          stream = response.getOutputStream();
          File xml = new File(xmlDir + "/" + fileName);
          response.setContentType("text/xml");
          response.addHeader("Content-Disposition", "attachment; filename="
              + fileName);
          response.setContentLength((int) xml.length());
          FileInputStream input = new FileInputStream(xml);
          buf = new BufferedInputStream(input);
          int readBytes = 0;
          while ((readBytes = buf.read()) != -1)
            stream.write(readBytes);
        } catch (IOException ioe) {
          throw new ServletException(ioe.getMessage());
        } finally {
          if (stream != null)
            stream.close();
          if (buf != null)
            buf.close();
      public void doPost(HttpServletRequest request, HttpServletResponse response)
          throws ServletException, IOException {
        doGet(request, response);
    Program 2
    import java.io.BufferedInputStream;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLConnection;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class ResourceServlet extends HttpServlet {
      public void doGet(HttpServletRequest request, HttpServletResponse response)
          throws ServletException, IOException {
        //get web.xml for display by a servlet
        String file = "/WEB-INF/web.xml";
        URL url = null;
        URLConnection urlConn = null;
        PrintWriter out = null;
        BufferedInputStream buf = null;
        try {
          out = response.getWriter();
          url = getServletContext().getResource(file);
          //set response header
          response.setContentType("text/xml");
          urlConn = url.openConnection();
          //establish connection with URL presenting web.xml
          urlConn.connect();
          buf = new BufferedInputStream(urlConn.getInputStream());
          int readBytes = 0;
          while ((readBytes = buf.read()) != -1)
            out.write(readBytes);
        } catch (MalformedURLException mue) {
          throw new ServletException(mue.getMessage());
        } catch (IOException ioe) {
          throw new ServletException(ioe.getMessage());
        } finally {
          if (out != null)
            out.close();
          if (buf != null)
            buf.close();
      public void doPost(HttpServletRequest request, HttpServletResponse response)
          throws ServletException, IOException {
        doGet(request, response);
    }Have fun

  • If I am browsing on site such as Ebay or any shopping site, and click on an item, when I return to the search page I am once again at the top of the page and have to search down for where I was in the list of items.

    If I am browsing on site such as Ebay or any shopping site and click on an item, when I return to the search page I am once again at the top of the page and have to search down for where I was in the list of items. This is not only on Ebay it is everywhere I search. Firefox goes back to the top of the page . It is annoying to have to figure out exactly where I was if I left the page and then returned. This is a hinderance when using Firefox. I have considered uninstalling it because of the inconvenience of 're-searching' after already doing a search. Firefox used to take me right back to where I was if I left a page, but that feature is not working now. I am not sure how to change this in the settings.

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • If I click on a google search link and return with the back arrow on the browser it takes me to the top of the page and not the link I just opened unlike Internet explorer

    I run a search on google.com and click on a link that comes up near the bottom of the page, After I read it and then use the back arrow (pointing left) to return to the searches it takes me to the top of the page to the first link google found rather than the link I just looked at. This does not happen with other web pages using firefox or Internet Explorer's Browser (using google).

    Type '''about:config''' in the Location (address) bar and press the "Enter" key. When you see a warning, click '''I'll be careful, I promise!''' button.
    * Preferences that have been modified are shown as '''bold (user set)'''.
    * Preferences can be '''Reset to the default''' or changed via the right-click context menu.
    -> In the '''Filter bar''', type '''browser.sessionhistory.max_entries'''
    * Right click the preference '''browser.sessionhistory.max_entries''' and click '''Modify'''
    * Change value from 0 to whatever you want over 0 (Default value is 50)
    * click OK
    -> Close the '''about:config''' tab and then Restart Firefox.
    See this post:
    * https://support.mozilla.com/en-US/questions/860894#answer-229574
    Check and tell if its working.

  • Some Java applets do not work after silent installation, solved by toggling "Enable Java content in the browser" - Why?

    We have about 1,800 workstations running Windows 7 (both 32-bit and 64-bit) running various versions of the Java JRE from 6 update 32 through 7 update 51.  Most are on 6 update 45.  We would like to standardize on Java 7 update 51 (32-bit) and get everyone updated to that version for security reasons.
    For the past two weeks, we have been having trouble with our installation pre-pilot.  What we are seeing is that our procedure successfully closes any open Internet Explorer windows and Java-related processes, uninstalls all old versions of the Java JRE, and then claims to have successfully installed Java 7 update 51.  The Java Control panel works.  We can even take Internet Explorer to Verify Java Version or Java Tester - What Version of Java Are You Running? and confirm that the Java applets on those sites are loading (though the latter only works after adding the site to the exceptions site list); however, when testers try to access our Kronos Workforce Central 6.3.10 system, the Java applets used by that system do not load.
    We have tried the following things, none of which worked:
    Clear Internet Explorer browser cache and cookies.
    Clear the local Java cache.
    Reboot the computer.
    Reset Internet Explorer settings, including personal settings.
    The one thing which does work is going into the Java Control Panel, going to the Security tab, unchecking "Enable Java content in the browser", pressing Apply, pressing OK on the pop-up window, checking the "Enable Java content in the browser" box again, pressing OK, pressing OK on the pop-up window, and then restarting Internet Explorer.  It is only after this point that all Java applets, including the ones used by Kronos Workforce Central 6.3.10, work.
    What I need to know is how I can automate the procedure of reinitializing the "Enable Java content in the browser" checkbox after installation or am I doing something wrong or missing a step in the automated installation that is causing this to happen?
    We are using Microsoft SCCM 2007 R3 to accomplish this upgrade, and everything is being run on the client machine using the SYSTEM account.  First, the PowerShell script "javaclean.ps1" is run, with part of the command-line process changing the PowerShell script execution policy to Bypass.  This script handles the closing of Java-dependent applications and Java processes and uninstalls old Java versions.
    javaclean.ps1:
    #Find all Java products excluding the auto updater which actually gets uninstalled when the main install is removed.
    write-host "Searching for all installed Java versions" -ForegroundColor Yellow
    [array]$javas=Get-WmiObject -query "select * from win32_Product where (Name like 'Java %' or Name like 'Java(TM)%' or Name like 'J2SE%') and Name <> 'Java Auto Updater'"
    if ($javas.count -gt 0)
        write-host "Java is already Installed" -ForegroundColor Yellow
        #Get all the Java processes and kill them. If java is running and the processes aren't killed then this script will invoke a sudden reboot.
        [array]$processes=Get-Process -Name "Java*" #-erroraction silentlycontinue
        $processes += Get-Process -Name "iexplore" #-erroraction silentlycontinue
        $processes += Get-Process -Name "firefox" #-erroraction silentlycontinue
        $processes += Get-Process -Name "chrome" #-erroraction silentlycontinue
        $processes += Get-Process -Name "jqs" #-erroraction silentlycontinue
        $processes += Get-Process -Name "jusched" #-erroraction silentlycontinue
        $processes += Get-Process -Name "jp2launcher" #-erroraction silentlycontinue
        if ($processes.Count -gt 0)
            foreach ($myprocess in $processes)
                $myprocess.kill()
        #Loop through the installed Java products.
        foreach($java in $javas){
            write-host "Uninstalling "$java.name -ForegroundColor Yellow
            $java.Uninstall()
    After this script is complete, SCCM calls a the VBS script "install.vbs" to perform the actual installation of Java JRE 7 update 51.
    install.vbs
    '* Script: Install JRE 7 routine
    '* Date:   3/14/14
    '* Author: [REDACTED]
    '* Rev:    1.0
    '* Notes: 
    '/// Common
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objWshShell = CreateObject("WScript.Shell")
    ' Get system architecture
    Dim colSys : Set colSys = GetObject("WinMGMTS://").ExecQuery("SELECT AddressWidth FROM Win32_Processor",, 48)
    Dim objSys
    For Each objSys In colSys
        If objSys.AddressWidth = 64 Then bolIs64Bit = True
    Next
    ' Get operating system
    Dim colOS : Set colOS = GetObject("WinMGMTS://").ExecQuery ("Select * from Win32_OperatingSystem",,48)
    Dim objOS
    For Each objOS In colOS
        If Left(objOS.caption, 20) = "Microsoft Windows 8 " Then
            bolIsWin8 = True
            WScript.Echo "win8"
        End If
        If Left(objOS.caption, 22) = "Microsoft Windows 8.1 " Then
            bolIsWin81 = True
            WScript.Echo "win81"
        End    If
    Next
    ' Set 32 bit program files directory
    If bolIs64Bit = True Then
        strPFILES = "Program Files (x86)"
        strSYSDIR = "SysWOW64"
        Else strPFILES = "Program Files"
        strSYSDIR = "System32"
    End If       
    ' Set windows directory
    strWIN = objWshShell.ExpandEnvironmentStrings("%windir%")
    ' Set the current directory
    strCurrentDir = objFSO.GetParentFolderName(Wscript.ScriptFullName)
    ' Set computer name
    strCompName = objWshShell.ExpandEnvironmentStrings("%computername%")
    '/// Main script
        '/// Install via .msi & capture exit code
        'intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\package.msi""" & " TRANSFORMS=""" & strCurrentDir & _
        '    "\transform.mst"" ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
        'wscript.quit(intExitCode)
        '****RUN COMMANDS HERE****
        ' Create folder structure if it doesn't exist already   
        strFullPath = "c:\Windows\Sun\Java\Deployment" '
        ' How many levels are there in the path?
        nLevel = 0
        strParentPath = strFullPath
        Do Until strParentPath = ""
            strParentPath = objFSO.GetParentFolderName(strParentPath)
            nLevel = nLevel + 1
        Loop
        For iLevel = 1 To nLevel
            ' Figure out path for directory at level iLevel
            strParentPath = strFullPath
            For j = 1 To nLevel - iLevel
                strParentPath = objFSO.GetParentFolderName(strParentPath)
              Next
        ' Does this directory exist? If not, create it.
            If objFSO.FolderExists(strParentPath) = False Then
                Set newFolder = objFSO.CreateFolder(strParentPath)
            End If
        Next
        ' Kill running processes
        objWshShell.Run "taskkill /F /IM iexplore.exe", 8, True
        objWshShell.Run "taskkill /F /IM firefox.exe", 8, True
        objWshShell.Run "taskkill /F /IM chrome.exe", 8, True
        objWshShell.Run "taskkill /F /IM javaw.exe", 8, True
        objWshShell.Run "taskkill /F /IM java.exe", 8, True
        objWshShell.Run "taskkill /F /IM jqs.exe", 8, True
        objWshShell.Run "taskkill /F /IM jusched.exe", 8, True
        ' Copy deployment files
        objFSO.CopyFile strCurrentDir & "\deployment.config", "c:\Windows\Sun\Java\Deployment\", True
        objFSO.CopyFile strCurrentDir & "\deployment.properties", "c:\Windows\Sun\Java\Deployment\", True
        ' Disable UAC
    '    If bolIsWin8 Or bolIsWin81 = True Then
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 0 /f", 8, True
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f", 8, True
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f", 8, True
    '    End If
        ' Install application
        intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\jre1.7.0_51.msi"" IEXPLORER=1 AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEB_JAVA=1 ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
        ' Enable UAC
    '    If bolIsWin8 Or bolIsWin81 = True Then
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 1 /f", 8, True
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f", 8, True
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 5 /f", 8, True
    '    End If   
        wscript.quit(intExitCode)
        '/// Install via .exe on network
        'objWshShell.Run """" & strCurrentDir & "\Setup.exe"" -s -sms -f1""" & strCurrentDir & _
        '    "\setup.iss"" -f2""" & strWIN & "\Temp\Install-app.txt""", 8, True
        ' Need to turn off the open file security warning first
        Set objEnv = objWshShell.Environment("PROCESS")
        objEnv("SEE_MASK_NOZONECHECKS") = 1
    '    intExitCode = objWshShell.Run("""" & strCurrentDir & "\jre-7u45-windows-i586.exe"" /s /v""/norestart " & _
    '        "TRANSFORMS=""" & strCurrentDir & "\Tribe-jre7.mst""""", 8, True)
    '    WScript.Quit(intExitCode)
        '****RUN COMMANDS HERE****
        ' Then turn it back on
        objEnv.Remove("SEE_MASK_NOZONECHECKS")
    '/// Additional functions
    Help on this issue would be much appreciated!

    It turns out that this is actually a problem with Kronos Workforce Central.  We had the "site.java.plugin.CLSID.familyVersion" setting in that application set to "clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA", which is the Java CLSID for Java 6.  After updating this value to "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" (the Java universal CLSID), this problem did not occur upon the automatic upgrade of Java.
    We have both Java 6 and Java 7 in our environment, and did during our Kronos implementation, so I don't know why we were using the Java 6 CLSID in the first place.
    Case closed!

  • How can I return to the previous browsing page in the App store?

    How can I return to the previous browsing page in the App store?

    Thanks for your reply but problem not solved. If I have reached page 5 for example, I can not go back to the previous page 4. Instead it goes back to page 1 when I use the back track arrows, gestures or the back or forward commands!! The girl at my local Apple dealer says that it can't be done. This should be a very basic browsing function in the App Store. I know other people have the same problem.

  • I have customized my Firefox toolbar. After closing the browser and then reopening it, the toolbar has returned to the way it was before I customized it. How do I get my customization of the toolbar to become permanent?

    I have customized my Firefox toolbar several times. After closing the browser and then reopening it, the toolbar has returned to the way it was before I customized it each time. How do I get my customization of the toolbar to become permanent?
    It has occurred with Firefox 4.0.1 and 5.0

    see http://kb.mozillazine.org/Corrupt_localstore.rdf
    Take a picture of your toolbars so you can easily reconstruct them from the default after solving the the problem.
    If it happens to you it will probably happen again in the future so you might want to keep some copies of your modified localstore.rdf file so you can delete the bad one and rename one of the replacements in waiting. Saving, copying and renaming must be done with Firefox down, of course.

  • Update Item when Content Type is changed in the browser

    I feel like I might be missing something obvious here - I set up a number of managed content types.  While editing a list item with multiple content types, when a user changes to a different content type using the drop down at the top of the page,
    the edits are not saved.  Is there any way to force an update when the user changes content type?  Clicking save returns the user to the list view which means the user needs to edit it again, and navigate to the content type.

    Hi Steve,
    Per my understanding, you might want to update item with the input values when content type changed by selecting an option in the “Content Type” drop down menu in
    EditForm.aspx page.
    A Content Type is a set of predefined columns, from the perspective of the use of Content Type in a list, it would be easier to maintain per record with only one content
    type as an item, this is also a recommended behavior when working with multiple content types in a list.
    If you want to take use of columns from multiple content types in an item, a suggestion is that you can create a custom content type with the columns from other content
    types you want, then add it into your list.  
    Thanks 
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Problem with BDC on VA02

    Hi All, I am facing a problem with bdc on va02. After hitting enter on the first screen it pops an info message "consider subsequent douments". It doesn't get recorded in recorded. Hence I am not able to run the transaction with no screen mode. Pleas

  • My Ipod and laptop were stolen...how can I duplicate all my purchased items

    My ipod and laptop containing my Itunes library were stolen. How can I re-download my purhcased items without paying for them again. When I go into the store and check my download history and request available downloads I get a message saying all ava

  • Errors in web dynpro

    Hi ,All, There is an error occured when i use service call to program in web dynpro. that is  "Exception NO_ENTRY_FOUND that Is Not Class-Based Occurred ". can someone tell me what i should do to modify it? Thank you very much.

  • Not Able to compile Servlet from ?

    Hi All, I am not able to compile Servlet from my package: 1) I Have set the CLASSPATH Variable using below line in System Variables: C:\CC4\prog\jakarta-tomcat-4.1.30\common\lib\servlet.jar 2) Also Set the CATALINA_HOME with value C:\CC4\prog\jakarta

  • SAP Management Console - Remote System Management

    When I fire up my SAP Management Console (mmc plugin), I can see my locally installed instance for starting and stopping.  Can I use the plugin to manage a remote machine? Thanks!