Changes not showing in JSP files

I am running tomcat and using JSP.
I use winscp to log in and make changes to the pages.
Those changes are not showing up unless I restart tomcat and delete the temporary files.
I have talked to a bunch of people about this and nobody has any ideas, admitidly they are not tomcat experts.
Is there anyone out there who can give me any advice?

few questions.
which version of tomcat are you using? are you uploading the individual files or a war?

Similar Messages

  • BLOB image not shows in JSP page!!

    Hi Dear all,
    I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me.
    Can any experts help me? BLOB image not shows in JSP page. I am using ADF11g/DB 10gR2.
    My as Code follows:
    _1. Servlet Config_
        <servlet>
            <servlet-name>images</servlet-name>
            <servlet-class>his.model.ClsImage</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>images</servlet-name>
            <url-pattern>/render_images</url-pattern>
        </servlet-mapping>
      3. class code
    package his.model;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.Map;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.domain.BlobDomain;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class ClsImage extends HttpServlet
      //private static final Log LOG = LogFactory.getLog(ImageServlet.class);
      private static final Log LOG = LogFactory.getLog(ClsImage.class);
      public void init(ServletConfig config)
        throws ServletException
        super.init(config);
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
        throws ServletException, IOException
        System.out.println("GET---From servlet============= !!!");
        String appModuleName = "his.model.ModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleName");
        String appModuleConfig = "TempModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleConfig");
        String voQuery ="select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = 'P1000000000006'" ;// 'P1000000000006' this.getServletConfig().getInitParameter("ImageViewObjectQuery");
        String mimeType = "jpg";//this.getServletConfig().getInitParameter("gif");
        //?IMAGE_NO='P1000000000006'
        //TODO: throw exception if mandatory parameter not set
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName, appModuleConfig);
          ViewObject vo =  am.createViewObjectFromQueryStmt("TempView2", voQuery);
        Map paramMap = request.getParameterMap();
        Iterator paramValues = paramMap.values().iterator();
        int i=0;
        while (paramValues.hasNext())
          // Only one value for a parameter is expected.
          // TODO: If more then 1 parameter is supplied make sure the value is bound to the right bind  
          // variable in the query! Maybe use named variables instead.
          String[] paramValue = (String[])paramValues.next();
          vo.setWhereClauseParam(i, paramValue[0]);
          i++;
       System.out.println("before run============= !!!");
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        System.out.println("after run============= !!!");
        Row product = vo.first();
        //System.out.println("============"+(BlobDomain)product.getAttribute(0));
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null)
          System.out.println("onside product============= !!!");
           // We assume the Blob to be the first a field
           image = (BlobDomain) product.getAttribute(0);
           //System.out.println("onside  run product============= !!!"+image.toString() +"======="+image );
           // Check if there are more fields returned. If so, the second one
           // is considered to hold the mime type
           if ( product.getAttributeCount()> 1 )
              mimeType = (String)product.getAttribute(1);       
        else
          //LOG.warn("No row found to get image from !!!");
          LOG.warn("No row found to get image from !!!");
          return;
        System.out.println("Set Image============= !!!");
        // Set the content-type. Only images are taken into account
        response.setContentType("image/"+ mimeType+ "; charset=windows-1252");
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[4096];
        int nread;
        while ((nread = is.read(buffer)) != -1)
          os.write(buffer, 0, nread);
          //System.out.println("Set Image============= loop!!!"+(is.read(buffer)));
        os.close();
        // Remove the temporary viewobject
        vo.remove();
        // Release the appModule
        Configuration.releaseRootApplicationModule(am, false);
    } 3 . Jsp Tag
    <af:image source="/render_images" shortDesc="Item"/>  Thanks.
    zakir
    ====
    Edited by: Zakir Hossain on Apr 23, 2009 11:19 AM

    Hi here is solution,
    later I will put a project for this solution, right now I am really busy with ADF implementation.
    core changes is to solve my problem:
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        }All code as below:
    Servlet Code*
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response) throws ServletException,
                                                             IOException {
        String appModuleName =
          "his.model.ModuleAssetMgt";
        String appModuleConfig =
          "TempModuleAssetMgt";
      String imgno = request.getParameter("imgno");
        if (imgno == null || imgno.equals(""))
          return;
        String voQuery =
          "select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = '" + imgno + "'";
        String mimeType = "gif";
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName,
                                                    appModuleConfig);
        am.clearVOCaches("TempView2", true);
        ViewObject vo = null;
        String s;
          vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        Row product = vo.first();
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null) {
          // We assume the Blob to be the first a field
          image = (BlobDomain)product.getAttribute(0);
          // Check if there are more fields returned. If so, the second one
          // is considered to hold the mime type
          if (product.getAttributeCount() > 1) {
            mimeType = (String)product.getAttribute(1);
        } else {
          LOG.warn("No row found to get image from !!!");
          return;
        // Set the content-type. Only images are taken into account
        response.setContentType("image/" + mimeType);
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        is.close();
        os.close();
        // Release the appModule
    Configuration.releaseRootApplicationModule(am, true);
    }Jsp Tag
    <h:graphicImage url="/render_images?imgno=#{bindings.ImageNo.inputValue}"
                                                        height="168" width="224"/>

  • Remote server view not showing folders or files

    My customer uses Dw CS3 with XP SP3. Everything worked fine until their ISP changed their web server. After the change remote site view does not show folders or files although uploading to server works fine with Dw. If I try with Filezilla or any other FTP client everything works normaly. I'm no Dw expert just a sys.admin, but I don't know what settings I should try anymore. I tested this with dw cs 4 also and same problem there.
    If I check the FTP LOG from dw it shows the file listing correctly and that I have rights to the folders and files.

    Do you know what changed on the FTP server? I would love to know what it is. And if you have been able to solve the issue, then we might be able to provide the steps to reproduce/prevent the problem to Adobe's bug report form.
    I have had rather iffy experience with DW's FTP feature with various hosts through the years. Enough so that I only try out DW's FTP when I upgrade, and always resort to using a different FTP client. Although I tend to prefer FTP client software anyway, there are times when it would be convenient to use DW's features.
    Mark A. Boyd
    Keep-On-Learnin' :-)
    This message was processed and edited by Jive.
    It shall not be considered an accurate representation of my words.

  • Preview does not show any postscript files

    Preview does not show any .ps files in Mac OS 10.4.3. I get an error message "PostScript Conversion Error" when Preview tries to convert the ps file into pdf.
    (I print online banking invoices to postscript using the print option "save as file", because the pdf option isn't always available as a file format.)
    How can I view my ps files?
    (this is a cross-post from the print/fax forum, as no one answered my question there)

    Thanks for the tip. I downloaded Ghostscript, installed it but can't find it once installed and nothing has changed.
    I did however find out that only my online banking PostScript files are unreadable. Other PS files I create with my Canon printer menu are automatically converted into PDF by Preview without a problem. So it must have something to do with the document header or whatever of the online banking files.

  • SMB share not showing all available files

    Hi,
    At work I have to connect to several SMB shares. Most are fine, however 1 of them does not show all the files that are on that share. I know I'm using the right domain, username and password. I've checked the console and can see this message repeated when I connect.
    mbgetmem(449): incomplete copy
    mbgetmem(449): incomplete copy
    mbgetmem(449): incomplete copy
    mbgetmem(449): incomplete copy
    I'm using OS X 10.4.8 and have no idea of how to proceed. My IT department do not support our Mac's so any help would be greatly appreciated.
    Many Thanks
    Kieran

    excellent reply. Thanks for the details.
    Oh, one more thing-
    this 30-item limit is just in this same troublesome share.
    Before the day gets away from you, ask the network admin to check permissions on this share. Perhaps the 30 files you see are the only ones that you have explicit rights to view.
    they may need to ease up on restrictive permissions on this folder/drive.
    (Images over a network can be funky, since Mac wants to display a little thumbnail of all those picture files...if you're viewing 'as icons', what happens if you change to 'by list'?...thinking out loud there.)
    (not sure if I posted this...lost an open window for a few minutes :o

  • Email address change not showing on ipad after sync

    iTunes email address change not showing on ipad after sync

    So change it.
    Open iTunes, scroll to the bottom of the main page, tap your account name, log out then sign in with the correct name.

  • I am unable to save a keynote file as powerpoint. The 'save as' option is not showing in the files menu

    Hi, I downloaded the Keynote from the App store. I shoudl be able to save the presentation as a powerpoint, but the 'Save as" option is not showing in the file menu. Please help with a solution.

    Export
    If you are using Lion, there is no Save As in iWork apps. It is no longer a menu item.

  • Default keyboards folder in illustrator CC not showing- no .kys file in apps folder

    default keyboards folder in illustrator CC not showing- no .kys file in apps folder, The keyboard shorcuts in Illustrator -Edit-shorcuts, don't show default shortcuts either...should I reinstall Illustrator CC?

    If you are on a Mac, then the default keys should be in Adobe Illustrator CSX/Presets/en_US/Keyboard Shortcuts. If it's not there then a reinstall would be in order possibly running the cleaner tool in between.

  • Existing files on drive connected to latest Airport Extreme do not show up, however files copied over the air to the drive do. Any ideas?

    I have the latest Airport Extreme with a Seagate drive connected. I copied files to the drive while it was connected to my MacBook Pro. The files do not show up when connected to the AE, but they appear when connected to the Macbook, Files copied over the network to the drive appear. The drive is formatted HFS+.

         After playing with this for the last few days, I found a solution. Under the "Disks" tab in Airport Utility, the "Secure Shared Disks" drop down needs to be set to "With device password". Mine was set to "With acounts", which even after correct authentication, none of the files would appear.
         Another interesting note:  The files that I could see, the ones I copied over the network, do not appear now. I can copy over new files, and they show up, but the ones copied prior to changing the "Secure Shared Disks" option, do not.

  • Illustrator cs3 will not show placed .psd files

    I changed my computer to a vista based operating system and installed my creative suite 3. Everything was working fine but recently I am having challenges getting illustrator cs3 to show placed .PSD files. They appear to import but do not display. Any suggestions on how to fix this issue would be helpful. I already tried a repair/reinstall of illustrator but that did not work. I can place .psd images into In Design so I am not sure why illutrator is not allowing .PSD files to import and display.

    Harron K. Appleman wrote:
    Did you upgrade to 64-bit Vista by any chance?
    Are your PSD images 16-bit by any chance?
    The problem with this scenario is that since Illustrator, any version does not support 16 bit psd files and CS 3 and 4 will place the file anyway but give you a notice that it is placing it as 8 bit. So unless there is something about  Vista XP or W7 64 bit that prevents Illustrator fro converting then that is probably not the issue. And though the warning says it flattens it will preserve a transparent background.
    So it might be a different issue.

  • Incopy changes not showing up in InDesign

    I have an InCopy story in which the editor made several edits and applied several style sheets; however, those changes are not showing up in the InDesign file. The InDesign file does not show that the story is "out of date." When I open the actual INCX file, the changes are in the file and if I unlink the story from InDesign, delete the text, then re-link the story, the changes now appear.
    We were able to fix this instance and did not loose any text; however, I just wondered if anyone else has had this happen and if there's a known cause for this.

    I think your understanding is correct - when double clicked it DOES open the appropriate InDesign file, and it DOES clear the "Package" icon in the assignments palette next to the assignment. But it DOES NOT show the modified incopy "incx" files as has been modified.
    Normally it would show it needing to be modified, in which case, like you said, you are prompted (well, there's not a dialog box at that time, but you see the yellow warning icon next to the "incx" file in the Links or Assignments palettes) to update the link(s).
    Again this is a hit or miss proposition. The designer and I worked on this for a few hours last week. My contention was that it had something to do with where she had the Exported InCopy "incx" files; where she created the assignment (clicking on the Change button in the New Assignment dialog); or where she put the "indp" package when it she received the modified edits. So we tinkered with changing these paths. We also switched from "Exporting Layer", which is our normal process to just Exporting an individual selected article. Using the "Exporting Layer" and keeping the assignment in the default path (with the InDesign file) seemed to work. But we didn't do enough of that scenario to prove it consistently worked. She will be doing that over the next few live jobs.
    But none of those really made sense to me as the culprit. I'm contemplating my next move for testing. Of course today with my local testing, I couldn't reproduce the problem. We're on Window's servers via SMB, maybe that's got something to do with it.
    ...Ron

  • InfoViewBranding changes not showing

    Hello,
    I followed steps below for branding changes on 4.1 but I cannot get changes to show. Below are steps I've done.
    1.) Unpackaged com.businessobjects.webpath.InfoViewBranding.jar
    2.) Made my changes to customize.css and added my images and removed sample folder so now I have structure.
         \META-INF
         \web
              \css
                   customize.css
              \images
    3.) Repackaged it and placed at <INSTALLDIR>\SAP BusinessObjects Enterprise XI 4.0\warfiles\webapps\BOE\WEB-INF\eclipse\plugins
    4.) Stopped Tomcat
    4.) Deployed files to Tomcat
    5.) Started Tomcat
    Now in SAP BusinessObjects\tomcat\work\Catalina\localhost\BOE\eclipse\plugins I can see my webpath.InfoViewBranding folder with same structure as above with my new images. Everything looks good. The changes however dont show in the launchpad. I restarted Tomcat serveral times, deleted and recreated localhost folder, cleared my own browser cache. Everything I can think of but its not using webpath.InfoViewBranding folder. Still using default. Any other ideas? The folder structure is absolutley correct.
    Thank You

    It was due to the manifest.mf file being blank after repackaging. Jason gave me this resolution below onTutorial: Branding and Theming of BI launch pad. This was my fix.
    Alex,
    I finally figured out the problem, at least what was keeping my branding from working, and it sounds like you may be experiencing the same thing. It had to do with the jar command to repackage the com.businessobjects.webpath.InfoViewBranding.jar file in the SAP Business Objects BI Customization Guide. The command they tell you to use is:
    jar cf com.businessobjects.webpath.InfoViewBranding.jar web META-INF
    This command creates a new (blank) MANIFEST.MF file in the META-INF directory. I use the following command instead:
    jar cfm com.businessobjects.webpath.InfoViewBranding.jar MANIFEST.MF web
    NOTE: I moved the MANIFEST.MF file out of the META-INF folder and had it at the same level as the web folder just to make typing the command easier. It will create a META-INF folder and include the MANIFEST.MF file.
    After finding the blank MANIFEST.MF file, I used this Java tutorial on JAR files to figure out what was causing the issue: http://docs.oracle.com/javase/tutorial/deployment/jar/index.html
    Specifically, the details of the command I used above to package the manifest file is located here: http://docs.oracle.com/javase/tutorial/deployment/jar/modman.html
    Hope this helps,
    Jason

  • Contribute changes not showing after site update

    A few months ago I added a top level navigation item to a client site.  That made changes to the code for every page in the site, but the changes the client had made with Contribute 4 still showed in browsers.
    Just posted the pages for another addition to top level nav.  This again made changes to the code on every page of the site.  This time the Contribute changes do not show in browsers.
    The Contribute files are still in their folders on the server.
    Navigation to the pages modified in Contribute has not changed.
    Is there a simple fix to wake up the Contribute files?

    If there are any errors in yur code, FB will not compile
    anything new.
    Verify that you do not have any errors in the Problems pane.
    Then try Menu, Project, Clean.
    Tracy

  • Website changes not showing after publishing

    I have changed some of my website pages. IWEb says I have published. If I check my folders on mobile me they show the site files as being the most recent version published, but when I try to review the revised pages they are not visible, only the previous versions come-up. I have closed Safari, emptied my caches (multiple times), even deleted the site files on mobile me, all with no success. Help!

    Sounds like your ISP is serving you some "stale" cached files instead of the more updated version.
    Try this:
    Enter your URL in the Address bar of your browser and end it with a ? (question mark). This should force a "fresh" page download.

  • Some videos are semi-missing - they do not show up in File Manager apps or another app

    I have what I will call three FILER apps: File Browser, Air Browser and File Commander.  I also have MovieSRTPlayer.  Those apps appear to not register the presence of some video files that I have definitely copied to my PB.  The MovieSRTPlayer will overlay a .srt file's text over a video allowing the pb to show subtitles.  It works as long as it can find the video and srt files.
    I am definitely transferring a series of video files to the pb's video folder.  I am also transferring a companion file to that folder.  The companion file is a subtitle file in the form of an .SRT file.
    THREE file manager type apps do NOT show those files as present in the video folder.  The Video app itself does show and play those video files. 
    I have copied the files using both wifi-sharing and when they did not show up that way, I copied them using the usb cable to the pb's Z: drive and the video folder.
    As stated the dam! files play in the video app.  But they do not appear in the various filer apps.  And they also do not show in another app, one that will display the subtitle (.srt file) file overlaying the video.  In all instances it is as if the pb does not register the presence of those files on the pb.
    Now, what is interesting is that when this first cropped up, 7 files were missing - just a mix of video (no .srt files involved).  That is they showed in the video app and played but the filer programs did not show them.  I managed last night and this morning to get 7 of those to finally show by copying/moving/deleting and recopying.  But now I'm running into this brick wall again.  I have repeatedly copied two video (avi files) and their companion .srt files to the video folder.  They are in that folder (I've looked using usb and wifi-sharing) and they play in the PB's video app.  They are most certainly on my pb.
    Oh, and yes, I've rebooted a number of times. 
    Ideas?

    I have what I call 3 file manager apps.  File Browser, Air Browser and File Commander (the older free version). 
    They all show or don't show the same thing.  So files are missing.  And SIZE is not the sole determining factor.  When I was testing MovieSRT and "lost" some files I copied and renamed avi and .srt files.  So there are two extra .srt files in the Video folder.  But while they are 32kb (kilobytes) and 58kb respectively, they do NOT show up in the File managers.  The other two identical files with the names matching the .avi files do show up.  The one very large mp4 (2gb) does not show up.  A subfolder I created just as a test does not show up.  But the large mp4 and subfolder were showing up while I was actively copying the 2gb file - they would show up as the file was being copied - the filemanagers showed the file getting larger and larger and while doing so the "missing" subfolder also kept showing up.  Then once the large file was completely copied, both it and the subfolder "disappeared" - again, the large mp4 does show in the Video app and it plays.
    My persistence probably is based on the fact I was a computer programmer many eons ago!  Also, I was trying to get YOUR app to work and the avi files were not showing up in your listing but they were showing and playing in Video app (but no subtitles).  Finally, after copying/moving/re-copying over and over including moving and copying to the PB's Print folder (just since it was empty) and copying it back to the video folder (now 2 copies), the files would finally show up.  Peculiar - yup!
    Oh, one other thing - the 3 file managers all show what I will call the virtual Playbook-Demo video in their listings - your app does NOT show it.  Obviously, it is not located in the Video Folder but somewhere in the bowels of the PB.  So, the filemanagers  are relying on some "file structure" that is not fully correct.  But your app does not appear to show it.

