How add gadget to my jsp

hi all
please help me how to add gadget to my jsp page,

double post:
http://forum.java.sun.com/thread.jspa?threadID=5180404&messageID=9701170#9701170
You are not going to get anywhere with these vague questions.

Similar Messages

  • How to code the function of  add+delete+edit using jsp??

    how to code the function of add+delete+edit using jsp??i'm also using the ms sql server 2000 as a database. pls help me!!

    Hi,
    I think you will find the following useful.
    Performing Inserts, Updates, and Deletes
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/inserts_updates_deletes.html

  • How to add more than one JSP file for a single JSPDYNPage component

    Hello Everyone,
                           I am creating one portal application which involves JSPDYNPage component, while creating this component one JSP file is also created. But i want one more JSP file for my application ...i.e- for the same JSPDYNPage component. can anybody tell me how to create one more JSP for the same component.
    Thanks
    Chetan Deshpande

    Hi Pooja,
                 I tried the way u said, but when i try to create it(i.e- right click on pagelet folder & then new---> other......the way u said.) it asks for JSP file name but finish button is disabled even after entering the JSP file name.....is it that i am doing something wrong....please guide me for this & one more thing it asks for folder name also ...where to store that file....but when i try to enter anything.It doesn't show or doesn't allow me to do so
    Thanks
    Chetan

  • How to print report in jsp page?

    excuse me,i am new to jsp
    may i know how to pritn report in jsp page or html?
    tq

    here is a hacked up example.. i ripped out a lot, so it may not compile, but you get the idea... the full version is really long and not much new info.. just all awt/display stuff...
    package rowe;
    import javax.swing.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import java.sql.*;
    import utility.*;
    import java.awt.print.*;
    public class rowePrint extends JFrame implements ActionListener, Printable{
         String printType = "";
         static JButton j = new JButton("Print");
         FontMetrics fm;
         String jID, promotion, product, jComments;
         public void getInfo(int jid) {
              ResultSet rs;
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   Connection conn = DriverManager.getConnection("jdbc:odbc:rowe");
                   Statement stmt = conn.createStatement();
                   rs = stmt.executeQuery("select j.id as jID, j.comments, p.title as pTitle, p.product, p.packagingCartonCost, p.foldingQuarterCostPerM, p.foldingQuarterCostPerM, j.customizationOption as setupFee, p.perMcost, p.qtyCarton, d.name as dName, d.contact as dContact, d.email as dEmail, d.address as dAddress, d.city as dCity, d.state as dState, d.zip as dZip, d.phone as dPhone, d.fax as dFax, r.name as rName, j.totalQty, j.orderIn, j.estFreight, j.miscCost, j.coverSelection, j.imprintSelection from jobs j, promotions p, dealers d, reps r where j.promotion = p.id and j.dealer = d.id and j.rep = r.id and j.id = " + jid);
                   rs.next();
                   jID = rs.getString("jID");
                   jComments = rs.getString("comments");
                   promotion = rs.getString("pTitle");
                   product = rs.getString("product");
              } catch (Exception e) {
                   System.out.println("getinfo: " + e);
       public void actionPerformed(ActionEvent e) {
            if (e.getSource() instanceof JButton) {  
                   wookie();
         public void wookie() {
              PrinterJob printJob = PrinterJob.getPrinterJob();
              Paper paper = new Paper();
              PageFormat page = new PageFormat();
              paper.setImageableArea(0, 0, 600, 780);            
              page.setPaper(paper);
              printJob.setPrintable(this, page);
              try{
                   //printJob.pageDialog(page);
              //     if (printJob.printDialog()) {
                        printJob.print();
              } catch (Exception e) {
                   System.out.println("wookie1" + e);
         public static void main(String[] args) {
              rowePrint at = new rowePrint("Invoice");
              at.getInfo((new Integer(args[0])).intValue());
              at.drawShapes();
         //     at.wookie();
         public void drawShapes() {
              setBounds(0, 0, 670, 550);
              addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent e) {System.exit(0);}});
              j.setBounds(10, 10, 10, 10);
              j.addActionListener(this);
              getContentPane().setLayout(null);
              getContentPane().add(l);
              getContentPane().add(j);
              show();
         public rowePrint(String s){
              printType = s;
         public void paint(Graphics g) {
              g.setFont(new Font("Serif", Font.BOLD, 18));
              g.drawString(promotion, 20, 30);
              g.setFont(new Font("SansSerif", Font.PLAIN, 4));
              g.drawString("" + new java.util.Date(), 20, 37);
              g.setFont(new Font("Serif", Font.BOLD, 21));
              g.drawString("Rowe Furniture", 440, 35);
              g.fillRect(440, 40, 145, 25);
              g.setColor(Color.white);
              fm = g.getFontMetrics(new Font("Serif", Font.BOLD, 21));
              g.drawString(printType, 512 - (fm.stringWidth(printType) / 2), 60);
        public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
            if (pi >= 1) {
                return Printable.NO_SUCH_PAGE;
              paint(g);
            return Printable.PAGE_EXISTS;
    }

  • HOW TO: Debug a remote JSP

    <h1>HOW TO: Debug a remote JSP</h1>
    <strong>Note: </strong>The process of debugging a remote JSP on an Apache/Jserv
    installation involves a couple extra steps that were not covered in the JDeveloper
    3.2 documentation. </p>
    <strong>Introduction</strong></p>
    You use JDeveloper to debug JavaServer Pages (JSP) deployed and running on
    a server that includes a JSP container, such as Apache Jserv. Your JSP container
    will need to be configured to enable remote JSP debugging using JDeveloper.</p>
    JDeveloper allows you to use one of two protocols for JSP debugging - the
    Oracle Java Virtual Machine (OJVM) debugging protocol or the Sun Java Platform
    Debugging Architecture (JPDA). Before you start your remote debugging session,
    you will have to choose which method to use. If you use the OJVM protocol, your
    debugging session will run more quickly and you will have some additional features
    to assist you. You can only use OJVM on a Windows NT system. If your server
    is running UNIX or another operating system, you <strong>must</strong> use the
    &quot;classic&quot; JVM.</p>
    <strong>Setting up your project for remote JSP debugging</strong></p>
    Once you have created a JSP project, you need to set your project options
    so that remote debugging is enabled: </p>
    <ol>
    From the <strong><u>P</u>roject</strong> menu, select <strong><u>P</u>roject
    Properties</strong>. </p>
    </li>
    Click the <strong>Run/Debug</strong> tab.</p>
    </li>
    From <strong><u>D</u>ebug Files As:</strong> dropdown list, select <strong>Remote
    Debugging</strong>. </p>
    </li>
    Click <strong>OK</strong>. </p>
    </li>
    </ol>
    <strong>Configuring the Remote Server</strong></p>
    The following options must be changed on the host running the Apache/Jserv
    server. These instructions assume the server is running Windows NT: </p>
    <strong>Changes to jserv.properties</strong></p>
    These options control which Java Virtual Machine is used and how it is loaded.
    </p>
    <ol>
    For <em>The Java Virtual Machine interpreter</em> parameter <tt>wrapper.bin</tt>:
    </p>
    </li>
    <ul>
    [*]Comment out any existing entries by putting a <tt>#</tt> at the beginning
    of the line.
    <blockquote>
    <pre>#wrapper.bin=C:\java1.1.8\bin\java.exe</pre>
    </blockquote>
    </li>
    [*]Add a new entry with the full path of the <tt>java.exe</tt> that you want
    to use. To use the JDeveloper 1.3 OJVM, put
    <blockquote>
    <pre>wrapper.bin=C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin\java.exe</pre>
    </blockquote>
    </li>
    </ul>
    For the <em>Arguments passed to Java interpreter</em> parameter <tt>wrapper.bin.parameters</tt>:
    The value you put for this parameter depends on which Debugging Protocol
    you will choose in the <strong>Remote Debugging Dialog</strong> in JDeveloper
    when you start debugging.</p>
    </li>
    <ul>
    [*] If you want to use the JDeveloper 3.2 OJVM, put </li>
    <blockquote>
    <pre>wrapper.bin.parameters=-ferrari -XXdebugondemandquietport4000</pre>
    </blockquote>
    [*]If you want to use Java Platform Debugging Architecture, put
    <blockquote>
    <pre>wrapper.bin.parameters=-classic -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -Xdebug -Xnoagent -Djava.compiler=NONE</pre>
    </blockquote>
    The <tt>4000</tt> parameter defines the port number which the JDeveloper
    debugger will use to communicate with the server. You can specify a different
    port number, but it must match the port which you will enter in the <strong>Remote
    Debugging Dialog</strong> in JDeveloper when you start debugging. </p>
    </li>
    </ul>
    [*] For the <em>PATH environment value passed to the JVM</em> parameter <tt>wrapper.path</tt>
    enter the location of <tt>jdwp.dll</tt>, which is part of the <em>Java Platform
    Debugging Architecture</em>.
    This parameter is only necessary if you will choose the <em>Java Platform
    Debugging Architecture</em> debugging protocol:</p>
    <blockquote>
    <pre>wrapper.path=C:\jpda\bin</pre>
    </blockquote>
    </li>
    For the <em>CLASSPATH environment value passed to the JVM</em> parameter
    <tt>wrapper.classpath</tt>: </p>
    <ul>
    Keep the location of <tt>ApacheJServ.jar</tt>. If it is not already
    there, add it. </p>
    <blockquote>
    <pre>wrapper.classpath=C:\Program Files\Apache\JServ\ApacheJServ.jar</pre>
    </blockquote>
    </li>
    Comment out the location of <tt>jsdk.jar</tt>. </p>
    <blockquote>
    <pre>#wrapper.classpath=C:\jsdk2.0\lib\jsdk.jar</pre>
    </blockquote>
    </li>
    [*]Add the location of <tt>servlet.jar</tt> from JDeveloper 3.2.
    <blockquote>
    <pre>wrapper.classpath=C:\Program Files\Oracle\JDeveloper 3.2\lib\servlet.jar</pre>
    </blockquote>
    </li>
    [*] Add the locations of <code>jdeveloper.zip</code> and <code>ojsp.jar</code>
    from JDeveloper.
    <blockquote>
    <pre>
    wrapper.classpath=C:\Program Files\Oracle\JDeveloper 3.2\lib\jdeveloper.zip
    wrapper.classpath=C:\Program Files\Oracle\JDeveloper 3.2\lib\ojsp.jar
    </pre>
    </blockquote>
    </ul>
    </ol>
    <strong>Changes to jserv.conf</strong></p>
    <ol>
    For the <em>ApJServAction</em> parameter: </p>
    <ul>
    [*] Comment out any existing <tt>ApJServAction .jsp</tt> entries by putting
    a <tt>#</tt> at the beginning of the line. </li>
    <blockquote>
    <pre>
    #ApJServAction .jsp /servlets/org.gjt.jsp.JSPServlet
    </pre>
    </blockquote>
    [*]Add a new <tt>ApJServAction .jsp</tt> entry like this.
    <blockquote>
    <pre>
    ApJServAction .jsp /servlets/oracle.jsp.JspServlet
    </pre>
    </blockquote>
    </li>
    </ul>
    </li>
    </ol>
    <strong>Changes to zone.properties</strong></p>
    <ol>
    In the <em>Servlet Init Parameters</em> section: </p>
    </li>
    <ul>
    Add the following lines. </p>
    <pre>
    servlet.oracle.jsp.JspServlet.initArgs=emit_debuginfo=true
    servlet.oracle.jsp.JspServlet.initArgs=jspcompiler=oracle.jdeveloper.jsp.JspOjcCompiler
    servlet.oracle.jsp.JspServlet.initArgs=classpath=C:\Program Files\Oracle\JDeveloper 3.2\java1.3\jre\lib\rt.jar
    </pre>
    </li>
    </ul>
    </ol>
    <strong>Copying the JSP to the Apache/Jserv Server</strong></p>
    Once you have restarted the server with the modified parameters, you need to
    copy your JSP to the server's HTML root directory. For most Apache installations
    this is <tt>C:\Program Files\Apache\htdocs</tt>. </p>
    You also need to make sure the JSP is in your HTML directory in the JDeveloper
    tree, typically <tt>C:\Program Files\Oracle\JDeveloper 3.2\myHTML</tt>. The
    reason for this is JDeveloper uses the folder name as its package name.</p>
    <strong>Debugging a JSP</strong></p>
    Debugging a JSP is very similar to debugging any other Java program.</p>
    <ol>
    From the <strong><u>R</u>un</strong> menu, select <strong><u>D</u>ebug
    "<em>filename</em>.jsp"</strong>. </p>
    Start the JSP running (for example, start your web browser and open a
    connection to the JSP). </p>
    Debug as normal. </p>
    </ol>
    If you are using the JDeveloper OJVM debugging protocol, you will be able
    to disconnect from the JSP container. This allows you to stop debugging, but
    leave the JSP container running. In addition, you will be able to use two extra
    debugging functions that are not available using the JDPA protocol - <strong>Run
    to End of Method</strong> and <strong>Set Next Statement</strong>.</p>
    If you using JPDA, you must use <strong>Stop</strong> to end your debugging.
    Using this method will also stop the JSP container.</p>
    <blockquote>
    <strong></strong></p>
    </blockquote>
    null

    Hi,
    It again same as you do in your local server...You can monitor the BPEL process flow in the em console and debug..if its not sufficient....u can also monitor the logs located at
    <SOA_Home>\user_projects\domains\domain1\servers\soa_server1\logs to debug.

  • How to export data in JSP to MS excel

    hi frens..
    anyone out there knows how to export data in JSP to Ms excel .. i already add this code inside my jsp..
    <%@ page contentType="application/vnd.ms-excel" %>i need to retrieve the data from the database to excel.. it's something like a report display in the excel.

    set the response type as....
    response.setContentType("application/vnd.ms-excel");
    U must be geting the data from the database...
    get the data ...
    rs=st.executeQuery(sql);
    where sql is ur query and use it as usual....

  • How can i access the jsp file in a asp file

    Hi every one..
    we have two projects one is developed in ASP and one is developed in JSP both are running in two different locations.
    now i want to include a jsp file from one project to ASP file in the other project.
    please tell me how can i insert the JSP file in ASP application.
    thanx in advance.

    Wouldn't that be an ASP question for an ASP forum?

  • Help me!! How to use JavaScript with JSP ??

    I am using JDeveloper and I created a screen in JSP which uses a bean for database connectivity and retriving info onto the page.
    The page has a ListBox where list items are populated from the database.My requirement is
    whenever the list is changed the page shuold be refreshed with the selected item info.
    I tried to use 'JavaScript' for triggering the event with 'onChange' event of the ListBox.But the event is not getting invoked. I think JavaScript is not working with JSP.
    Please help me with how to Use javaScript with JSP or any other alternative where I can meet my requirement.
    I have one more question...I have gone through the JSP samples in OTN and I am trying do download the sample 'Travel servlet' which show list of countries...etc
    I have also gone through the 'readme' but I don't know how to extract .jar file.
    I would be great if you could help me in this.
    Thanks!!
    Geeta
    null

    We have a similar need. We have used Cold Fusion to display data from Our Oracle Database. We have a simple SElect Box in HTML populated with the oracle data. When someone selects say the State of Pennsylvania. then we have an On change event that runs a Javascript to go get all the cities in Pennsylvania.
    Proble we are having is that inorder for the Javascript to work , we currently have to send all the valid data.
    Do you know of any way to dynamically query the the Oracle database in Javascript

  • How to use EJB in JSP...urgent!!!

    hello,
    i am novice programmer in EJB.
    i am using weblogic 6.1 ...
    my problem is how to use EJB in jsp page.
    my code is as follow..but its not displaying any result.
    <%@ page import="javax.naming.InitialContext,
    javax.naming.Context,
    java.util.Properties,
    firstEJB.First,
    firstEJB.FirstHome"%>
    <%
         long t1 = System.currentTimeMillis();
         System.out.println(t1);
         Properties props = new Properties();
         p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.TengahInitialContextFactory");
         props.put(Context.PROVIDER_URL, "localhost:7001");
         Context ctx = new InitialContext(props);
         FirstHome home = (FirstHome)ctx.lookup("FirstEJB");
         First bean = home.create();
         String time = bean.getTime();
         bean.remove();
         ctx.close();
         long t2 = System.currentTimeMillis();
    %>
    <html>
         <head>
              <style>p { font-family:Verdana;font-size:12px; }</style>
         </head>
         <body>
              <p>Message received from bean = "<%= time %>".<br>Time taken :
              <%= (t2 - t1) %> ms.</p>
         </body>
    </html>
    please tell me the solution.

    Hi, I don't know if it may be the cuase of your problems, but you should narrow the Object obtained doing the lookup, like this:
    FirstHome home = (FirstHome) PortableRemoteObject.narrow(ctx.lookup("FirstEJB"), FirstHome.class);

  • How add windows 7 to my mac

    How add windows 7 to my mac

    Believe it or not but w/o knowing what  Mac you have and which OS makes a differnce, somewhat.
    nMP supports 8.1 though getting Windows 7 was made easier more recently.
    Some models barely support Windows at all (possible but a fudge when it comes to a 2006 1,1 EFI32).
    Once I discovered that t he Windows key or command key was a one step hop out  of Metro to Desktop been very happily using 8.0/8.1 and it does  - other than games?? - run best of any Windows OS.
    Using one copy of Windows natively and then using it in Fusion or Parallels (but have to do Boot Camp inst all first) is not illegal or anything else. And there is free VirtualBox too.
    I know with Fusion and Mavericks you can run Mavericks in a VM as well, handy for testing. And appears to run very well on t he nMP 6-core.
    I would use an SSD for Windows, separate from your Mac SSD, or $299 buys you a 500GB SSD

  • How to display PDF in JSP using Iframe

    Hi All,
    I am using Struts 2. I am building my file in ActionClass with seperate Method like getGeneratedPDF() in which, I am setting header of response and writing into PDF.
    This method will be called from JSP by this way
    s:property value="getGeneratedPDF()" />
    But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.
    I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?
    questions 2 -- How to display it in Iframe?
    Please help me , If you know the solution.
    Thanks in Advance,
    Jimmy

    jamy_26 wrote:
    But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.A PDF file is a binary file, not a text file, and you're trying to display it as String. Of course you would get "junk characters". Have you ever tried opening a binary file (pdf, doc, jpg, xls, etc) using a text editor like Notepad?
    I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?Display it as binary stream, not as text stream. You can display it standalone, just let the link/form/addressbar URL point to some Servlet which writes the InputStream of the PDF file to the OutputStream of the response, along with a correct set of response headers (at least content-type, content-disposition and content-length), so that the browser can open it in the correct application (which is usually Acrobat Reader). If you want to embed the PDF file in a JSP, then one of the ways is indeed using the HTML <iframe> tag.
    questions 2 -- How to display it in Iframe? Just let the iframe URL point to the aforementioned Servlet.
    You can find here an example of a generic file servlet, you may find it useful to get the idea how to do it: [http://balusc.blogspot.com/2007/07/fileservlet.html].

  • How to do  validation in jsp using javascript

    how to do validation in jsp using javascript

    The same way you do with any HTML page.
    Catch the onclick/onsubmit event, do your validation in javascript and then allow/cancel the action as required.
    However this is javascript validation only - javascript can never call JSP code.

  • Front row how add music to it

    Im not for sure how add music to front row can someone help me isnt it playlist in iTunes??? im not for sure

    Post in the Front Row forums where those gurus are.

  • How to authorize my Login.jsp file to create LoginContext, deployed in war

    I am currently doing a login process and I need to know how to give my Login.jsp file the permission to create a LoginContext. I packaged everything in a war file and deployed it to the server.
    Specifically this is the error that I am getting:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: access denied (javax.security.auth.AuthPermission createLoginContext.studentportal)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    root cause
    java.security.AccessControlException: access denied (javax.security.auth.AuthPermission createLoginContext.studentportal)
         java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         java.security.AccessController.checkPermission(AccessController.java:427)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         javax.security.auth.login.LoginContext.init(LoginContext.java:224)
         javax.security.auth.login.LoginContext.(LoginContext.java:403)
         org.apache.jsp.Login_jsp._jspService(Login_jsp.java:55)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
    In my code in Login.jsp this is what I have at the top of the page:
    <%@ page language="Java" import="portal.*,javax.security.auth.login.*" %>
    <%
    String s = request.getParameter("loginButton");
    if (s != null) {
    out.println("The user attempted to login");
    String user = request.getParameter("username");
    String psw = request.getParameter("psw");
    AscCallbackHandler cbh = new AscCallbackHandler(user,psw);
    LoginContext ctx;
    try {
    ctx = new LoginContext("studentportal",cbh);
    } catch (LoginException  le) {
    out.println("Sorry, could NOT create context");
    }The admin page tells me that portal is deployed at location:
    ${com.sun.aas.instanceRoot}/applications/j2ee-modules/portal
    My entry in the server.policy file looks like so:
    grant codeBase "file:/home/jay/sun/Creator2_1/SunAppServer8/domains/creator/applications/j2ee-modules/portal/WEB-INF/-" {
    permission javax.security.auth.AuthPermission "createLoginContext.studentportal";
    permission javax.security.auth.AuthPermission "modifyPrincipals";
    permission javax.security.auth.AuthPermission "getLoginConfiguration";
    Which gives the error shown above
    Please help
    Message was edited by:
    jay_dawg
    Placing code tags

    java.lang.NoClassDefFoundError: org/jdom/JDOMException
         java.lang.Class.getDeclaredConstructors0(Native Method)
         java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
         java.lang.Class.getConstructor0(Class.java:2671)
         java.lang.Class.getConstructor(Class.java:1629)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1164)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3305)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)and following by this

  • How to use taglibs in JSP for Database access

    Hi
    Could any one please tell me how to use taglibs in JSP for Database access
    with regrds
    Jojo

    This is a sample how to connect to a MySQL database with JSTL 1.0:
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <!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=iso-8859-1" />
    <title>JSTL MySQL</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <c:catch var="e">
    <sql:setDataSource var="datasource" url="jdbc:mysql://Your_Server_Name_Here/You_Schema_Here"
                           user="Your_Username_Here" password="Your_Password_Here"
                           driver="com.mysql.jdbc.Driver"/>
    <c:out value="datasource= ${datasource},  Class = ${driver.class}"/>
    <br />
    <br />
    <sql:query var="deejays" dataSource="${datasource}">SELECT * FROM Your_Table_Name_Here</sql:query>
    <table>
    <%-- Get the column names for the header of the table --%>
    <c:forEach var="columnName" items="${deejays.columnNames}"><th><c:out value="${columnName}"/></th></c:forEach>
    <tbody>
    <%-- Get the value of each column while iterating over rows --%>
    <c:forEach var="row" items="${deejays.rows}">
      <tr><c:forEach var="column" items="${row}">
            <td><c:out value="${column.value}"/></td>
          </c:forEach>
      </tr>
    </c:forEach>
    </tbody>
    </table>
    </c:catch>
    <br />
    <br />
    <c:if test="${e!=null}"><span class="error">Error</span>�
      <c:out value="${e}" />
    </c:if>
    </body>
    </html>And this thread might help you:
    http://forum.java.sun.com/thread.jspa?threadID=639471&tstart=44

Maybe you are looking for

  • OIM 9.1 installation WLS 10.3.0

    Hi, I'm installing oim 9.1 on WLS 10.3.0 following "Installation and Configuration Guide for BEA WebLogic Server" (oficial oracle doc). Actually XlWebApp is running, I mean, I able to login to Admin console with "xelsysadm", But I'm not sure if my oi

  • WebUI Smartform Preview - blank window in IE9, works in Chrome (partly)

    Hi there, I am seeing an issue with Order Print Preview of PDF(Smartform) in WebUI, wondering if anyone had similar issue. Have a smartform configured to 'Preview Output' under SPPFCADM->CRM_ORDER. It has been working fine for a long time (years) in

  • 1434891 - Consolidation fails in BOFC 7.5 (new installation)

    Hello, maybe someone can help me. There's a error in the consolidation of my Business Objects Financial Consolidation application: Failed to run database query:".. The SAP recommended solution (1434891 - Consolidation fails in BOFC 7.5 (new installat

  • Hierarchy Change History

    Hi Is there any way in BI where we can see the change history of a hierarchy which is manually manitained in BI. Thanks Pratap.

  • Bootstrap OID to AD

    I am trying to bootstrap our new OID with an existing AD. I have worked through many issues in trying to set this up. I am able to bind to and perform searches on the AD installation; however, I cannot seem to get the bootstrap to work properly. I in