Import  Package org.jdesktop.swingx.autocomplete  ??

how to import Package org.jdesktop.swingx.autocomplete in my code
its Giving error ,,,
i am using Auto Complete Supprt For my Combo Box .......but i am unable to import the package containg nesseary classes like
AutoCompleteSupport support = AutoCompleteSupport.install(
this.comboBox, GlazedLists.eventListOf(elements));
AutoCompleteDecorator.decorate(this.comboBox);
how to import package for the above calsses ,,,or i have to add any Jar File ,,plzz suggest

You have to add the appropriate JAR files to your library to allow use of the features you want, then you do a:
import org.jdesktop.swingx.autocomplete; //in your project.

Similar Messages

  • Package  org.jdesktop.swingx.autocomplete    ??? (import problem )

    how to import Package org.jdesktop.swingx.autocomplete in my code
    its Giving error ,,,
    i am using Auto Complete Supprt For my Combo Box .......but i am unable to import the package containg nesseary classes like
    AutoCompleteSupport support = AutoCompleteSupport.install(
    this.comboBox, GlazedLists.eventListOf(elements));
    AutoCompleteDecorator.decorate(this.comboBox);
    how to import package for the above calsses ,,,or i have to add any Jar File ,,plzz suggest

    I should say download swingx.jar?

  • Package org.jdesktop.layout does not exist?

    I have created a project in Netbeans using the Java Project with Existing Ant Script and am trying to use the Netbeans GUI interface to develop my project, but even though I have created a folder that contains the swing-layout-1.0.3.jar and I no longer get the errors in my java file, I cannot built the project. I get the error: package org.jdesktop.layout does not exist.
    In my java code, I can make an import statement, and Netbeans gives no errors. I can start typing "org. " and Netbeans suggests the classes, so clearly the org.jdesktop.layout does exist and is available to the code. So why am I getting this error, and how can I correct it?
    Thanks in advance,
    Chris Coulon

    i could compile it properly by givin the path to the swing-layout-1.0.3.jar file in classpath. but i'm not able to run it now. i get the following error.
    Exception in thread "main" java.lang.NoClassDefFoundError: CMSUI (wrong name: my
    /cmsui/CMSUI)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    4)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    thanks

  • Netbeans 5.0 beta: package org.jdesktop.layout does not exist

    This is a newbie question. I'm running netbeans 5.0 beta and put together a UI with the nice UI builder in netbeans. When I go to compile I get "package org.jdesktop.layout does not exist". I've updated my class path via the netbeans libaryar manager to include the jars swing-layout-0.7.jar and org-jdesktop-layout.jar but it is still not finding the class. What am I missing? Thanks!

    Do you get this error when selecting "run" from within NetBeans?
    When I create a project using Netbeans 5.0 beta using the form designer NetBeans automatically adds swing-layout-0.7.jar to the list of libraries in the libraries node in the project window. I didn't do anything fancy.
    Do you get this error if you create another project?
    it works fine for me.

  • Package org.jdesktop.jdic.browser does not exists

    I am geting error
    'package org.jdesktop.jdic.browser does not exists' after moving to JDK 1.6_27 from 1.5_06
    Which jar file do i have to add for this error to go away?
    Can anyone helpme with the file name and path to download from?
    Thanks

    Thanks for the reply.I have moved to java 6 now and I dont want to use JDIC as no documentaion or download is available .
    Is there any alternative for jdic web browser in Java 6.
    Earlier in Java 5 I was using the below code to embedd the browser in the jpanel
    org.jdesktop.jdic.Webbrowser webbrowser=new WebBrowser
    webBrowser.seturl(pdfUrl)
    Jpanel testPanel=new jPanel();
    jpanel.add(webBrowser,BorderLayout.CENTER)
    here pdfURl is the url of a pdf file which I want to open in browser which is embed in jpanel.
    How can I do the same thing without the webbrowser.
    I read the java.awt.desktop browse method but it opens in a new window ,how can I embedd it in the jpanel?
    Please help.

  • Cannot import package org.apache.catalina in Tomcat 4.1

    Hi,
    Don't know why I cannot import org.apache.catalina.realm.RealmBase.*; or org.apache.catalina.*; but no problem in importing org.apache.*; ?
    error prompts "package org.apache.catalina.realm.RealmBase does not exist " Thanks.
    Jackie

    Yes, I can find org.apache.catalina.jar in /lib but why my jsp program cannot locate this class? Something wrong with my web.xml / server.xml? Thank you.

  • Importing package org.w3c.dom

    Hi,
    I am quite new to Java programming. Therefore solving my prob. is surely kind of obvious to a lot of you guys...
    For my program I need a type named "Element" defined in org.w3c.dom. Though I did not use the type directly anywhere in my code, my Builder (Eclipse) told me that it could not build my prog because: "The compilation unit indirectly references the missing type org.w3c.dom.Element"
    I tried to import that package:
    1. downloaded the zip (downloded http://www.w3.org/TR/2002/WD-DOM-Level-3-LS-20020725/java-binding.zip)
    2. put it in a subfolder of my project
    3. set the classpath correctly
    4. added import org.w3c.dom.* to my prg (adding "import org.w3c.dom.Element" results in an error)
    After that he properly imported the package as the import line of code was not underlined in red anymore. Nevertheless the annoying error message (The comp. unit indirectly...) did not disappear. I still can not build the prog. So I expected not to find the type "Element" defined in that package. But unziping the package showed me that there is in fact a type named "Element" in "./org/w3c/dom".
    Maybe it is worth noting that using the "Java Browsing" functionality of my Eclipse on this package results in "Selected package fragment does not contain any Java resource". The package symbol in the tree structure is displayed in gray instead of yellow too (all yellow packages permit browsing).
    Does anyone have a clue how to overcome that da... prob?
    Must the package be compiled before, as there are no classes within? And if yes, how do I accomplish that?
    Regards
    Matthias

    Even I have faced the same problem, the Reasons can be:
    1. Take the latest packages of all the JAR files U need for XML Parsing.
    2. Set the class path for all the JAR files.
    2nd thing should be the reason for U getting the error.
    All The Best.

  • Package Not Found - org.jdesktop - Java 3D 1.3.1

    I am trying to import the following package:
    import org.jdesktop.j3d.loaders.vrml97.*;
    My compiler returns an error: import org.jdesktop.j3d.loaders.vrml97.*;
    This package is part of Java 3D - 1.3.1, found at http://java.sun.com/products/java-media/3D/
    I installed the API and I am running Windows. Does anyone have an idae why my compiler cannot find this package? Do I need to add an additional classpath? I assumed that the Java 3D installer would have taken care of this for me.

    Under NetBeans -> Project Properities -> Libraries, there is a compile library and a run library. I added the package to the run library, but I forgot to add it to the compile library. I know, typical newbie error.

  • Package org.apache.axis.message not found in import.

    Hi,
    I am using axis to give response to another bpel process after any operation is completed of a BPEL process.I am using JDeveloper to deploy my bpel process.It has succesfully deployed process without any error but when bpel server is unpacking it and deploying it to oc4j,it get error:
    Package org.apache.axis.message not found in import.
    06/02/08 12:40:40 import org.w3c.dom.Element;import java.util.Calendar;import java.util.Date;import com.collaxa.cube.engine.ext.process;
    import com.oracle.services.bpel.task.*;import com.oracle.bpel.client.BPELFault;import com.collaxa.cube.xml.schema.XMLSchemaUtils;import com.
    oracle.bpel.client.util.WhereCondition;import com.oracle.bpel.client.Locator;import com.oracle.bpel.client.delivery.IDeliveryService;import
    com.oracle.bpel.client.NormalizedMessage;import com.oracle.bpel.client.IInstanceHandle;import com.oracle.bpel.client.ServerException;import
    com.oracle.services.bpel.Process.*;import org.apache.axis.message.*;import javax.xml.soap.Name;
    I have manually copied all axis jars to
    1)OraBPEL\integration\orabpel\system\appserver\oc4j\j2ee\home\applib
    2)OraBPEL\integration\orabpel\lib
    But no use.
    Can anybody help!

    I've put a lot og jar files in the bpel-inf/lib but it looks as if they are not in the class path when I need them. The result is a ClassNotFoundException? Do I have to specify anything else? I've put a class in the bpel-inf/classes and it looks to me as if it is found by the BPM.

  • How do I import packages beginning with org or com?

    Any time I try to import packages beginning with org or com, I am told that the class was not found in import. Specifically, I am trying to use SVG Graphics, and here are the import lines that are not working:
    import org.w3c.dom.*;
    import org.apache.xerces.dom.*;
    import com.sun.awt.svg.*;
    import org.apache.batik.svggen.SVGGraphics2D;
    import org.apache.batik.dom.GenericDOMImplementation;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMImplementation;
    What do I need to change, or what do I need to download in order to make this work?
    Thanx.
    -Tinclon

    First you need to have the jar files containing these packages. When you have these packages, you have to set your classpath for these jar files.
    -Dieter

  • Error msg "package org.apache.xmlrpc does not exist ... "

    Hi everybody,
    I am new to java. While creating build through cruise control Error Msg comes
    BUILD FAILED
    Ant Error Message:      C:\Program Files\CruiseControl\projects\Myproject\build.xml:47: Compile failed; see the compiler error output for details.
    C:\Program Files\CruiseControl\projects\Myproject\src\org\xtpl\admin\common\CallBack.java:9: package org.apache.xmlrpc does not exist
    import org.apache.xmlrpc.*;
    C:\Program Files\CruiseControl\projects\Myproject\src\org\xtpl\admin\common\CallBack.java:18: cannot find symbol
    symbol : class XmlRpcClient
    location: class org.xtpl.admin.common.CallBack
    XmlRpcClient rpcClient = new XmlRpcClient();
    Can anyone help me out!
    Thanks,
    Sunil Braroo

    check your classpath.

  • Import Package problems and error in the Java file created in runtime

    got the following error message when i try to load the JSP file given below (FlightSearch.jsp). Given also below the JAVA files (flightsearch$jsp.java) created by the compiler.
    Thanks for your help
    Susan
    Error message
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:320: 'catch' without 'try'.
    } catch (Throwable t) {
    ^
    C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:328: 'try' without 'catch' or 'finally'.
    ^
    C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:328: '}' expected.
    ^
    3 errors, 1 warning
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    FlightSearch.jsp
    <%@page import="java.util.*" errorPage="ErrorHandler.jsp"%>
    <%@page import="com.client.entity.Flight"%>
    <%@page import="com.client.wsclient.FlightServiceClient"%>
    <H3>Available Flight List</H3>
    <br>We have found the following Available flight(s) : </br>
    <table border="0" cellpadding="0" cellspacing="0" width="100">
    <tr>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Flight Company</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Flight Number</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Depart From<font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Arrive</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Departure Date</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Departure Time</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Arrival Date</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Arrival Time</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Adult Fare</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Child Fare</font></b></td>
    </tr>
    <%
    //Get the search information
    String des = request.getParameter("DFrom");
    String arr = request.getParameter("DTo");
    String fy = request.getParameter(FYear.value);
    String fm = request.getParameter(FMonth.value);
    String fd = request.getParameter(FDay.value);
    String f1 = fy + "-" + fm;
    String FDat = f1 + "-" + fd;
    String ty = request.getParameter(TYear.value);
    String tm = request.getParameter(TMonth.value);
    String td = request.getParameter(TDay.value);
    String t1 = ty + "-" + tm;
    String TDat = t1 + "-" + td;
    String type;
    if( request.getParameter(type[0].checked))
    type = "Return";
    else
    { type = "OneWay";
    String clas;
    if(request.getParameter(clas[0].checked))
    {clas = "ECO";
    else
    {clas = "BUSS";}
    String adult = request.getParameter(Adult.value);
    String child = request.getParameter(Child.value);
    //Get the server Flight Search Service URL
    // ServerFlightSearchBO SFSBO = new ServerFlightSearchBO();
    // ServerFlightSearch FlightSearch = SFSBO.getFlightSearchURL();
    // FlightSearchServiceClient FSearchServiceClient = new FlightSearchServiceClient
    String ServerFlightServiceURL = "http://localhost:7080/AServer/services/FlightService";
    //Find available Flight
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(des, arr, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    %>
    <tr>
    <td width= "10%"><%=flt.getFlightComp()%></td>
    <td width= "10%"><%=flt.getFlightNum()%></td>
    <td width= "10%"><%=flt.getDestination()%></td>
    <td width= "10%"><%=flt.getArrive()%></td>
    <td width= "10%"><%=flt.getFrDate()%></td>
    <td width= "10%"><%=flt.getFlightDptTm()%></td>
    <td width= "10%"><%=flt.getToDate()%></td>
    <td width= "10%"><%=flt.getFlightArrTm()%></td>
    <%
    int adt, chld;
    int far_A, tot_A, far_C, tot_C;
    adt = Integer.parseInt(adult);
    far_A = flt.getAdultFr();
    tot_A = adt * far_A;
    chld = Integer.parseInt(child);
    far_C = flt.getChildFr();
    tot_C = chld * far_C;
    %>
    <td width= "10%"><%=tot_A%></td>
    <td width= "10%"><%=tot_C%></td>
    </tr>
    <%
    if(type = "Return")
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(arr, des, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    %>
    <tr>
    <td width= "10%"><%=flt.getFlightComp()%></td>
    <td width= "10%"><%=flt.getFlightNum()%></td>
    <td width= "10%"><%=flt.getFlightDpt()%></td>
    <td width= "10%"><%=flt.getFlightArr()%></td>
    <td width= "10%"><%=flt.getFlightDptDt()%></td>
    <td width= "10%"><%=flt.getFlightDptTm()%></td>
    <td width= "10%"><%=flt.getFlightArrDt()%></td>
    <td width= "10%"><%=flt.getFlightArrTm()%></td>
    <%
    int adlt, chd;
    int fare_A, totA, fare_C, totC;
    adlt = Integer.parseInt(adult);
    fare_A = flt.getAdultFr();
    totA = adlt * fare_A;
    chd = Integer.parseInt(child);
    fare_C = flt.getChildFr();
    totC = chd * fare_C;
    %>
    <td width= "10%"><%=totA%></td>
    <td width= "10%"><%=totC%></td>
    </tr>
    <%
    %>
    </table>
    flightsearch$jsp.java
    package org.apache.jsp;
    import java.util.*;
    import com.client.entity.Flight;
    import com.client.wsclient.FlightServiceClient;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import org.apache.jasper.runtime.*;
    public class flightsearch$jsp extends HttpJspBase {
    static {
    public flightsearch$jsp( ) {
    private static boolean jspxinited = false;
    public final void jspxinit() throws org.apache.jasper.runtime.JspException {
    public void _jspService(HttpServletRequest request, HttpServletResponse response)
    throws java.io.IOException, ServletException {
    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    String _value = null;
    try {
    if (_jspx_inited == false) {
    synchronized (this) {
    if (_jspx_inited == false) {
    jspxinit();
    jspxinited = true;
    _jspxFactory = JspFactory.getDefaultFactory();
    response.setContentType("text/html;ISO-8859-1");
    pageContext = _jspxFactory.getPageContext(this, request, response,
    "ErrorHandler.jsp", true, 8192, true);
    application = pageContext.getServletContext();
    config = pageContext.getServletConfig();
    session = pageContext.getSession();
    out = pageContext.getOut();
    // HTML // begin [file="/client/flightsearch.jsp";from=(0,59);to=(1,0)]
    out.write("\r\n");
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(1,43);to=(2,0)]
    out.write("\r\n");
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(2,58);to=(19,0)]
    out.write("\r\n\r\n<H3>Available Flight List</H3>\r\n<br>We have found the following Available flight(s) : </br>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100\">\r\n <tr>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Flight Company</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Flight Number</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Depart From<font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Arrive</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Departure Date</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Departure Time</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Arrival Date</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Arrival Time</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Adult Fare</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Child Fare</font></b></td>\r\n </tr>\r\n");
    // end
    // begin [file="/client/flightsearch.jsp";from=(19,2);to=(66,0)]
    //Get the search information
    String des = request.getParameter("DFrom");
    String arr = request.getParameter("DTo");
    String fy = request.getParameter(FYear.value);
    String fm = request.getParameter(FMonth.value);
    String fd = request.getParameter(FDay.value);
    String f1 = fy + "-" + fm;
    String FDat = f1 + "-" + fd;
    String ty = request.getParameter(TYear.value);
    String tm = request.getParameter(TMonth.value);
    String td = request.getParameter(TDay.value);
    String t1 = ty + "-" + tm;
    String TDat = t1 + "-" + td;
    String type;
    if( request.getParameter(type[0].checked))
    type = "Return";
    else
    { type = "OneWay";
    String clas;
    if(request.getParameter(clas[0].checked))
    {clas = "ECO";
    else
    {clas = "BUSS";}
    String adult = request.getParameter(Adult.value);
    String child = request.getParameter(Child.value);
    //Get the server Flight Search Service URL
    // ServerFlightSearchBO SFSBO = new ServerFlightSearchBO();
    // ServerFlightSearch FlightSearch = SFSBO.getFlightSearchURL();
    // FlightSearchServiceClient FSearchServiceClient = new FlightSearchServiceClient
    String ServerFlightServiceURL = "http://localhost:7080/AServer/services/FlightService";
    //Find available Flight
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(des, arr, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(66,2);to=(68,18)]
    out.write("\r\n<tr>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(68,21);to=(68,40)]
    out.print(flt.getFlightComp());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(68,42);to=(69,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(69,21);to=(69,39)]
    out.print(flt.getFlightNum());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(69,41);to=(70,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(70,21);to=(70,41)]
    out.print(flt.getDestination());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(70,43);to=(71,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(71,21);to=(71,36)]
    out.print(flt.getArrive());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(71,38);to=(72,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(72,21);to=(72,36)]
    out.print(flt.getFrDate());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(72,38);to=(73,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(73,21);to=(73,41)]
    out.print(flt.getFlightDptTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(73,43);to=(74,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(74,21);to=(74,36)]
    out.print(flt.getToDate());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(74,38);to=(75,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(75,21);to=(75,41)]
    out.print(flt.getFlightArrTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(75,43);to=(76,1)]
    out.write("</td>\r\n ");
    // end
    // begin [file="/client/flightsearch.jsp";from=(76,3);to=(87,1)]
    int adt, chld;
    int far_A, tot_A, far_C, tot_C;
    adt = Integer.parseInt(adult);
    far_A = flt.getAdultFr();
    tot_A = adt * far_A;
    chld = Integer.parseInt(child);
    far_C = flt.getChildFr();
    tot_C = chld * far_C;
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(87,3);to=(88,18)]
    out.write("\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(88,21);to=(88,26)]
    out.print(tot_A);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(88,28);to=(89,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(89,21);to=(89,26)]
    out.print(tot_C);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(89,28);to=(91,0)]
    out.write("</td>\r\n</tr>\r\n");
    // end
    // begin [file="/client/flightsearch.jsp";from=(91,2);to=(100,0)]
    if(type = "Return")
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(arr, des, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(100,2);to=(102,18)]
    out.write("\r\n<tr>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(102,21);to=(102,40)]
    out.print(flt.getFlightComp());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(102,42);to=(103,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(103,21);to=(103,39)]
    out.print(flt.getFlightNum());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(103,41);to=(104,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(104,21);to=(104,39)]
    out.print(flt.getFlightDpt());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(104,41);to=(105,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(105,21);to=(105,39)]
    out.print(flt.getFlightArr());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(105,41);to=(106,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(106,21);to=(106,41)]
    out.print(flt.getFlightDptDt());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(106,43);to=(107,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(107,21);to=(107,41)]
    out.print(flt.getFlightDptTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(107,43);to=(108,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(108,21);to=(108,41)]
    out.print(flt.getFlightArrDt());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(108,43);to=(109,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(109,21);to=(109,41)]
    out.print(flt.getFlightArrTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(109,43);to=(110,1)]
    out.write("</td>\r\n ");
    // end
    // begin [file="/client/flightsearch.jsp";from=(110,3);to=(120,1)]
    int adlt, chd;
    int fare_A, totA, fare_C, totC;
    adlt = Integer.parseInt(adult);
    fare_A = flt.getAdultFr();
    totA = adlt * fare_A;
    chd = Integer.parseInt(child);
    fare_C = flt.getChildFr();
    totC = chd * fare_C;
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(120,3);to=(121,18)]
    out.write("\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(121,21);to=(121,25)]
    out.print(totA);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(121,27);to=(122,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(122,21);to=(122,25)]
    out.print(totC);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(122,27);to=(124,0)]
    out.write("</td>\r\n</tr>\r\n");
    // end
    // begin [file="/client/flightsearch.jsp";from=(124,2);to=(126,0)]
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(126,2);to=(127,8)]
    out.write("\r\n</table>");
    // end
    } catch (Throwable t) {
    if (out != null && out.getBufferSize() != 0)
    out.clearBuffer();
    if (pageContext != null) pageContext.handlePageException(t);
    } finally {
    if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);

    You are missing a closing parens. You have :
    if(type = "Return")
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(arr, des, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){Which opens two parens but you only have one closing parens
    </tr>
    <%
    %>
    </table>

  • Package org.relaxng.datatype does not exist

    I'm migrating my JAXB code from jwdsp1.1 to jwdsp1.2, and the xjc tool now yields code that doesn't compile! What gives??
    The error I'm getting in my compiler is:
    edgar/jaxb/impl/runtime/UnmarshallingContext.java [21:1] package org.relaxng.datatype does not exist
    import org.relaxng.datatype.ValidationContext;
    My question is, why does JAXB now use a package that's "experimental"? No, my question really is what do I do to fix this compiler error? Get the right jar somewhere? Help!

    Well, no one seems to know the answer to my question, so I guess I'll have to revert back to jwdsp1.1 until this issue can be resolved.
    If anyone knows what's going on, I'd love to know so I can migrate to 1.2.

  • Package org.apache.soap does not exist

    Hi,
    I'm trying to deploy a webservice made out of stateless session bean.
    When i run the service by invoking its method through browser then I get an exception as
    Servlet error: Cannot generate Class:
    package org.apache.soap does not exist
    import org.apache.soap.Header;
    -- It seems that the oc4j is not loading soap.jar under soap/lib
    But when I add soap.jar to WEB-INF/lib then I get an exception as
    java.lang.LinkageError: Class org/apache/soap/rpc/SOAPContext violates loader constraints
    Which means soap.jar is loaded previosuly
    The required classes are present in soap.jar
    Can you please help me on this
    Regards
    ~Anil

    Yippee... problem solved... classpath setting problem

  • Package org.openuri.bea.samples.workshop.*

    Hi,
    I am going over workshop 8.1 tutorial. In Tutorial: Java Control Step 3: Add a
    Web Service
    Control, where is this package "import org.openuri.bea.samples.workshop.*"? When
    I typed
    this import statement, the IDE gave me error message "ERROR: Package org.openuri
    contains
    no member package or type of this name".
    Any help is very much appreciated.
    Michael

    Michael,
    Can you try building the schemas project ?
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Michael Wong" <[email protected]> wrote in message
    news:3f4b627f$[email protected]..
    >
    Hi,
    I am going over workshop 8.1 tutorial. In Tutorial: Java Control Step 3:Add a
    Web Service
    Control, where is this package "importorg.openuri.bea.samples.workshop.*"? When
    I typed
    this import statement, the IDE gave me error message "ERROR: Packageorg.openuri
    contains
    no member package or type of this name".
    Any help is very much appreciated.
    Michael

Maybe you are looking for

  • Shopping cart sourcing process in SRM 7.0

    Hi gurus I want to run a sourcing process in Classic scenario but my question is if it is possible. 1. Requester creates an SC XX to order a service 2. The SC goes to Purchasers worklist for sourcing 3. The Purchaser make an Rfx with data from the SC

  • Purpose of folder "Ipod Photo Cache"?

    What is the purpose of this folder? Should it be deleted automatically by iTunes after syncing? I've seen several posts here suggesting to delete the folder to try to resolve photo syncing issues. A co-worker tells me that this folder on his machine

  • Restoring/Formatting

    It wants me to restore/format an i-pod to work with windows OS, will this wipe the data on the device?

  • E52 bug list for advanced users

    I wanted to start the compilation of a bug list for advanced users. Here is my first suggestion: 1. SMS Functionality:  When trying to send SMS to a distribution list, the phone interface will ask you to choose between number and email addresses, eve

  • Lightroom 2.2 - Canon 5D Mark II

    When I try to import photos direct from Canon 5D Mark 2 the previews are not visible - blanked out. However if I download to hard dr ive first and then try to import the previews show normally on the import dialogue. Now I find version 2.2 will not r