Maybe you are looking for

  • Can I purchase 5S model A1457 in the US?

    Since travelling to the US next week, I would love to take the opportunity to buy a iPhone 5s, since it won't be available in my country for another 2 months and because it will be a lot cheaper to buy one in the US. Of course, I will purchase a unlo

  • REGARDING A SKYPE THATS HAS MY PHOTO ON IT AND ITS...

    THERE IS SKPYE I CAME ACCROSS USING MY PHOTO THAT IS NOT MINE, THE NAME ON SKYPE IS UNDER XXXXXXXXX AND UNDER THAT NAMES IS THE NAME XXXXXXXXXXXXXXXXXXXX. PLEASE GET RID OF THIS SKYPE I AM AFRAID OF HAKING, SEX GOING ON WITH OTHER SKYPE PEOPLE. IF AN

  • Lost iphoto manager

    I don't understand what has happened but about 9 months I downloaded iphoto manager, paid for it, but now it has disappeared.  Any idea how to get it back?  Or I am sure that there is a record of me paying for this, so where do I look for that? Sorry

  • Tracking Browser Information

    Sir, I am working on a project in which i want to deny the users from browsing for personal purpose. So i want to track information in real time. Can someone tell me how to get the address bar information into my application whenever the status of my

  • App store purchase in two countires

    I live both in the UK and Greece. I have addresses & credit cards in the UK and Greece. How can I use the App stores in these two countries? I Need to use some app from the UK store now that I am there and cannot have them.