Conversion tool from JSP to SWING

Hi,
I have to convert all my JSP pages into SWING. Is there any tool which can convert JSP pages into SWING?
Thanks,
Prakash

You're passing the string as a number in the onclick call to ChangeAbu.
Add quotes around the <%=PccrNumber%> to make it a string:
So change
> " onclick="ChangeAbu(<%=PccrNumber%>)"></td>
to
" onclick="ChangeAbu('<%=PccrNumber%>')"></td>
and see if that helps

Similar Messages

  • Any Automatic conversion from JSP to WebDynPro

    Is there is any Automatic approach to have conversion from JSP to WebDynPro

    +1
    Even for JSF (Java Server Faces) application this would be a manual process.
    Even both JSF and WD have a lot of similar concepts there are numerous differences in approaches used here and there, that cannot be automated. Or at least you'll spend more time for the tool then for the manual job.
    VS

  • Upgrade from ICM 6 to 7 (TR) -- Domain conversion tool / UMT

    Hi, we are currently upgrading from 6 to 7.0 and subsequently to 7.5 (TR, new hardware, new domain, new instance).  So far we've staged our W2k3 domain and all the other soon to be ICM servers.
    I'm currently trying to migrate the domain users and it tells me that I need to use the Domain Conversion Tool to go migrate the domain users from 6 to 7. (Staging guide chpter 4)
    I can't find any documentation on the Domain Conversion Tool, when I run the executable I can see the different triggers (below) but that's it.
    I've done an export and gotten a file but what next?
    Do I do a convert now?
    is the convert going to change my production database?
    I'm also reading that the Domain Conversion Tool was replaced by the UMT (for 7.0 to 7.+).
    Or should I now use the UMT and point it to my export file?
    Im afraid to run the convert and and messing up my Rogger sideA database?
    Has anybody use this tool?
    any tips and or documentation is appreciated.  Thanks
    D:\ciscoutils\domainCnvTool>domcvt
    The syntax of this command is:
    DomCvt.exe /DB:dbname /F:filename /M:mode [/OD:old domain name]
              [/ND:new domain name][/P:password]
       /DB:dbname           Specifies the database name to operate on (e.g. cust1_sideA)
       /F:filename          Specifies the full path of the file to import or export to
       /M:mode              Indicates export mode or convert mode
                             E  Export mode
                             C  Convert mode
    The following switches are only needed in Convert Mode:
       /OD:old domain name  Specifies the old domain name to convert from in NetBIOS form (e.g. MyDomain)
       /ND:new domain name  Specifies the new domain name to convert to in NetBIOS form (e.g. MyDomain) or DNS form (e.g. MyDomain.mycompany.com)
       /P:password          Specifies the default password to be set for all the users in the new domain
    Use quotation marks when there are spaces in the file name or password

    Hi,
    From the 7.x(y) Staging Guide: 
    Common Steps Required before Migrating any ICM ComponentOn the Domain Controllers:
    Confirm that Domain Controllers have been upgraded from NT Domain to Windows 2000Active DirectoryOn the CallRouter Server:
     \RouterA\Router\CurrentVersion\Configuration\Global\DBMaintenance.
    Note:
    If moving a CICM with SideA and SideB disable the Configuration changes on bothsides.
    On the Logger server: 
    Copy the Domain Conversion Tool (DomCvt.exe) from the ICM 5.0(0) or ICM 6.0(0) Third-PartyTools CD as applicable (Domain Conversion Utility folder) onto the Logger server.
    Export the ICM user list using the DomCvt tool using the following command:
    domcvt /DB:<instancename>_sideA /F:c:\DomConvert\userlist.txt /M:E.
    And then lower down in the guide:
    On the Logger server:
    Step 18
    Run the Domain Conversion Tool to convert the ICM users exported earlier, using the followingcommand:
    domcvt /DB: <instance_name>_sideA /F:c:\DomConvert\userlist.txt /M:C /OD:<old_domain_netbios_name> /ND: <new_domain_netbios_name>Note: You can use the /p option to create a global password. If you do not use the /p option,the password is reset to null.
    I'm looking to run this myself shortly. The only caveat with this info is that its extracted from the section related to ICM5 and migration from multiple to single forest ... so possibly not the correct info. However, there's not much documentation on this as you've seen!
    Jed

  • How to send a data from JSP to a lot of Swing clients?

    Hello,
    Can you recommend me how to do this?
    My idea is to run inside the APP server a Socket server, which i want to be started on APP server startup.
    Should i use MBean for that or there is any better way?
    Thank you for any hints and Kind regards,
    Chavdar

    I want adminitrator of a website to send data.
    Through submiting thoriugh JSP, servlet or whatever
    and sending it to Swing clients.
    Uh, no.
    So all the clients should listen for a new
    information from the server and updates accordingly.
    Uh, no.
    I.e i want to make callback from server to Swing
    clients. not just from Swing clients to server.
    I prefer to use only JDK1.6 api not J2ee api for the
    Swing clients.Uh, no.
    HTTP is stateless. By definition the server doesn't know who's there.
    There are ways around that, but they're ugly hacks (like opening ports from servlets, NOT recommended).
    Better have the clients poll the server at regular intervals.

  • Report Conversion Tool - problem with logging in table OBJ_G_MIGRATION

    Hello Community-Members,
    since several days I am searching different BO-Communities for a solution, but I didn't find any threats about my problem.
    I am new to BO XI R3.1 and I want to convert deski-reports with the report conversion tool.
    I tried it directly on the server-machine and all is ok (report is converted inclusive the logging in the audit-table OBJ_G_MIGRATION).
    When I try it on my client-machine, the conversion is made successfully, but there is no result in the audit-table.
    On the client-machine, I use the same connection like on the server machine and on both machines, I am logged on (in the report conversion tool) with the "Administrator"-user.
    Has anyone an idea? Could it be a problem of user-rights in the Oracle-DB?
    kind regards
    Guenny

    Hello Denis,
    thank you for your reply.
    From my client machine I can successfully test the connection to the Audit-DB. With non BO-Tools like "SQL Tools1.4.1" I can also connect to that DB.
    After your reply I have tested once again and I have found something else strange.
    If I convert a deski-report, and the conversion-status is "not converted", the Audit-DB is written (for example: error-text = "document cannot be read" / workaround = "remove protection password if set").
    But when I convert the same report together with an other report, which will result in "partially converted", nothing is written to the Audit-DB (same effect as when I convert only reports with status "partially convertet").
    regards
    Guenny

  • Reading RTF file content from JSP which stored in database as image format

    <%@page import="java.sql.*" %>
    <%@page import="java.net.*" %>
    <%@page import="java.io.*" %>
    <%@page import="java.*" %>
    <%@page import="javax.swing.*" %>
    <%@page import="javax.swing.text.*" %>
    <%@page import="javax.swing.text.rtf.*" %>
    <%
         Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
    Connection con=DriverManager.getConnection("jdbc:sqlserver://local:1433;databaseName=database;user=sa");
         Statement st=con.createStatement();
         ResultSet rs=st.executeQuery("select Document from docrev where UniqeId ='199207' ");//("select data from rtfdata");227317
         rs.next();
         byte bt[]=rs.getBytes(1);
         InputStream fi = new ByteArrayInputStream( bt );
         RTFEditorKit rtf = new RTFEditorKit();
         JEditorPane editor = new JEditorPane();
         editor.setEditorKit( rtf );
         rtf.read( fi, editor.getDocument(), 0 );
         Document d=editor.getDocument();
         String str=d.getText(0,d.getLength());
         /*OutputStream fo=new FileOutputStream("temp3.rtf");
         fo.write(str.getBytes());*/
    %>
    <html>
    <body>
    <p><textarea name=myarea style="background:#FFCC99" cols=100 rows=50><%=str%></textarea>
    </body>
    </html>
    Edited by: Santhu538 on Oct 23, 2007 10:16 PM
    Edited by: Santhu538 on Oct 23, 2007 10:25 PM
    Edited by: Santhu538 on Oct 23, 2007 10:26 PM

    Please use code tags while posting code. See the code button above the text area?
    It's a good practise not to mix jdbc code in your jsp (mvc and all that you see)
    Finally you'll have to quickly decide on your front end - jsp or swing. It looks like the former, but then with the code you have posted, the server is apt to pop up some windows prompting the user who has logged on (to the server) to choose the files for the client :)
    ram.

  • Passing value from JSP to JApplet

    Hello,
    I am stuck up with a problem, can anyone please tell me how do i pass a value from a JSP page
    to a JApplet,
    and the parameter passed through JSP should be displaed in the JTextArea.
    It would be kindful if any of you could help.
    Thanks
    Sanam

    hello,
    thanks for reply.
    I know how to pass parameters from html,
    I want to pass values from jsp page,
    and i dono how to do it, may be we cann pass values through url connection but i dono how.
    if anone knows plz help me in solving this.
    i hvae posted my applet code.
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.JToolBar;
    import javax.swing.JButton;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    import javax.swing.JScrollPane;
    import javax.swing.JPanel;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    <applet code = "DocApplet" width = 500 height =5000>
    </applet>
    public class DocApplet extends JApplet
         private JPanel jp;
         private Container cp;
         private JTextArea jt;
         private JToolBar tb;     
         private JScrollPane sp;
         private String annotation;
         private String url;
         private Connection con;
         private Statement stmt;
         public void init()
              jp = new JPanel();
              cp = getContentPane();
              jt = new JTextArea();
              tb = new JToolBar();
              sp = new JScrollPane(jt);
              repaint();
         public void start()
              jp.setLayout(new BorderLayout());
              jp.add(tb, BorderLayout.NORTH);
              jp.add(sp, BorderLayout.CENTER);
              jt.setBackground(Color.BLACK);
              jt.setForeground(Color.WHITE);
              setContentPane(jp);
              addButtons(tb);
              repaint();
         public void run()
              repaint();
         public void paint()
         private void addButtons(JToolBar tb)
              JButton button = null;
              button = new JButton("Save");
              button.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
              tb.add(button);
    }

  • Exporting from JSP into PowerPoint or an Image file

    I am having a JSP file, the data from which need to be exported into a PowerPoint presentation. Can you suggest me some code examples of exporting the data from JSP to PowerPoint or rather to an image (.gif or .jpg), this image file can then be inserted into the PowerPoint.
    I tried exporting to Excel and from there Copy+Paste but this leaves a chance of modifying the data, the other option I used was exporting the data into a .pdf file, but we are currently having Acrobat Reader 4.0 in which there is no Graphic selection tool unless I use the full version.
    My first preference is to export the data into PowerPoint or if that does not work then into an image file.
    Would be helpful if you have some code examples to look at or if you can guide to some useful sites that can help me in achieving this.
    Thanks in advance...

    For exporting the data into .ppt files try the following.
    Set the content type for the jsp as "application/ms-powerpoint"
    and whatever HTML u have would be sent to the ppt.

  • How to connect oracle database using DSN  from jsp

    hello, can any know how can i connect to[b] oracle database using DSN name from jsp .I am using oracle 9i and Tomcat 5
    Using odbc tool i have created the dsn name but ithe connection does not make .here is the code that i have tried
    Connection connection = null;
         try
              Class.forName("oracle.jdbc.driver.OracleDriver");
         catch(ClassNotFoundException Exception)
              out.println("error occoured during loading the driver ");
         try
              out.println("getting the connection");
              connection = DriverManager.getConnection("jdbc:oracle:deepak","scott","tiger");
              out.println("connection getted");
         catch(Exception exception1)
              out.println("error occoured ");
    pls help as soon as possible
    Sorry, for my english

    you are actually using JDBC so the DSN entry does not matter.
    2 things.
    Make sure that your oracle database driver is in your classpath on your tomcat server.
    I.E. copy the file classes12.jar into your common/lib folder of tomcat, or into your WEB-INF/lib folder of your application. and RESTART your server. classes12.jar can be found on the internet or more easily somewhere within your oracle installation. just search for it.
    Make sure your jdbc url is correct. I believe it goes like this.... fill in the blacks
    connection conn = DriverManager.getConnection("jdbc:oracle:thin:scott/tiger@MyOracleHost:1521:MyDB");Note how the username are passed in the first string there fore there is no need to pass additional parameters. This method may be depriciated, but if so, just take out the user and pass from the string and continue to pass them as 3 seperate strings.
    connection conn = DriverManager.getConnection("jdbc:oracle:thin:MyOracleHost:1521:MyDB","scott","tiger");That should get your connection. if not, post your errors.

  • Missing classes from the javax.swing package?

    Can anyone throw any light on what appears to be a missing class from the javax.swing package?
    When CelsiusConverter.java from The Swing Tutorial (code fragment shown below) is compiled the JFrame class can't be found.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class CelsiusConverter implements ActionListener {
        JFrame converterFrame;Despite the package javax.swing being imported, the compiler does not seem to be be able to find the JFrame class.
    CelsiusConverter.java:14: Class JFrame not found in type declaration.
        JFrame converterFrame;To attempt to solve this issue all the files in jdk1.5.0_02\lib were added to CLASSPATH.
    CLASSPATH was set to C:\Program Files\Java\jdk1.5.0_02\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_02\lib\htmlconverter.jar;C:\Program Files\Java\jdk1.5.0_02\lib\jconsole.jar;C:\Program Files\Java\jdk1.5.0_02\lib\tools.jar;C:\Program Files\Java\jdk1.5.0_02\lib;C:\Program Files\Java\jdk1.5.0_02\lib\ir.idl;C:\Program Files\Java\jdk1.5.0_02\lib\jawt.lib;C:\Program Files\Java\jdk1.5.0_02\lib\jvm.lib;C:\Program Files\Java\jdk1.5.0_02\lib\orb.idl;C:\Program Files\Java\jdk1.5.0_02\demo\jfc\SwingApplet\SwingApplet.jar;.;c:\CoreJavaBook

    This is extremely strange... If you're sure it's not a problem in your code or with your classpath, the only other thing I can think to suggest is re-downloading / installing java

  • Which conversion tools used in Sales, Shipment, Invoce, and other.....

    Guys,
    I know in general that best conversion tool for Customer Master is LSMW. What about the rest of the data to be converted to SAP such as Material Master, Sales, Shipment, Invoice and other historical data? Which tools do we use for these? Do we use LSMW again?
    Thank you.

    HI,
    Yes LSMW can be used and you can also use CATTS to migrate data from Legacy system to SAP.
    Regards
    Milan
    <b>Please reward with Points</b>

  • Report conversion tool--Can we modify the query

    Hi all,
    I have some freehand SQL reports converted into WebI reports. I understand that report conversion tool, creates a new universe for each of the freehand SQL report. But if I try to edit the query, like add a filter condition, an error pops out.
    Is it possible to edit the query if we convert freehand sql reports into webi reports?
    Regards
    Ash.

    Hi,
    Yes it is possible to edit the query for the converted free hand sql query.
    If you see any problem while editing the SQL of the converted report, do a refresh once and try.
    Adding query filter also works fine.
    Issue from your end could also be due to security settings.i advise to revisit the security once and make sure all appropriate rights are available for the user.
    Thanks,
    Sri

  • Create reports from jsp

    hello!
    I want to create reports from JSP; It works fine, I program every report/JSP.
    The problem is that the customers wants to create customer templates, templates which should be able to retrieve custom data from database, acording to user wish. Is there any possibility to create customer report templates with JSP, created complitely in browser?
    Is there already any tool like this?
    What other reporting JSP tools already exist?
    THANK YOU!

    please, nobody has not any idea?

  • Hi I can't work out how to go directly to my PDF conversion pack from my account

    Hi
    I can't work out how to go directly to my PDF conversion pack from my account

    If you mean the PDF Pack:
    https://cloud.acrobat.com/convertpdf
    or click on the Create PDF tab
    or use the Create PDF button in the Adobe Reader Tools
    [topic moved to Acrobat.com Services forum]

  • DDL Generation/Conversion Tools

    I am looking for a DDL generation tool, preferably command line, that can convert DDL of one RDBMS to another - say DDL of Oracle schema/table to MySQL/SQL Server & vice-versa. I have reviewed Oracle's SQL Developer - its DDL generation is one way MySQL to Oracle, SQL Server to Oracle etc.
    I would prefer a general-purpose DDL conversion tool/utility if one exists! Also, is there a way to use GGs DDLGEN for this ? I have explored this a bit but it seems all conversions are from Tandem DDL to DDL of various RDBMS.
    Thanks,
    Satish

    Satish,
    You can use DDLGEN to perform some basic DDL between systems but you'll likely need to make modifications to the .tpl file. Otherwise you may want to look into some other paid tools on the market.
    Good luck,
    -joe

