Keyword search is displaying the duplicate image

Hi,
am facing a problem while i was passing a keyword search eg:shirts in ipad application(base is crs)
http://localhost:8180/crs/storeus/adapter/searchService.jsp?txt=shirts(base is crs)
for eg:
IN Firefox
i give a keyword like shirts in crs. its works fine, after that next tab i run my service(*http://localhost:8180/crs/storeus/adapter/searchService.jsp?txt=shirts*), its working fine
eg 7 products in crs means same 7 products is display in my services
<dsp:getvalueof var="totalResults" bean="QueryFormHandler.searchResponse.groupCount"/>
<dsp:valueof value=${totalResults}/> 7
its getting no duplication..
now am running my service in another browser like IE
here not running crs.only am running my service
http://localhost:8180/crs/storeus/adapter/searchService.jsp?txt=shirts
eg 7 products in crs means, here it may 8 or 9 products is display
<dsp:valueof value=${totalResults}/> 8
some of the products getting duplication..
please suggest some points
thanks in advance

Hi,
You could extend QueryFormHandler to see what is the query response in the afterSearch() method for each of your cases.
I am doing that because I needed to duplicate some results based on a special property on our product item descriptor, you could do the same but for your duplicate issue trouble shooting.
I hope this helps you
Regards,
Obed

Similar Messages

  • Dreamweaver CS4- I can't get my site to display the proper image.

    I have a Dreamweaver CS4 Template with an editable area for a header image. I have already assigned a new image to all the header regions but when I moved the site to the web host the pages will only display the Default header image from the template in the editable region, even though when I check the file name in the Modify Templates window it displays the proper name, but displays the wrong image.
    What is wrong? any help would be greatly appreciated.
    thanks.

    Did you upload the new header image?
    This one is currently being displayed.
    http://stjohnvianney.net/parish_assets/Header_Church_img.jpg
    NOTE: Your email link is wrong.  It points to a file on your local hard drive.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Displaying the layer image in a Flex panel

    Hi,
    I need to display the contents (image) of the active layer in a Flex panel. Was thinking along the lines of saving the layer as a temporary image and then loading it into an Image control. But is there a better/less messy way than this?

    I want to know this too.

  • My IT department transferred images from my Blackberry to my Iphone, they are in "Photo library". there is 1500  images, many are duplicates and when I hit edit, delete is not an option. how do i delete the duplicate images?

    my IT department set up my Iphone and transferred the images from my Blackberry. I have over 1500 images showing in "Photo Library" and lots of them are duplicates (same image). When I hit edit it will not allow me to delete them, delete is not an option shown. How do I get rid of the duplicates?
    In Photo library, when I hit edit the only avail options are share or add to. Please help, i dont want 1500 images on the phone.

    Are they really duplicates or are you simply referring to the Photo Library?
    Just as a song is in your itunes library and the exact same song can be accessed via a playlist, all synced photos are in the Photo Library and those exact same photos ( not duplicates) can be accessed from the chose folder/album.
    You delete these pica the same way you put them there.  The sync process.  Deselect them in itunes and sync.

  • Why doesn't Photoshop display the full image on open?

    I'm using Photoshop CC on a MacBook Pro with OS X 10.9.2 and an external monitor, and when I open an image, it is partially hidden by the display window - scroll bars appear along the sides of the image display window. It's a little annoying, but hasn't been a big problem - I can just resize the display window. However, when I run a script to place an image, the image is placed in the center of the window rather than the center of the actual image, so the placed image ends up being cropped off the base image. The images I'm using are not large, 650 x 296 pixels at 72dpi, and take up less than 1/4 of the screen at 100%.
    I've tried adding scripts like http://www.ps-scripts.com/bb/download/file.php?id=10&sid=adf04fde6ee2c 103cddbc41220d6c3b3 and http://morris-photographics.com/photoshop/scripts/view-pixels.html, but they had no impact on the opening of the files.
    How can I get the display window to show the entire image automatically when I open it? Thank you.

    I'm not familiar with coding script - do you have a suggestion as to what I might try? The Fit to Screen script works when I open an image from Finder, but it does not activate when I run a Automate Batch. The placed image still gets cropped.

  • My program always displays the same image, even when I change th image file

    I'm making a program that chooses an image file from a dialog, resize it and copy it into a folder. When the image is needed to be displayed, the image file is read and a JLabel displays it on screen.
    When I upload the first image, everything works fine. The problem appears when I upload another picture: the displayed image is still the first image, even when the old file doesn't exist anymore (because it has been overwritten). It looks like the image has been "cached", and no more image are loaded after the first one.
    This function takes the image picture chosen by the user, resizes it, and copy it into the pictures folder:
        private void changeProfilePicture() {
            JFileChooser jFileChooser = new JFileChooser();
            jFileChooser.setMultiSelectionEnabled(false);
            jFileChooser.setFileFilter(new ImageFileFilter());
            int result = jFileChooser.showOpenDialog(sdbFrame);
            if (JFileChooser.APPROVE_OPTION == result) {
                try {
                    //upload picture
                    File file = jFileChooser.getSelectedFile();
                    InputStream is = new BufferedInputStream(new FileInputStream(file));
                    //resize image and save
                    BufferedImage image = ImageIO.read(is);
                    BufferedImage resizedImage = resizeImage(image, 96, 96);
                    String newFileName = sdbDisplayPanel.getId() + ".png";
                    String picFolderLocation = db.getDatabaseLocation() + "/" +
                            PROFILE_PICTURE_FOLDER;
                    java.io.File dbPicFolder = new File(picFolderLocation);
                    if(!dbPicFolder.exists())  {
                        dbPicFolder.mkdir();
                    String newFilePath = picFolderLocation + "/" + newFileName;
                    File newFile = new File(newFilePath);
                    FileOutputStream fos = new FileOutputStream (newFilePath);
                    DataOutputStream dos = new DataOutputStream (fos);
                    ImageIO.write(resizedImage, "png", dos);
                    dos.close();
                    fos.close();
                    //set picture
                    sdbDisplayPanel.setImagePath(newFilePath);
                } catch (IOException ex) {
                    System.err.println("Could'nt print picture");
                }This other class actually displays the image file in a JLabel:
        public void setImagePath(String imagePath) {
            count++;
            speaker.setImagePath(imagePath);
            this.imagePath = imagePath;
            if(imagePath != null)   {
                //use uploaded picture
                try {
                    File tempFile = new File(imagePath);
                    System.out.println(tempFile.length());
                    java.net.URL imgURL = tempFile.toURI().toURL();
                    ImageIcon icon = new ImageIcon(imgURL);
                    pictureLbl.setIcon(icon);
                    // Read from a file
                } catch (IOException ex) {
                    Logger.getLogger(SDBEventClass.class.getName()).log(Level.SEVERE, null, ex);
            else    {
                //use default picture
                URL imgURL = this.getClass().getResource("/edu/usal/dia/adilo/images/noProfile.jpg");
                ImageIcon icon = new ImageIcon(imgURL, "Profile picture");
                pictureLbl.setIcon(icon);
        }

    When you flush() the image, you don't need to construct a new ImageIcon each time, a simple repaint() will suffice.
    Run this example after changing the URL to an image you can edit and update while the program is running.import java.awt.BorderLayout;
    import java.awt.Image;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.net.MalformedURLException;
    import java.net.URL;
    import javax.swing.*;
    public class FlushImage {
       Image image;
       JLabel label;
       public static void main(String[] args) {
          SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
                new FlushImage().makeUI();
       public void makeUI() {
          try {
             ImageIcon icon = new ImageIcon(new URL("file:///e:/java/dot.png"));
             image = icon.getImage();
             label = new JLabel(icon);
             JButton button = new JButton("Click");
             button.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                   image.flush();
                   label.repaint();
             JFrame frame = new JFrame("");
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             frame.add(label, BorderLayout.NORTH);
             frame.add(button, BorderLayout.SOUTH);
             frame.pack();
             frame.setLocationRelativeTo(null);
             frame.setVisible(true);
          } catch (MalformedURLException ex) {
             ex.printStackTrace();
    }db

  • IPad retina via iOS simulator can not display the whole image (2048x1536)

    Hi,
    I am developing cartoon ebooks with iOS simulatort 7.0. The target device is iPad retina. I use the image whose size is 2048x1356. After building by iOS simulator--iPad retina, only center part of image was displayed. I hope to show the whole image with simulator, how should I do?
    Thanks!

    You would do better to ask your question on the developers' forum. We are but simple users here....

  • My Firefox display the converted image

    Why in my firefox the displayed image converted? Need Help! If i move my cursor to the image, This pop ' Shift + R improves the quality of this image. Shift+A improves the quality of all images on this page'. It's so disturbme. I can't see the good image. HELP ME!!

    You may have an ISP that sends images compressed to speed up the transfer and adds a script to each page to make it possible to see images in the original quality.
    See [tiki-view_forum_thread.php?forumId=1&comments_parentId=197606]

  • On Click of Search button, display the results in new tab or window

    When i click on the search button on the top right in sharepoint 2010, i want to open the search page in either new tab or window,
    By default, when we click on search icon it redirects to the OOB search result page. the only thing i need to change is to open the result page in new window or tab. so the users remains on the same page & will see the search results in new page.
    Thanks, Kunal Govani

    Hi,
    You need to change the XSL of the Search Core Results WebPart.
    This article describes how to achieve this:
    http://blog.henryong.com/2007/10/27/how-to-make-moss-2007-search-results-open-in-new-window/. It is written for SharePoint 2007 but it can be used for SharePoint 2010 as well.
    HTH!
    Regards, Sjoukje
    Web: http://sjoukjezaal.com | LinkedIn:
    http://www.linkedin.com/in/sjoukjezaal | Twitter:
    @SjoukjeZaal
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you.

  • Why aren't my CSS and div tag boxes displaying the background images I'm plugging in?

    I'm using the CSS dialog boxes to places images via the background image option into my dreamweaver site. Everything looks fine in dreamweaver but when I view it any of the browsers, two of the images I've place as div tag background images don't work....the overal background image of the site works, but these don't show up ....
    here's my code if it helps to answer
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Main</title>
    <style type="text/css">
    body {
    background-image: url(images/realgrade.jpg);
    background-repeat: repeat-x;
    text-align: center;
    html, body {
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-top: 0px;
    padding-top: 25px;
    #wrapper {
    width: 930px;
    text-align: left;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    position: relative;
    background-image: url(file:///Macintosh%20HD/Users/jimmymoreira/Unnamed%20Site%204/images/possible%20image. jpg);
    background-repeat: no-repeat;
    #header {
    height: 192px;
    width: 237px;
    background-image: url(images/logo_fill.jpg);
    background-repeat: no-repeat;
    position: absolute;
    left: 35px;
    top: -25px;
    #mainNav {
    background-color: #33F;
    height: 200px;
    width: 272px;
    float: left;
    margin-top: 233px;
    #maincontent {
    height: 600px;
    width: 608px;
    float: right;
    margin-bottom: 45px;
    padding-right: 25px;
    background-repeat: no-repeat;
    background-position: center 270px;
    background-image: url(file:///Macintosh%20HD/Users/jimmymoreira/Unnamed%20Site%204/images/opaqueMaincontent .png);
    #sidebar {
    background-color: #F36;
    height: 250px;
    width: 272px;
    clear: left;
    float: left;
    #footer {
    height: 525px;
    width: 870px;
    clear: both;
    padding-top: 45px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
    background-image: url(images/footer_image.jpg);
    background-repeat: no-repeat;
    margin-top: 45px;
    </style>
    </head>
    <body>
    <div id="wrapper">
      <div id="header">
        <p> </p>
        <p> </p>
        <p> </p>
      </div>
      <div id="mainNav">
    <p> </p>
    </div>
      <div id="maincontent"></div>
      <div id="sidebar"></div>
      <div id="footer"></div>
    </div>
    </body>
    </html>
    here's what I'm going for
    here's what I'm getting in the browser
    Please help!

    Your image files are pointing to your hard drive, not your server.  You have this
    background-image: url(file:///Macintosh%20HD/Users/jimmymoreira/Unnamed%20Site%204/imag es/opaqueMaincontent.png);
    and you should have this
    background-image: url(imag es/opaqueMaincontent.png);
    Also, is your images file named imag es?
    Gary

  • After a PRAM reset my MBP 1,1 display is split into 4 parts each displaying the same image. What is causing this and how can I fix it?

    After resetting the PRAM/NVRAM (control, option, P, R) on my Macbook Pro 1,1 (2007) running 10.6.8 The screen is now split into 4 parts, each displaying the same thing. The screen immediately appears this way at the first grey screen, however if I do another NVRAM reset, upon restart after the second startup chime, the screen is normal but once it gets to a certain point around thetime the cog stops spinning, the screen flickers, turns blue and splits into four again.
    Another thing is when I tried using the Apple Hardware Test I couldn't read the instructions as the resolution was too small, but once I restarted and change my display resolution in System Preferences, the resolution was readable in AHT. I assumed the System Settings were loading when the OS had booted and that AHT runs without any of these settings (if that makes sense?)
    I've not used any third party utilites and everything working fine except for some battery issues which are gone now (the reason I tried the PRAM reset)
    Any help would be much appreciated

    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do I display the entire image by default in Photos app instead of filling the entire screen?

    A lot of the images that I have stored on my phone are taken with another camera. Whenever I view them in the photo app they don't show the full image until I pinch them. Is there a setting that shows the entire image by default? Don't want to be pinching every photo and when other people view my images they often don't realise that there is actually more to see.

    Yes, this is terrible. I am not showcasing the otherwise fine screen but my carefully framed photos. How arrogant from Apple to violently zoom to my pics.
    This needs to be addressed ASAP! Everyone please give feedback http://www.apple.com/feedback/

  • Displaying the .png image stored in an byte array

    Hi,
    I have to download an .png image from a server and i have to store it in a byte array and i have to display this byte array in another servlet. I have written the code to get the image from the remote server in a java class. The java class returns the byte array of the image and i have to display that in an servlet.
    If anybody has the code or any refrence to refer please help me..
    Thanks & Regards
    -Sandeep

    I have pasted code for servlet's doGet method which writes image data...
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws
    ServletException, IOException
    HttpSession session = request.getSession(); //taking httpsession
    response.setContentType("image/jpeg");
    ServletOutputStream out = response.getOutputStream(); //taking outputstream of response
    if (rtn.getErrorCode() == 0)
    //this will actually write image file data from where it is being called
    //byte array will contain image data, please load your image into below byte array variable
    byte[] b = new byte[100];
    out.write(b);
    out = null; //making null
    session = null; //making null
    In other servlet, write <img> tag and specify its src attribute to the "name of servlet where u have pasted above code" ..
    Regards,
    Nikhil

  • Search and display the search value or not found!

    i want to input the value and get the result of the value if found or display not found if not found, but the follow coding can not compile, please help me..........
    import java.io.*;
    public class t4
    public static void main (String args[]) throws Exception
         A AB = new A ();
         int j;
    int i;
         int x;
    do
    BufferedReader br =
    new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Please input");
    String sString = br.readLine();
    i = Integer.parseInt(sString);
    AB.Create(i);
    } while (i!= 0);
         System.out.println("");
         BufferedReader br1 =
    new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Please input no.");
    String xString = br1.readLine();
    x = Integer.parseInt(xString);
    if (AB.Search((int)x)
    System.out.println(x);
         else
         System.out.println("Not found");
    class A
    int k =7;
    int g = -1;
         int h = -1;
         int[] abc = new int[k];
         public void Create(int i)
         if ((g+1)==k)
         h=(h+1) % k;
         abc[h]=i;
         else
         g = (g+1) % k;
         abc[g]=i;
    public void Printer()
    for (int i=0;i<k;i++)
    System.out.println(abc);
    public boolean Search(int key)
         int i;
         for (i=0;i<7;i++)
    if ((int)abc[i] == (int)key)
    return true;
    return false;

    What is the error message that you are getting?

  • When opening files in Photoshop CC, it only displays partial image. How do I get it to display the entire image on open?

    I understand that people want to check the quality of the image when they open it, but I hate that I'm looking at the top left of every image when I open it. It's not maximizing the size of the image based on my screen size. I hate having to hit apple-0 every time I open a file. Where's the preference to change this??!

    What you see is not normal on a PC I do not know abouts Mac's.
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

Maybe you are looking for

  • Keep getting texts in Japanese from international friend, please help.

    Okay so I have a friend in Switzerland who sends English texts to me and somehow between him sending the and me receiving them they magically  transform into Japanese characters. Neither on of us have any idea what is going on. I mean his text were c

  • Itunes WONT load the itunes music store!

    i havent had this problem before. its pretty recent that it has occured. whenever i go to click itunes music store the loading bar appears like normal and it just keeps loading. i could let it sit there for hours and nothing would happen... it doesnt

  • LCM(Life cycle management) for BOE

    Hi All, We are implementing BO 4 version in our landscape with BI 7.01. I am very new to BO and very much confused about the transport of Business objects. I come across to know that LCM is a web based tool used for transporting BO objects from one s

  • In Retail, variant sales price shouls be diff from its Generic

    Hi Retail MM expert, we are using generic article in retail scenario. our client has requirement that variant sales price may be diffrent from generic price. for this i am maintaining pricing profile in basic data for generic article '1'. but in the

  • How about the Graphic Performance?

    Hello all! May someone can help me to get that clarified ... I have a MacMini with Thunderbolt connection. Latley I started to use RC Flight simulator which challenges the video card of my MacMini pretty much. How about a Thunderbolt Display? Will TB