Unicode presentation in browser - Urgent

Hi all,
1. My database is UTF8
2. Client is JSP
3. The charset set in JSP is UTF-8.
4. In that case will it prompt for installing font at the client side when presenting languages like japanese, korea, chinese etc.,
TIA
RSrinivasan

Hi Jan Fenske,
You are right,
In case the client browser do not have the required font to display, it would prompt for the installation of font,
My requirement is i donot want it to happen that way. what i mean is it should not prompt for installation of the font at the client side even if the required font is not available,
it should be taken care by the servlet which is directing the output to the jsp.
Hope you got it.
Thanks
RSrinivasan

Similar Messages

  • Applet notinited .. it runs in eclipse, but not in web browser --urgent

    hi,
    firstly i'm sorry for the "urgent" remark in the title, but I actually really need some help to this problem, since I have to pass up this assignment in about 2 more hours.
    on to the question,this is my full code:
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Container;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    import javax.swing.event.DocumentEvent;
    import javax.swing.event.DocumentListener;
    public class reza extends JApplet{
         public static void main(String[] args){
              JFrame myWindow = new JFrame("Sample reza");
              myWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              reza testReza = new reza();
              myWindow.setContentPane(testReza);//add to the window
              myWindow.pack();
              myWindow.setVisible(true);
         double sum;     //sum of values entered by user
         private ImageIcon board;
         private JPanel topPanel,boardPanel;
         private JLabel l1,l2,l3,l4,l5,l6,lTotal,lAndryusha,lBorya,lVolodya,lGiveUp,lGiveUp2,boardLabel,lRules;
         private JTextField a[],aTotal, b[], bTotal, c[], cTotal;
         private JButton clear,checkAnswer,solve;
         private Container container;
         String A1,A2,A3,A4,A5,A6,ATOTAL,B1,B2,B3,B4,B5,B6,BTOTAL,C1,C2,C3,C4,C5,C6,CTOTAL;
         public reza(){
              container = getContentPane();
             container.setLayout(new BorderLayout());
             topPanel = new JPanel(new GridLayout(6,8,5,5));
             boardPanel = new JPanel(new GridLayout(1,2,5,5));
             board = new ImageIcon("board.jpg");
             boardLabel = new JLabel(board);
             topPanel.setBackground(Color.WHITE);
             boardPanel.setBackground(Color.white);
             //utk handle button clear ngan solve
             ButtonHandler handler = new ButtonHandler();
             lGiveUp = new JLabel("           Give up?");
             lGiveUp2 = new JLabel("Press this >>>");
             lRules = new JLabel("Rules: User may only use the number shown in the dart board");
             l1 = new JLabel("   1");
             l2 = new JLabel("   2");
             l3 = new JLabel("   3");
             l4 = new JLabel("   4");
             l5 = new JLabel("   5");
             l6 = new JLabel("   6");
             lTotal = new JLabel("   Total");
             lAndryusha = new JLabel("Andryusha");
             lBorya = new JLabel("Borya");
             lVolodya = new JLabel("Volodya");
             a = new JTextField[7];
             b = new JTextField[7];
             c = new JTextField[7];
             aTotal = new JTextField();
             bTotal = new JTextField();
                cTotal = new JTextField();
                clear = new JButton("CLEAR");
             solve = new JButton("SOLVE");
             checkAnswer = new JButton("ANSWER");
             topPanel.add(new JLabel("       "));
             topPanel.add(l1);
             topPanel.add(l2);
             topPanel.add(l3);
             topPanel.add(l4);
             topPanel.add(l5);
             topPanel.add(l6);
             topPanel.add(lTotal);
             topPanel.add(lAndryusha);
             int i=1;
             for (i=1;i<=6;i++){
                  a[i] = new JTextField();
                  a.getDocument().addDocumentListener(new textFieldListenerA());
              topPanel.add(a[i]);
         topPanel.add(aTotal);
         topPanel.add(lBorya);
         for (i=1;i<=6;i++){
              b[i] = new JTextField();
              b[i].getDocument().addDocumentListener(new textFieldListenerB());
              topPanel.add(b[i]);
         topPanel.add(bTotal);
         topPanel.add(lVolodya);
         for (i=1;i<=6;i++){
              c[i] = new JTextField();
              c[i].getDocument().addDocumentListener(new textFieldListenerC());
              topPanel.add(c[i]);
         topPanel.add(cTotal);
         clear.addActionListener(handler);
         solve.addActionListener(handler);
         checkAnswer.addActionListener(handler);
         topPanel.add(new JLabel(" "));
         topPanel.add(new JLabel(" "));
         topPanel.add(new JLabel(" "));
         topPanel.add(new JLabel(" "));
         topPanel.add(new JLabel(" "));
         topPanel.add(new JLabel(" "));
         topPanel.add(clear);
         topPanel.add(solve);
         topPanel.add(new JLabel(" "));
         topPanel.add(lGiveUp);
         topPanel.add(lGiveUp2);
         topPanel.add(checkAnswer);
         topPanel.add(new JLabel(" "));
         topPanel.add(new JLabel(" "));
         topPanel.add(new JLabel(" "));
         topPanel.add(new JLabel(" "));
         boardPanel.add(boardLabel,BorderLayout.WEST);
         boardPanel.add(lRules,BorderLayout.EAST);
         container.add(boardPanel,BorderLayout.NORTH);
         container.add(topPanel,BorderLayout.CENTER);
         setSize(750,700);
         setVisible(true);
         class textFieldListenerA implements DocumentListener{
              public void insertUpdate(DocumentEvent e){
                   int i,count=0;
                   for (i=1;i<=6;i++){
                        try{                    
                             count = count + Integer.parseInt(a[i].getText());
                        }catch(Exception e1){
                   aTotal.setText("" + count);
              public void changedUpdate(DocumentEvent e){
              public void removeUpdate(DocumentEvent e){               
         class textFieldListenerB implements DocumentListener{
              public void insertUpdate(DocumentEvent e){
                   int i,count=0;
                   for (i=1;i<=6;i++){
                        try{                    
                             count = count + Integer.parseInt(b[i].getText());
                        }catch(Exception e1){                         
                   bTotal.setText("" + count);
              public void changedUpdate(DocumentEvent e){
              public void removeUpdate(DocumentEvent e){               
         class textFieldListenerC implements DocumentListener{
              public void insertUpdate(DocumentEvent e){
                   int i,count=0;
                   for (i=1;i<=6;i++){
                        try{                    
                             count = count + Integer.parseInt(c[i].getText());
                        }catch(Exception e1){
                   cTotal.setText("" + count);
              public void changedUpdate(DocumentEvent e){
                   int i,count=0;
                   for     (i=1;i<=6;i++){
                        try{                    
                             count = count + Integer.parseInt(c[i].getText());
                        }catch(Exception e1){
                   cTotal.setText("" + count);
              public void removeUpdate(DocumentEvent e){
                   int i,count=0;
                   for (i=1;i<=6;i++){
                        try{                    
                             count = count + Integer.parseInt(c[i].getText());
                        }catch(Exception e1){
                   cTotal.setText("" + count);
         private class ButtonHandler implements ActionListener{
              //handle button event
              public void actionPerformed(ActionEvent event){
                   //clear all the text fields
                   if (event.getActionCommand().equals("CLEAR")){
                        int i=0;
                        for (i=1;i<=6;i++){
                             a[i].setText("");
                        aTotal.setText("");
                        for (i=1;i<=6;i++){
                             b[i].setText("");
                        bTotal.setText("");
                        for (i=1;i<=6;i++){
                             c[i].setText("");
                        cTotal.setText("");                    
                   else if (event.getActionCommand().equals("SOLVE")){
                        int aCount[],bCount[],cCount[],i,aTotal=0,bTotal=0,cTotal=0;
                        aCount = new int[7];
                        bCount = new int[7];
                        cCount = new int[7];
                        //make sure all fields have been filled in
                        if (a[1].getText().equals("") || a[2].getText().equals("") || a[3].getText().equals("")|| a[4].getText().equals("")|| a[5].getText().equals("")|| a[6].getText().equals("")|| b[1].getText().equals("")|| b[2].getText().equals("")|| b[3].getText().equals("")|| b[4].getText().equals("")|| b[5].getText().equals("")|| b[6].getText().equals("")|| c[1].getText().equals("")|| c[2].getText().equals("")|| c[3].getText().equals("")|| c[4].getText().equals("")|| c[5].getText().equals("")|| c[6].getText().equals("")){
                             JOptionPane.showMessageDialog(null,"Please fill in ALL the scores!!");
                        //if yes, then only proceed
                        else{
                             //for andryusha
                             for (i=1;i<=6;i++){
                                  try{
                                       aCount[i] = Integer.parseInt(a[i].getText());
                                       aTotal = aTotal + aCount[i];
                                  }catch(Exception e1){
                             //check andryusha's 1st and 2nd shots. They must be equal to 22 when added
                             if (aCount[1] + aCount[2] != 22){
                                  JOptionPane.showMessageDialog(null,"Andryusha's 1st + 2nd shots must be equal to 22!!");
                             if (aTotal==71){
                                  JOptionPane.showMessageDialog(null,"Andryusha's scores is right! Well done!!");
                             }else if (aTotal !=71){
                                  JOptionPane.showMessageDialog(null,"You got it wrong for Andryusha's scores. Please try again.");
                             //for Borya
                             for (i=1;i<=6;i++){
                                  try{
                                       bCount[i] = Integer.parseInt(b[i].getText());
                                       bTotal = bTotal + bCount[i];
                                  }catch(Exception e1){
                             if (bTotal==71){
                                  JOptionPane.showMessageDialog(null,"Borya's scores is right! Well done!!");
                             }else if (bTotal !=71){
                                  JOptionPane.showMessageDialog(null,"You got it wrong for Borya's scores. Please try again.");
                             //for Volodya
                             for (i=1;i<=6;i++){
                                  try{
                                       cCount[i] = Integer.parseInt(c[i].getText());
                                       cTotal = cTotal + cCount[i];
                                  }catch(Exception e1){
                             if (cCount[1] != 3){
                                  JOptionPane.showMessageDialog(null,"Volodya's first score is wrong!!");
                             if (cTotal==71){
                                  if (cCount[2] == 50 || cCount[3] == 50 || cCount[4] == 50 || cCount[5]==50 || cCount[6]==50){
                                       JOptionPane.showMessageDialog(null,"Volodya's score is right! Well done!!");
                                  }else if (cCount[2] != 50 && cCount[3] != 50 && cCount[4] != 50 && cCount[5]!=50 && cCount[6]!=50){
                                       JOptionPane.showMessageDialog(null,"Volodya hits the bull's eye once!!");
                             }else if (cTotal!=71){
                                  JOptionPane.showMessageDialog(null,"Volodya's score is wrong!!");
                   }else if(event.getActionCommand().equals("ANSWER")){
                        a[1].setText("20");
                        a[2].setText("2");
                        a[3].setText("25");
                        a[4].setText("3");
                        a[5].setText("20");
                        a[6].setText("1");
                        aTotal.setText("71");
                        b[1].setText("25");
                        b[2].setText("20");
                        b[3].setText("20");
                        b[4].setText("3");
                        b[5].setText("2");
                        b[6].setText("1");
                        bTotal.setText("71");
                        c[1].setText("3");
                        c[2].setText("50");
                        c[3].setText("10");
                        c[4].setText("5");
                        c[5].setText("2");
                        c[6].setText("1");
                        cTotal.setText("71");
         }//end private class ButtonHandler
    I run the program using Eclipse; run as> Java applet
    and in runs perfectly well. I then tried running it using internet explorer and firefox, but only a gray box appeared and the browser says "applet notinited" and "Loading Java Applet Failed.."
    what did i do wrong? any help is really appreciated.. thanks

    thank God i already found the cause of the problem..
    it's because the application has an ImageIcon which links to a local jpeg file, so perhaps security restriction on the browser doesn't allow my applet to access local file, that's why it fails to load.
    either using signed applet (not tested) or removing the picture solved my problem.
    thanks anyway :)

  • Upgrade to ECC6 & Unicode: IE Web Browser Issues?

    Has anyone experienced web browser issues at display time? We are on IE7. We are now using the internal ITS. Our carriage returns are totally being ignored by the browser. Thus, we have a dropdown box to pick one of the businesses multiple partners, and because the HTML is not formatted correctly in the browser, the dropdown doesn't work, and we get an "array not created" error messsage in IE7.
    I know that there are options in the IE 7 browser under the menu item "view". I've tried changing these to some different Unicode settings, but without luck.
    Has anybody some experience with this issue?
        Thank-You

    Hi Tim,
        this might be problem with Support package, by default Sap neweaver 2004s application comes with SP6, u can upgrade to higher SP to solve these type of problems.patch your system up to SP12 or SP13 and try.
    Thanks & Regards,
    Manikandan Dhanakoti
    Edited by: Dhanakoti.M on Oct 23, 2009 7:45 PM

  • Problem in retreiving from database and viewing it in browser--urgent

    hai,
    i have develped an application using swings where the mails received from client and reply posted will be pasted in JEditorPane. all the mails,query and reply will be stored in database.
    then iam retrieving the mails from database and displaying it in browser using table data.(Just like forum). Iam using encodehtmltag function to omit the html tags that r present in the mail data.
    when i display it in browser it extends a page horizontically. how to avoid this. how to word wrap. one of my friend asked me to set number of character to be displayed per line. i did that. but problem is i could see the word break . i have set 90 characters to be displayed per line. i dont want to break the word. for eg., if the end string of a line is regarding it is displayed like this---reg and then arding in next line. how to avoid this.
    please help me iam breaking my head with this for past few days.

    If the field is a Date in your database, you can use the ResultSet.getDate() method, which will return a java.sql.Date (which extends java.util.Date).
    You can then use SimpleDateFormat to format it the way you like.
    See the API doc for more details.

  • Unicode issue (# in FILE) URGENT

    Hi,
    I am uploading a file with GUI_UPLOAD and downloading this file again on the SAP Server with OPEN DATASET IN BINARY MODE / TRANSFER / CLOSEDATA SET on a UNICODE system.
    When I look in AL11 to the downloaded file I see a lot of # (#<#?#x#m#l# #v#e#r#s#i#o#n#=#"#1#.#0#"#?#>#<#L#I#S#T# ...) (In HEX it shows 00)
    I want to use this file for test purposes in my ABAP-mapping. When I read this file into this mapping, the file is stored in a xstring variable. When I convert this to a string the # still occur.
    How can I get rid of these signs??
    Ron

    Hi Ron,
    take a look at this response and MODE ENCODING:
    Re: File Transfer non-unicode -> unicode via client
    also you may take a look at this:
    http://help.sap.com/saphelp_nw04/helpdata/en/79/c554dcb3dc11d5993800508b6b8b11/content.htm
    Regards,
    michal

  • Audio Problems in Adobe Presenter: Help Needed Urgently!!

    I am using trial versions of Adobe Presenter 7 and Adobe Connect 8.
    I created a presentation in in Powerpoint 2002 and published through Adobe Presenter to Adobe Connect Pro. This presentation has voice over recorded through the Adobe Presenter "record audio" option.
    In Adobe Connect Pro, I created a meeting and shared the above mentioned presentation through the "Share Document" option in Connect Pro.
    Now, when I play the presentation in this Adobe Connect Meeting, I am not getting any audio that was recorded in Adobe Presenter. Whereas if I play the published presentation directly it plays the recorded audio.
    Can anyone help me on this?
    1. Are there any settings to be done in Powerpoint or Adobe Presenter or Connect pro?
    2. Is it the problem of Trial Account or something like that?
    Please let me know the solution. Need to work on this ASAP!!!
    Thanks in Advance,
    Yogini

    This is a weird one. If you created a prezo with audio and published it to AC (Adobe Connect) and everything worked fine on your desktop then it should work fine in AC i.e. there are no other settings required on AC's side, it should just play.
    As I am typing this I thought of similar audio problems that we have experienced in the past. A big one would be where another user created a PPT on their laptops and handed it to us. When testing the audio did not work. Reason being is that not all the files were coppied over BUT I must accept that this is not your problem as it definately worked on your PC before you published it to AC.
    Wait there is one setting in the publish settings. In the output options tick "Upload source presentation with assests", then tick audio.
    I cannot think of anything else. There is a man called Heyward Drummond on the Adobe Connect General forum, who is a real master at answering queries like this. Why not post your query there and see if he comes up with an answer?

  • Problem  in executing EXE from browser-URGENT

    Hi all,
    I am facing a problem in executing "c exe" file from my web based application, iam using IAS
    on Solaris. my program is able to catch the path but its not executing (this is wirking fine in windows) i am giving a sample code here
    Runtime rt=Runtime.getRuntime();
    Process pro=rt.exec("/datadisk1/java/runsol.exe");
    pro.waitFor();
    runsol.exe will generate s text file when executed, when i run this in a independent java program then it is executing, on browser it is not executing and output text file is not creating.
    Note: i am working on Solaris / Oracle AS 9i
    Thanks
    Bye.

    Security issue. Calling .exe from applet not possible by default.

  • Unicode support in j2me urgent

    does kvm supports unicode?
    how can we display arabic characters by using j2me?
    thanks
    iffat,beenish

    the MIDP is much more restricted in terms of localization than j2se. however, the CLCD can handle 16-bit unicode characters using InputStreamReader and OutputStreamWriter.
    if you look at a constructors:
    InputStreamReader (InputStream ins, String enc)
    the class converts the input bytestream into a unicode character stream based on the encoding given by the value enc.
    more info:
    http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html

  • Audit Browser(Urgent)

    Hello All,
    How can configure Audit browser in OWB 11G?
    I configured Repository Browser.
    Reg,
    S.Gyazuddin.

    The Repository Browser in OWB 11g includes the Audit Browser, so the Audit Browser shouldn't need any separate configuration. What problem are you experiencing?
    Nigel.

  • Unicode and databases support urgent help

    Hello!
    i want to know that how we can store the unicode characters
    in a database.
    is this necessary for a database to support unicode or is there any
    other way to do this.
    Qaiser Mehmood
    [email protected]

    From example of Oracle I belive, that your RDBMS has to support Unicode. Another option is to store your Unicode as binary object. But this has to be hard :(

  • SWF in IE browser - Urgent Help

    I linked a .swf to open on click, but the swf is gettting
    opened in Internet Explorer browser. The swf should open in flash
    player.

    cybersha,
    Your Flash player is most likely embedded in or directly
    associated with Internet Explorer. Your file is still running in
    the Flash player, it is just doing so through Internet Explorer.
    Darin

  • How to handle event when the user closing the browser (Urgent Please)

    Hi,
    How to handle the event when user closes the browser....
    i want to display some alter message when user trying to close the browser...
    Please can any one help me how i have to do this...........
    Thanks.

    Finally got this working. You cannot use the stop() or destroy methods. By the time they are called all database connections are gone and you will get a null pointer exception.
    You will have to use the onBeforeUnload method in the html file that calls the applet and use JavaScript to call the save method in java which saves the document:
    <SCRIPT LANGUAGE="JScript" TYPE="text/javascript">
    function Save()
    //i call the applets doSave() method from here in which i save all
    //changes to the database
    top.Tree.document.TestApplet.doSave();
    //this will invoke the default IE message for closing the window
    //when user clicks on the x in the browser
    message = "Your document has been saved."
    return message;
    window.onbeforeunload=Save;
    </SCRIPT>
    //the applets doSave()
    public void doSave()
    //this frame provides user with the message that document is being
    //saved
    final JFrame frame = new JFrame("Saving");
    JPanel contentPane = new JPanel();
    JLabel label = new JLabel(" Please wait, saving document...");
    frame.getContentPane().add(label,BorderLayout.CENTER);
    frame.setSize(250, 100);
    frame.setLocation(300, 400);
    frame.setResizable(false);
    frame.setVisible(true);
    frame.addWindowListener(new WindowAdapter()
    //the frame is just for user's information, so prevent user from
    //closing it or iconifying it.
    public void windowClosing(WindowEvent e)
    frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
    public void windowIconified(WindowEvent e)
    frame.setState(frame.NORMAL);
    //call my saveDocument() method that saves everything to the database.
    editorModule.saveDocument();
    //System.out.println("finished calling saving document");
    //once the saving is done the frame with the message disappears
    frame.setVisible(false);
    //System.out.println("setting frame to false");
    //I also had an exit button in my applet, that would perform the same task, however now with the above onBeforeUnload method, the exit message would appear twice, so had to modify my exit button action performed, so that if the exitbutton was clicked the onbeforeunload method would get passed a null value and not do anything.
    private void exitButton_actionPerformed()
    if (DEBUG) System.out.println("Calling exit");
    doSave();
    window.eval("this.onbeforeunload=null;");
    window.eval("top.close();");
    //continue from here if user cancels the closing of the window
    window.eval("this.onbeforeunload=doSave;");
    window.eval("top.focus()");
    window.eval("document.TestApplet.requestFocus()");
    homePanel.requestFocus();
    }

  • Unable to load German characters in NON Unicode Essbase Cube

    Hi Guys,
    This is what we want to do:
    Build a Cube for Germany on our Essbase server in US. Our users will access cube using Excel Add-In from Germany. But since the Essbase server is in US, system environment variable ESSLANG is set to English_UnitedStates.Latin1@Binary.
    The version of Essbase we are using is 7.1.3.
    What we tried & failed:
    To load German characters from our dimension build Text file, we added a header: //ESS_LOCALE German_Germany.Latin1@Default
    at the beginning of the dim build Text file hoping the rule file will understand that the file contains German characters & load it correctly. Then using EAS I load the dimensions using its corresponding rule file.
    Essbase loads the dimensions correctly, with NO Error, but when it encounters German characters it Replaces it with a Question Mark "?"
    Some of the German characters are:ß Ü ü Ö ö Ä ä Å Ä Ö
    Lastly, the reason we do not want to build Unicode cube is because Excel Add-In will not work with Unicode cubes.
    Its urgent. Please help.
    Thanks.

    The simple and easy way to check
    non-unicode character sets are not supported on unicode system any longer. Am I right?
    Transaction code i18N
    Select
    trouble shooting --> printing  test --> smartforms --> multiple scripts, select your output device and see print preview. it will display all supported characters.
    I guess, above information will be useful for closing the thread.
    Regards,
    SaiRam

  • Opening of an ADF applcn in a new browser window from another ADF applcn.

    The requirement is in the form of a usecase below, can you please let us know how could we resolve this.
    Let us consider we have two ADF applications A and B. Once ADF application A is rendered, in one of the pages of Application A there is a link which takes us to Application B. We want to open the ADF application B in a new browser window.
    There is one more restriction here, the first time the link in Application A is clicked it should bring up the Appliciation B in a new window say W2 , later on if the person clicks multiple links from Application A it should refresh the exisiting open window W2 with the Application B. i.e we do not want multiple windows to come up for a single link.
    I do see the commandlink has a usewindow=true ,this is the functionality we want. basically the first time the link is clicked a new window should pop up, later on every click of the command link we want to refresh the same open window which had come up the first time the command link was clicked.
    Edited by: user504058 on Nov 9, 2010 6:05 AM

    I did try using the Golink with targetFrame with all the values "_blank", "_parent", "_self" , "_top". with targetFrame value set as _blank it brings up multiple windows.
    Let me be more clearer, I do have application A in browser window say W1 and when i click a link from Application A present in browser window W1 the Application B should open up in new browser Window W2. And further on simaltaneous clicks on the link in Application1 should only refresh the Window2 with Application B.
    i.e, at any given time i want only two windows to be present i.e, W1 and W2.

  • Showing various images on browser using JSP and Servlet

    Hello Guys!
    I am starting to develop in Java and already I am facing a big problem.
    If somebody will have some tip or suggestion, will be very well comings!
    The application must present in browser images originnally of format TIF. As it is not a native format of the I.E. , I converted the image for JPG (without saving it on disk) and send it to the browser a encoded image (encode) using JAI library in one servlet had access by a JSP. Then, the structure of my application is thus:
    1) an archive JSP draws the initial screen in browser and presents one input text.
    2) later that the user places the parameter, I make an access to the database and read a quantity of images to be presented.
    3) From there in the proper JSP, I use de tag img src to send image to the browser in agreement archive the amount of images.
    It follows the code of the JSP:
    <% 
                    int intI=0;
                    int intCont=0;
                    if(blnImagem == true){
                        out.println("<br>");
                        out.println("<table border=0 STYLE=border-collapse:collapse>");
                        out.println("<tr>");
                        for(intI=0;intI < Processo.intQtdImagens;intI++){
                           Imagem.strImgTif = Imagem.IndicarImagem(Processo.strNmPath,Processo.strSubPath,Processo.intNuImagem,intI);                                                                    
                           out.println("<th>");
                           out.println("<table border=1 STYLE=border-collapse:collapse rules='cols'>");
                           out.println("<tr>");
                           out.println("<th>");
                           %>
                             <img src="ShowImg" WIDTH=100>
                           <%
                           out.println("</th>");
                           out.println("</tr>");
                           out.println("</table>");
    %>and code on the ShowImg servlet:
            response.setContentType("image/jpeg");       
            ServletOutputStream sos = response.getOutputStream();
            RenderedOp src = JAI.create("fileload", Imagem.strImgTif);           
            ImageEncoder encoder = ImageCodec.createImageEncoder("JPEG",sos,null);       
            encoder.encode(src); 
            sos.close();The problem is if I have 10 images to present, it WILL BE it is executed 10 times and it passes 10 names of different archives, but in the page only the last image is presented 10 times. It is as if it processed the TAG to the end of everything in way that the value of the static variable Imagem.strImgTif was chore only with the last value and the same loaded image 10 times. How I make to solve this? Somebody has some idea?
    THANK YOU !
    Emidio

    If I understand correctly what your problem is:
    Do this in the jsp:
    out.println("<img src=\"ShowImg?image=" + intI + "\" WIDTH=100>");
    In the image servlet, get the "image" parameter and parse it as an int. Move the Imagem.IndicarImagem() call to the image servlet.

Maybe you are looking for

  • Issue in InfoCube Query

    Hai Friends, In FIAP cube the Doc no 1001 is the Open item, after then it was changed as the Clear item. Now the issue is both in info cube. I want to display the clear item only for the specified doc.no in my query..., Please advise me..,

  • Not having ALL the sub links appearing on top of page? Please help...

    Is there any way to set up a "main" page for the photo gallery on iWeb, and have that particular page link to various sub pages, without having all the sub galleries appear in the link section at the top of the page? To be more clear, I am a graphic

  • Screen Painter and tables

    I have created a Table Control in a Screen Painter and I need help to fill it. I assign to the Table Control a field of an internal table but when I try to activate it i receive the followin error: The field "XXXX-XXXX" is not assigned to a LOOP. "LO

  • What are the authorities listed in the certificate manager and where did they come from?

    I am being blocked from some websites and cannnot figure out how. I am not a student nor am I trying to access sites from work. This is occurring at my home. While trying to fix things I stumbled upon the Authorities list in the Certificate Manager.

  • Organise Music in itunes

    I have just bought a new laptop and transferred all my music from the old computer by copying the "My music" folder and then pasting it in the same folder in the new laptop. I was using itunes in my old computer but the music was very unorganised and