Maybe you are looking for

  • How to add description of a column of a table in SQL Azure

    Hi I have some tables in my application database where there are descriptions added against certain columns. Needless to say they were done by using sp_addextendedproperty. Now I am trying to migrate the Database to SQL Azure. SQL Azure does not supp

  • Parsing an xml output of a ws-client using JDOM

    how do i use jdom to parse an output from a web service client, ive been using JDev. 10g, was able to create a web service client to consume and return the output in the form of an xml. i want to be able to parse the xml doc into variables such that

  • Invoking web service using Weblogic Workshop (JCX)

    Invoking web service using Weblogic Workshop Posted: 5 Jan 2005 23:31 PM Reply Hi, I have WSDL from which I have generated a web service control (.jcx) using Weblogic Workshop. I need to write a client which will invoke the web service using the cont

  • Integration and reconciliation of OIM and OID

    I need to do integration with OID and OIM, when i import the XML file, there are two XML files, 1) oimOIDuser 2) oimUser which xml should be used for the integration of OIM and OID. and for the trusted source Reconciliation. -sudhan elango.

  • NAT on Full Tunnel SSL VPN

    Hi, I will be setting up Full Tunnel SSL VPN using my asa 5520 as a vpn server. After reading documents I know that NAT must b disabled on ASA for the pool addresses. Can anyone explain te exact logic behind this. Regards.