An exciting question, please take a look

This question is actually not quite exciting, but since you are here, please take a look. thank you.
I have a question as following: I have three classes, Panel1, Panel2, and PanelPrimary, all 3 extends JPanel. Panel1 and Panel2 both have a JButton, button1 and button2 respectively. PanelPrimary has a CardLayout. In PanelPrimary, I created a Panel1 and a Panel2 and added them to PanelPrimary as the cards because i'm using CardLayout.
I want to click on button1 so that PanelPrimary shows Panel2, and click on button2 so that PanelPrimary shows Panel1.
But I dont know how to access PanelPrimary in Panel1 and Panel 2.
here's what i get so far:
public class Panel1 extends JPanel
private JButton button;
public Panel1()
button=new JButton();
button.addActionListener(new BListener())
private class Blistener implements ActionListener
public void actionPerformed(ActionEvent e)
//Here's the code I dont know how to write
class Panel2 is same as Panel1 except the actionPerformed part.
public class PanelPrimary
//i'm not very sure about how to write this class
thanks for reading

This question is actually not quite exciting, but
since you are here, please take a look. thank you.This approach working out for you? Usually a title which actually describes your problem gets the better responses.
And to "do tabs", you put your code within [ code ] tags (there's even a button for it).

Similar Messages

  • Multithread questions please take a look.

    if i am going to implement a client application to connect to a server, how many threads do i need?
    i need to have a thread for handling the UI.
    Question : threading for handling the UI for example a textArea if i have 2 textArea that changes its contents do i need 2 thread like 1 thread for textArea1 and another for textArea2?
    i need another thread for staying connected to the serverSocket and sending/recieving data to/from the server.
    Question : where do i call the network thread and the UI thread? both in the main()? or any other methods like calling network thread within UI thread etc?
    thanks alot
    i am new to thread and i have read the tutorial put up by java.sun.com by still unclear about it. please help
    thanks

    What you have to know about threads in Java is that they are as any other objects and you can treat them as such with the difference that the code in the run() method of that object is executed in a different context,so it appears that it is executed simultaniously with any other code in the application. The UI of a java application is executed in a thred which you dont have control over,it is hidden in the framework.In order to achieve flexible design a recommend you to define a class which extends java.lang.Thread and define a variable of the java.net.Socket class there.This class should be instantiated in the main application object.In the run() method implement the logic for reading from the socket,as it will always block if there is no data received. With approach like this you'll avoid UI freezing if you have a Socket object in the main class of the application and it blocks on the read method.
    The logic for data sending you can implement by adding methods in the class you defined which writes to the socket output stream. It is advisable that you implement some kind of notification mechanism from the thred object to the main application object that notifies when data has been received,so you can process it further and show it. Here is some small example:
    class MyApp implements DataReceivalNotificator{//the main class of the application
    private NetClient client;
    public MyApp(String host,int port){
    client = new NetClient(host,port);
    client.addDataReceivedNotificator(this);
    //start the thread;
    client.start();
    public static void main(String[] args){
    MyApp app = new MyApp(args[0],Integer.toString(args));
    app.sendData("Some data for the net:)");
    public synchronized void dataReceived(String data)
    //show the data somehow
    public void sendData(String s){
    client.sendSomeString(s);
    class NetClient extends Thread{
    private Socket soc;
    private DataInputStream inStream;
    private DataOutputStream outStream;
    private String someString;
    private DataReceivalNotificator notifier
    public NetClient(String host,int port){
    try{
    soc = new Socket(host,port);
    inStream = new DataInputStream(new BufferedInputStream(soc.getIputStream()));
    outStream = new DataOutputStream(new BufferedOutputStream(soc.getOutputStream()));
    catch(IOException e){
    public void run(){
    try{
    while(!(someString=outStream.readString()).equals(null)){
    //calls the notifiers method to receive the data
    notifier.dataReceived(someString);
    catch(IOException e){
    public synchronized void sendSomeString(String str){
    try{
    outStream.writeString(str);
    outStream.flush();
    catch(IOException e){
    public void addDataReceivalNotificator(DataReceivalNotificator d){
    notifier = d;
    public interface DataReceivalNotificator
    public void dataReceiver(String data);

  • Please take a look at this. Attempting to make a professional brochure/bound 5-page presentation.

    Please take a look at this template I made for a Statement of Qualifications pamphlet.
    Here is a link to google drive. I made this template from scratch in Photoshop CS6.
    SOQ Page_Blank(no lettering).pdf - Google Drive
    What I am curious about, is that some of the lettering often looks blurry, although the page is 500pixels per inch 8.5x11, 76MB .psd file. What can I do about that?
    Also, I want to make it easy to write and edit the actual content that will go onto the page. Not all of us here have photoshop to edit the lettering. Is there a way I can export this to word so they can edit the content whenever? Are there better options (programs) to help me design this template? I am guessing I am somewhat pushing photoshops limit as to making a bound 5-page presentation. I am stuck and would like this to be easier. All suggestions for both of my questions as well as overall action toward making this would be great.
    Here is an example of a SOQ Pamphlet that I have been using as reference. In my eyes the design is perfect!
    http://www.ch2m.com/corporate/markets/environmental/conferences/setac-2013/assets/CH2M-HIL L-land-conservation-restoratio…
    Any help is great,
    Thanks,
    Adam

    Since photoshop can not do pages, your on the right track by using pdf format. Since it can do pages, but really requires acrobat pro to bind the pages together.
    Your best bet is InDesign then Illustrator would be the next option. Each of these can do multi page documents.
    There is absolutely no reason to use 500px/inch for the resolution anything between 150 and 300 would suffice leaning towards 300ppi.
    If the text is blurred a few things that can cause that, 1) anti-aliasing 2) document was created as a low resolution then upsampled 3) text is rasterized 4) document is rasterized.

  • Can you please take a look at my TM Buddy log and opine on what the problem is?

    Pondini,
    Can you please take a look at my TM Buddy log and opine on what the problem is?  I'm stuck in the "Preparing Backup" phase for what must be hours now.  My last successful backup was this morning at 7:16 am.  I did do a series of Software Update this morning, one of which, a security update I believe, required a restart.
    I'm confused as to what the issue is, and how to get everything back to "it just works".
    Many thanks in advance.
    Starting standard backup
    Backing up to: /Volumes/JDub's Drop Zone/Backups.backupdb
    Error: (5) getxattr for key:com.apple.backupd.SnapshotState path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotContainer path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotState path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotContainer path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotState path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotContainer path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotState path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotContainer path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotState path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotContainer path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotState path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotContainer path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotState path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotContainer path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotState path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Error: (5) getxattr for key:com.apple.backupd.SnapshotContainer path:/Volumes/JDub's Drop Zone/Backups.backupdb/Jason Wisniowski’s iMac/2013-05-30-002104
    Event store UUIDs don't match for volume: Area 420
    Event store UUIDs don't match for volume: Macintosh HD
    Error: (5) getxattr for key:com.apple.backupd.SnapshotSt

    Time Machine can't read some data it needs from your backups (each of those date-stamps is one of your backups). 
    That's usually a problem with the drive itself, but could be the directory on it. First be sure all plugs are snug and secure, then see if you can repair it, per #A5 in Time Machine - Troubleshooting. 
    If that doesn't help, post back with the results.  Also either tell us what kind of Mac you have, what version of OSX you're running, or post that to your Profile, so it's accessible.  
    This is unrelated to the original post here, so I'm going to ask the Hosts to split it off into a new thread.  Since you've posted in the Lion forum, I'll assume that's what you're running.  You should get a notice from them

  • TS1292 Hi, can you please take a look at my account and why its asking me to contact support. I have my billing address correct and everything but for some reason its not letting me to authorize my transaction

    Hi, can you please take a look at my account and why its asking me to contact support. I have my billing address correct and everything but for some reason its not letting me to authorize my transaction

    We are all fellow users here and have no way of accessing your account information; iTunes Store employees do not participate in these forums. You will need to do what it says, contact iTunes Support. Go here:
    http://www.apple.com/emea/support/itunes/contact.html
    to contact the iTunes Store.
    Regards.

  • Workaround for some W510 Audio Problems. Lenovo, please take a look at this!

    Hi all
    I believe most or all of the people are affected with poor sound quality of W510. I do believe there are some people who bring their laptops along and not convenient to get a external sound card and external speakers on the road. I am not too sure, but what I think that causes audio problem in W510, T410 or T510 is due to the implementations of Combo Audio/Mic Jack. So far, I have not heard any audio problems from X201 or W701/W701ds with a separate mic and audio jack (1 green and red, instead of 1 combo) Listed machines are using Conexant 20585 SmartAudio HD Sound Card.
    The workaround is to force install Conexant 20561 SmartAudio HD Driver through Device Manager
    http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-73721
    Problem Partially Resolved
    1. Using Audio Director - Classic mode enables you to use both internal speakers and external speakers/headphone simultaneously. (By right, this should be in Multi-Stream mode, due to this driver not programmed for W510). However, the volume of the internal speaker will be reduced by half if an external speakers/headphone is plugged.
    2. The sound quality is improved (tested with internal speakers).
    3. Solved Irregular Volume Problems.
    Drawback of using this driver
    1. Using Multi-Stream mode in this case would not enables you to use both internal speakers and external speakers/headphone simultaneously. However it would just make your internal speaker to be louder. External speaker/headphone would not work if Multi-Stream mode is selected.
    2. Custom EQ is not usable, if used, only the right channel of internal speaker, external speaker/headphone would work, and the sound quality will be like a spoilt radio.
    3. Only Voice (VoIP) EQ is optimized for external speaker/headphone. Using Off, Jazz, Dance or Concert EQ would make you feel that the vocal (singer's voice) is diffused, blurred like excessive 3D effects.
    4. Even if any preloaded EQ is selected, after system has been restarted, the selected EQ would still be saved, but the band (31Hz - 16KHz would be changed back to Off EQ) It is ok as it just affects the graphics, not the sound.
    I know that Forum Administrators, Lenovo Staff, Community Moderators, Gurus and Volunteered Moderators/Users would be surfing around and looking for new post. Please take a look and leave a post or PM to me, thank you very much.
    It is alright if Lenovo don't think that there is any problems regarding the sound in W510. However, I do believe most users/owners of W510 would appreciate if the sound system could be further improved through a better driver or new revision of hardware to something like a T400 standards or something. Some users would spent so much $ just to get all-in-a-box solution and would not want to invest further just for a external card to sacrifice portability and use more $. Finally, I still do believe that W510 audio problems can be resolved.
    Best Regards
    Peter

    Hi ckhordiasma
    Thanks for reviving ths old thread. How about trying Dolby drivers? It sounds great and could possibly resolve those issues without going through too much troubleshooting.
    The link is under my signature.
    Hope it helps!
    Happy 2012! 
    Peter
    W520 (4284-A99)
    Does someone’s post help you? Give them kudos as a reward, as they will do better to improve | Mark it as solved if the solution works for you, so it could be reference for others in the future 
    =====================================
    Sound Enthusiast and Enhancement (Post comments, share mixes, etc.)
    http://forums.lenovo.com/t5/General-Discussion/Dolby-Home-Theater-v4-for-most-Lenovo-Laptops/td-p/62...

  • Mods. Please take a look at this topic

    Hi,
    Please take a look at this topic:
    http://discussions.apple.com/thread.jspa?threadID=422678&tstart=0
    It's becoming 'unfriendly'
    Thanks.
    M

    Hi Kady,
    Thanks for putting the inappropriate parts in the 'Trash'
    M

  • Someone please take a look at this

    Please take a look at this.
    This is my jsp file:
    <%@ page import="java.sql.*" %>
    <%
    String url="jdbc:mysql://localhost/ali";
    String user="root";
    String password="";
    Connection conn=null;
    String classPath="com.mysql.jdbc.Driver";
    try{
         Class.forName(classPath);
         conn = DriverManager.getConnection(url,user,password);
         }catch(Exception exc){
         out.println(exc.toString());
    %>
    <%
         Statement stm=conn.createStatement();
         String update="CREATE TABLE product(id varchar(20) PRIMARY KEY, name char(20))";
         try{
              stm.executeUpdate(update);
              out.println("Successful")
         }catch(Exception exc){
              out.println("sorry loser!!");
         stm.close();
         conn.close();
    %>
    but when I try opening it up in tomcat i get this error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 16 in the jsp file: /mytest/createTable.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    /usr/java/jakarta-tomcat-4.1.31/work/Standalone/localhost/_/mytest/createTable_jsp.java:64: ';' expected
         }catch(Exception exc){
    ^
    1 error
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)

    i've repaired that one already but now i get this.Please....Help me.
    org.apache.jasper.JasperException
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:207)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.NullPointerException
         at org.apache.jsp.createTable_jsp._jspService(createTable_jsp.java:60)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)

  • CSS - Please take a look

    Hey there,
    I am just drafting a web site and I ran into a CSS issue...
    Please take a look here:
    URL:
    http://anuragdesign.com/vitaminx/layouttest.php
    In FF the float of the content / sidebar works
    In IE7 beta it works as well
    BUT in IE6 it doesn't.
    Any idea why ?
    I can't seem to be able to locate it
    Thanks in advance,
    Anurag

    The IE6 box model is to standard. It's IE5x you have to worry
    about.
    > IE 6 adds together the size of the element, the margin
    and the padding.
    > That
    > is, the padding and margin make the element bigger, in
    essence. The
    > standard
    > says that the size of the padding and margin are part of
    the size of the
    > element.
    The two sentences are the same. But the standard says that
    padding and
    border are part of the element's size.
    > So I think the content area is flowing below the sidebar
    because the
    > combined
    > size is greater than the containing area...but only in
    IE6 because of the
    > box
    > model issue.
    On a page with a valid and complete doctype, you will not
    have a box model
    problem with IE6. Its standards mode gets the box model
    right.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "DLoe" <[email protected]> wrote in message
    news:eb0p0j$59t$[email protected]..
    > This could have something to do with the IE 6 box model,
    which isn't to
    > standard.
    >
    > IE 6 adds together the size of the element, the margin
    and the padding.
    > That
    > is, the padding and margin make the element bigger, in
    essence. The
    > standard
    > says that the size of the padding and margin are part of
    the size of the
    > element.
    >
    > So I think the content area is flowing below the sidebar
    because the
    > combined
    > size is greater than the containing area...but only in
    IE6 because of the
    > box
    > model issue.
    >
    >

  • Please take a look here: a lot of picture's from the Mac Pro and Upgrades.

    Just like any other Mac Pro owner, i'am really happy with it!
    Please take a look at my site: http://mac.powerbras.nl
    This is the first site i have ever made (on a Mac) so i hope you will like it!
    Before i had my Mac Pro i would really like too see a little more from the inside. But there where just a few site's with some small pictures. Now i made this site with some high resolution pictures so everyone can see the inside off the Mac Pro and how perfect it is!
    Also you can find the Xbench results from my configuration and all the Apple System Profiler specifications
    Please take a look, you will like it. Especially when you have no Mac Pro!

    Anne,
    Great job on the site.
    There are a number of third party templates available for iWeb that, with some creativity, can yield a site that looks nothing like the template-based norm. An example of one such site, "The Camera Obscura", a site created in iWeb and hosted on .Mac, demonstrates very well the limitless capabilities of iWeb. Some post-publishing html editing has been done on Obscura, but is easily accomplished with the right tools.
    Additional iWeb templates and other tools that support this great application can be found in The iWeb Tool Chest.
    Keep up the great work on your site!
    Mark

  • PieroF - Can you please take a look at M.Mantovani's RT problem?

    Hi Piero.
    M.Mantovani seems to be having problems with FCE 3.5 on his MBP.
    I suspect he is new to FCE. As a fellow countryman and expert with FCE I think you would probably be his best helper.
    Could you take a look at his problems please as I have run out of ideas!
    http://discussions.apple.com/thread.jspa?threadID=570466&tstart=0
    Ian.

    Hi Ian,
    even though too late, I answered the post you pointed to.
    Piero

  • Weird behaviour of getText() ...!!!! PLEASE TAKE A LOOK!!

    Hi.
    my problem is that i have two forms named JF_ChangeAP and DisplayTree. Suppose that JF_ChangeAP has two string variables named XMLFile and ElementDesired... I try to set the value of these two variables from the form DisplayTree(after i've created an JF_ChangeAP object,of course)... Take a look at the following code :
    CODE THAT WORKS:
    ShowAncestorsFrm.XMLFile=this.txtFilePath.getText();
    ShowAncestorsFrm.ElementDesired="Logistics_person";
    CODE THAT DOESN'T WORK:
    ShowAncestorsFrm.XMLFile=this.txtFilePath.getText();
    ShowAncestorsFrm.ElementDesired=this.txtElementDesired.getText();
    (ALTHOUGH I TYPE Logistics_person in the TextField!!!!!)
    I am going crazy...!!!!!!!!!!!!!!!!!!!!!!
    When i debug the value of the ElementDesired in the JF_ChangeAP object is Logistics_person!!!! But it does not work! ! ! ! ! ! ! ! ! ! .......WHY??!?!?!?!?!?!?
    Thnx in advance Guys.!

    your code convetion is arkward..it's hard to tell what is a class and what is an object. you should try not to declar your variable public
    MyClass.myVariable = ""; is not a good idea..and not object oriented (you broke encapsulation)
    since your listing is vague and confussing, i can't really hel you debug your problem. although i'm thinking it's a reference problem..check to make sure you have pass in the correct reference..etc.
    also make sure you created the textfield correctly..
    for example:
    public class Form1 extends JFrame{
        private JTextField textField = new JTextField(10);
        public Form1(){
            JTextField textField = new JTextField(20); 
            // this is wrong..your textfield declared above is not the same one
            // as you add to the frame..so when you call this.textfield.getText(),
            // you are geting the text from the textfield of the instance..not this    
            // local one (which will be displaying in the Frame)
           this.getContentPane.add(textfield);
    }check to make sure the reference to the objects are correct.
    you should redesign your application: here is an example
    public void Form1{
        private JTextField txtFilePath = null;
        private JTextField txtElementDesired = null;
        public Form1(){
            final Form2 = new Form2();
            txtPath = new JTextField();
            txtElementDesired = new JTextField(10);
            JPanel panel1 = new JPanel();
            panel1.add(txtFilePath);
            panel1.add(txtElementDesired);
            JButton = new JButton("Submit");
            button.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent e){
                    form2.setFilePath(txtFilePath.getText());
                    form2.setElementDesired(txtElementDesired.getText());
            JPanel panel2 = new JPanel();
            panel2.add(button);
            this.getContentPane.add(panel1, "Center");
            this.getContentPane.add(panel2, "Center");
        public String getFilePath(){ return txtFilePath.getText(); }
        public String getElementDesired(){ return txtElementDesired.getText(); }
    public class Form2{
        private String elementDesired = null;
        private String filePath = null;
        public void setFilePath(String filePath){
            this.filePath = filePath;
        public void setElementDesired(String elementDesired){
            this.elementDesired = elementDesired;
    }

  • Could anybody please take a look at a test video podcast?

    I'm able to load this into itunes using the advanced tab and download a test video podcast. It's a minute long and 2.6MB in size, and used the MOV>IPOD preset in QT7.
    If anybody could take a look at it and let me know that they can download it and view it on their ipod, I'd appreciate it. I'm also interested to know if the smaller titles are legible to you on your ipod.
    http://subversive-entertainment.com/feed.xml
    Thanks,
    TW

    bb

  • Can someone please take a look at this Unix question?

    https://discussions.apple.com/thread/3600775?tstart=0

    That thread has been noticed before. It all started with a bad suggestion that no one noticed and corrected. Then the post got slightly scrambled in the new forums. Finally, the original poster added some special root powers and a mess ensued.

  • Code to add in to show results I need Please take a look

    Please help
    Here is my code:
    SELECT l.location_no,
      l.zone_code,
      la.area_code,
      DECODE (la.area_code, 'WA-60', 'NODA', 'WA-61', 'NODA', 'WA-62', 'NODA', 'WA-63', 'NODA', 'WA-64', 'NODA', 'WA-65', 'NODA', 'WA-66', 'NODA', 'WA-67', 'NODA', 'WA-68', 'NODA', 'WA-69', 'NODA', 'WA-70', 'NODA', 'WA-71', 'NODA', 'WA-72', 'NODA', 'WA-73', 'NODA', 'WA-74', 'NODA', 'WA-74', 'NODA', 'WA-75', 'NODA', 'WA-76', 'NODA', 'WA-77', 'NODA', 'WA-78', 'NODA', 'WA-79', 'NODA', 'WA-80', 'NODA', 'WA-81', 'NODA', 'WA-82', 'NODA', 'WA-83', 'NODA', 'WA-84', 'NODA', 'WA-REED', 'NODA', 'WA-R2', 'NODA', 'WA-R1', 'NODA', 'WA-BIN', 'NODA', 'PA-CDK', 'NODA', 'WA-PALLET', 'NODA', 'WA-BINRESV', 'NODA', 'DA-REPL', 'GOOD') DAREPL
    FROM MOVE.LOCATION L,
      MOVE.LOCATION_AREA LA
    WHERE l.location_no   = la.location_no
    AND l.zone_code NOT  IN ('Z-BINRES', 'Z-LARGE', 'Z-SMALL', 'Z-HVYOVR', 'Z-ENDCAP', 'Z-LOOSE', 'Z-BRKPAK', 'Z-STRLINE', 'Z-FLAT', 'Z-BULKRES', 'Z-GENERAL', 'Z-2PC', 'Z-BULK', 'Z-SSP', 'Z-RUG', 'Z-LOAD', 'Z-SSPBRK', 'Z-HOLD', 'Z-REC-SSP' )
    AND la.area_code NOT IN ('DA-BULK', 'DA-CANREPL', 'WA-TIER', 'WA-OVRFLOW', 'WA-PALLET2', 'WA-SPRING', 'WA-TIER2', 'WA-DOKPIK', 'WA-DP', 'WA-HOLD', 'PA-OSDHOLD', 'PA-REED', 'RA-REC-CDK', 'WA-PALLET2', 'RECEIVING', 'RECEIVING2', 'WA-BINHOT', 'WA-CANDLE', 'WA-REED', 'WA-BIN2', 'WA-BINCOLD', 'PA-CDK', 'PA-HAZMAT', 'PA-HWR', 'PA-XMASCP', 'WA-PALLET', 'WA-BINRESV', 'WA-BIN', 'WA-BULK', 'WA-BRKPAK', 'PA-BRKPRES', 'PA-CANDLES', 'PA-BIN', 'PA-LOOSE', 'PA-HVYOVR', 'PA-BULKRES', 'PA-BRKPAK', 'WA-01', 'WA-02', 'WA-03', 'WA-04', 'WA-05', 'WA-06', 'WA-07', 'WA-08', 'WA-09', 'WA-10', 'WA-11', 'WA-12', 'WA-13', 'WA-14', 'WA-15', 'WA-16', 'WA-17', 'WA-18', 'WA-19', 'WA-20', 'WA-21', 'WA-22', 'WA-23', 'WA-24', 'WA-25', 'WA-26', 'WA-27', 'WA-28', 'WA-29', 'WA-30', 'WA-31', 'WA-32', 'WA-33', 'WA-34', 'WA-35', 'WA-36', 'WA-37', 'WA-60', 'WA-61', 'WA-62', 'WA-63', 'WA-64', 'WA-65', 'WA-66', 'WA-67', 'WA-68', 'WA-69', 'WA-70', 'WA-71', 'WA-72', 'WA-73', 'WA-74', 'WA-75', 'WA-76', 'WA-77', 'WA-78', 'WA-79',
      'WA-80', 'WA-81', 'WA-82', 'WA-83', 'WA-84', 'WA-R1', 'WA-R2')
    ORDER BY 1and here is some of my output/results:
    LOCATION_NO          ZONE_CODE  AREA_CODE  DAREPL                          
    60-02-101            Z-BIN      DA-REPL    GOOD
    60-02-102            Z-BIN      DA-REPL    GOOD
    60-02-201            Z-BIN      DA-REPL    GOOD
    60-02-202            Z-BIN      DA-REPL    GOOD                      
    60-04-101            Z-BIN      DA-REPL    GOOD                            
    60-04-102            Z-BIN      DA-REPL    GOOD                            
    60-04-201            Z-BIN      DA-REPL    GOOD                            
    60-06-101            Z-BIN      DA-REPL    GOOD                            
    60-06-201            Z-BIN      DA-REPL    GOOD                            
    60-06-202            Z-BIN      DA-REPL    GOOD                            
    60-08-101            Z-BIN      DA-REPL    GOOD                            
    60-08-201            Z-BIN      DA-REPL    GOOD                            
    60-08-202            Z-BIN      DA-REPL    GOOD                            
    60-10-201            Z-BIN      DA-REPL    GOOD                            
    60-10-202            Z-BIN      DA-REPL    GOOD                            
    60-12-102            Z-BIN      DA-REPL    GOOD                            
    60-12-202            Z-BIN      DA-REPL    GOOD  As you can see the first results for 60-02 there are 4 results which means they all have the DA-REPL AREA_CODE column:
    60-02-101
    60-02-102
    60-02-201
    60-02-202
    As you can see with results for 60-04(results 5, 6, and 7) there are only 3 locations that have DA-REPL in the AREA_CODE column. 60-04-202 does not have DA-REPL in the AREA_CODE column, and that is the actual result I am looking for. Short of looking manually through 2-5,000 results and manually finding the results with less than 4 is there any code I can add to help here?
    60-04-101
    60-04-102
    60-04-201
    I have already tried a lot simpler code like LA.AREA_CODE != DA-REPL but as you can see above there are so many LA>AREA_CODE's to deal with and each location has multiple so even if I rul out that one it just gives me that location with another LA.AREA_CODE

    I think you are both on the right track I have been at this for so long I am not a DBA so I can not CREATE TABLE only create query and run them. I am using Oracle sql developer.
    Oracle SQL Developer 3.0.04
    Version 3.0.04
    Build MAIN-04.34
    When I run your Code Frank Kulash which looks like this if I did it right which I believe I did.
    WITH     got_cnt          AS
         SELECT  COUNT (*) OVER (PARTITION BY  SUBSTR (l.location_no, 1, 5))     AS cnt
         ,     l.location_no
         ,     ...  (SELECT l.location_no,
      l.zone_code,
      la.area_code,
      DECODE (la.area_code, 'WA-60', 'NODA', 'WA-61', 'NODA', 'WA-62', 'NODA', 'WA-63', 'NODA', 'WA-64', 'NODA', 'WA-65', 'NODA', 'WA-66', 'NODA', 'WA-67', 'NODA', 'WA-68', 'NODA', 'WA-69', 'NODA', 'WA-70', 'NODA', 'WA-71', 'NODA', 'WA-72', 'NODA', 'WA-73', 'NODA', 'WA-74', 'NODA', 'WA-74', 'NODA', 'WA-75', 'NODA', 'WA-76', 'NODA', 'WA-77', 'NODA', 'WA-78', 'NODA', 'WA-79', 'NODA', 'WA-80', 'NODA', 'WA-81', 'NODA', 'WA-82', 'NODA', 'WA-83', 'NODA', 'WA-84', 'NODA', 'WA-REED', 'NODA', 'WA-R2', 'NODA', 'WA-R1', 'NODA', 'WA-BIN', 'NODA', 'PA-CDK', 'NODA', 'WA-PALLET', 'NODA', 'WA-BINRESV', 'NODA', 'DA-REPL', 'GOOD') DAREPL
    FROM MOVE.LOCATION L,
      MOVE.LOCATION_AREA LA
    WHERE l.location_no   = la.location_no
    AND l.zone_code NOT  IN ('Z-BINRES', 'Z-LARGE', 'Z-SMALL', 'Z-HVYOVR', 'Z-ENDCAP', 'Z-LOOSE', 'Z-BRKPAK', 'Z-STRLINE', 'Z-FLAT', 'Z-BULKRES', 'Z-GENERAL', 'Z-2PC', 'Z-BULK', 'Z-SSP', 'Z-RUG', 'Z-LOAD', 'Z-SSPBRK', 'Z-HOLD', 'Z-REC-SSP' )
    and la.area_code not in ('DA-BULK', 'DA-CANREPL', 'WA-TIER', 'WA-OVRFLOW', 'WA-PALLET2', 'WA-SPRING', 'WA-TIER2', 'WA-DOKPIK', 'WA-DP', 'WA-HOLD', 'PA-OSDHOLD', 'PA-REED', 'RA-REC-CDK', 'WA-PALLET2', 'RECEIVING', 'RECEIVING2', 'WA-BINHOT', 'WA-CANDLE', 'WA-REED', 'WA-BIN2', 'WA-BINCOLD', 'PA-CDK', 'PA-HAZMAT', 'PA-HWR', 'PA-XMASCP', 'WA-PALLET', 'WA-BINRESV', 'WA-BIN', 'WA-BULK', 'WA-BRKPAK', 'PA-BRKPRES', 'PA-CANDLES', 'PA-BIN', 'PA-LOOSE', 'PA-HVYOVR', 'PA-BULKRES', 'PA-BRKPAK', 'WA-01', 'WA-02', 'WA-03', 'WA-04', 'WA-05', 'WA-06', 'WA-07', 'WA-08', 'WA-09', 'WA-10', 'WA-11', 'WA-12', 'WA-13', 'WA-14', 'WA-15', 'WA-16', 'WA-17', 'WA-18', 'WA-19', 'WA-20', 'WA-21', 'WA-22', 'WA-23', 'WA-24', 'WA-25', 'WA-26', 'WA-27', 'WA-28', 'WA-29', 'WA-30', 'WA-31', 'WA-32', 'WA-33', 'WA-34', 'WA-35', 'WA-36', 'WA-37', 'WA-60', 'WA-61', 'WA-62', 'WA-63', 'WA-64', 'WA-65', 'WA-66', 'WA-67', 'WA-68', 'WA-69', 'WA-70', 'WA-71', 'WA-72', 'WA-73', 'WA-74', 'WA-75', 'WA-76', 'WA-77', 'WA-78', 'WA-79',
      'WA-80', 'WA-81', 'WA-82', 'WA-83', 'WA-84', 'WA-R1', 'WA-R2'))
    SELECT    location_no, zone_code, area_code, darepl
    FROM       got_cnt
    WHERE       cnt     < 4
    ORDER BY  location_no
    ;The result/output is an error:
    ORA-00936: missing expression
    00936. 00000 - "missing expression"
    *Cause:   
    *Action:
    Error at Line: 5 Column: 29
    The same with your code Peter vd Zwan if I did it correctly:
    SELECT l.location_no,
      l.zone_code,
      la.area_code,
      DECODE (la.area_code, 'WA-60', 'NODA', 'WA-61', 'NODA', 'WA-62', 'NODA', 'WA-63', 'NODA', 'WA-64', 'NODA', 'WA-65', 'NODA', 'WA-66', 'NODA', 'WA-67', 'NODA', 'WA-68', 'NODA', 'WA-69', 'NODA', 'WA-70', 'NODA', 'WA-71', 'NODA', 'WA-72', 'NODA', 'WA-73', 'NODA', 'WA-74', 'NODA', 'WA-74', 'NODA', 'WA-75', 'NODA', 'WA-76', 'NODA', 'WA-77', 'NODA', 'WA-78', 'NODA', 'WA-79', 'NODA', 'WA-80', 'NODA', 'WA-81', 'NODA', 'WA-82', 'NODA', 'WA-83', 'NODA', 'WA-84', 'NODA', 'WA-REED', 'NODA', 'WA-R2', 'NODA', 'WA-R1', 'NODA', 'WA-BIN', 'NODA', 'PA-CDK', 'NODA', 'WA-PALLET', 'NODA', 'WA-BINRESV', 'NODA', 'DA-REPL', 'GOOD') DAREPL
    FROM MOVE.LOCATION L,
      MOVE.LOCATION_AREA LA
    WHERE l.location_no   = la.location_no
    AND l.zone_code NOT  IN ('Z-BINRES', 'Z-LARGE', 'Z-SMALL', 'Z-HVYOVR', 'Z-ENDCAP', 'Z-LOOSE', 'Z-BRKPAK', 'Z-STRLINE', 'Z-FLAT', 'Z-BULKRES', 'Z-GENERAL', 'Z-2PC', 'Z-BULK', 'Z-SSP', 'Z-RUG', 'Z-LOAD', 'Z-SSPBRK', 'Z-HOLD', 'Z-REC-SSP' )
    and la.area_code not in ('DA-BULK', 'DA-CANREPL', 'WA-TIER', 'WA-OVRFLOW', 'WA-PALLET2', 'WA-SPRING', 'WA-TIER2', 'WA-DOKPIK', 'WA-DP', 'WA-HOLD', 'PA-OSDHOLD', 'PA-REED', 'RA-REC-CDK', 'WA-PALLET2', 'RECEIVING', 'RECEIVING2', 'WA-BINHOT', 'WA-CANDLE', 'WA-REED', 'WA-BIN2', 'WA-BINCOLD', 'PA-CDK', 'PA-HAZMAT', 'PA-HWR', 'PA-XMASCP', 'WA-PALLET', 'WA-BINRESV', 'WA-BIN', 'WA-BULK', 'WA-BRKPAK', 'PA-BRKPRES', 'PA-CANDLES', 'PA-BIN', 'PA-LOOSE', 'PA-HVYOVR', 'PA-BULKRES', 'PA-BRKPAK', 'WA-01', 'WA-02', 'WA-03', 'WA-04', 'WA-05', 'WA-06', 'WA-07', 'WA-08', 'WA-09', 'WA-10', 'WA-11', 'WA-12', 'WA-13', 'WA-14', 'WA-15', 'WA-16', 'WA-17', 'WA-18', 'WA-19', 'WA-20', 'WA-21', 'WA-22', 'WA-23', 'WA-24', 'WA-25', 'WA-26', 'WA-27', 'WA-28', 'WA-29', 'WA-30', 'WA-31', 'WA-32', 'WA-33', 'WA-34', 'WA-35', 'WA-36', 'WA-37', 'WA-60', 'WA-61', 'WA-62', 'WA-63', 'WA-64', 'WA-65', 'WA-66', 'WA-67', 'WA-68', 'WA-69', 'WA-70', 'WA-71', 'WA-72', 'WA-73', 'WA-74', 'WA-75', 'WA-76', 'WA-77', 'WA-78', 'WA-79',
      'WA-80', 'WA-81', 'WA-82', 'WA-83', 'WA-84', 'WA-R1', 'WA-R2') as
      select '60-02-101' location_no, 'Z-BIN' zone_code, 'DA-REPL' area_code, 'GOOD' darepl from dual union all
      select '60-02-102', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
      select '60-02-201', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all
      select '60-02-202', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                      
      select '60-04-101', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-04-102', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-04-201', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-06-101', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-06-201', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-06-202', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-08-101', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-08-201', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-08-202', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-10-201', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-10-202', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-12-102', 'Z-BIN', 'DA-REPL', 'GOOD' from dual union all                            
      select '60-12-202', 'Z-BIN', 'DA-REPL', 'GOOD' from dual
    select
      substr(location_no,1,5)
    from
      your_query
    group by
      substr(location_no,1,5)
    having
      count(*) < 4
    order by
      substr(location_no,1,5)
    ;Result/output
    ORA-00933: SQL command not properly ended
    00933. 00000 - "SQL command not properly ended"
    *Cause:   
    *Action:
    Error at Line: 20 Column: 62
    Yes I want to "show the rows where the frist 5 characters of location_no (such as '60-04') appear on fewer than 4 rows?" which would narrows my results down considerably but alternatively I would want to see which result is missing like in the case of my OP 60-04-202 was not showing because it did not have DA-REPL in the LA.AREA_CODE column so the result I would like most would be to omit the other 3 and only show the one that was missing.
    Maybe I this is just not possible but if you could still help me with getting these examples you have give me to work I would be forever greatful this has been an ongoing project I am not new to development or coding but Database development is completely new to me.

Maybe you are looking for

  • Amendment of po

    hi frends,am working on a smartform for creating a purchase order and my requirement is as follows. Printing will be automatic after a PO has been saved. Amendment – If a PO has been changed an Amendment PO should be triggered. The Title of the PO sh

  • Coying Database to another server

    Dear All, I want trying to copy database to another server but i got error Login failed for user 'domainName\ComputerName$' I already use domain administrator to both of server and already create user login in both server. Both of the login is domain

  • I purchase my photoshop elements 13 but not able to open it

    Can someone help me download my photoshop elements 13

  • ICal 2.0.1 can't remove an event

    I was invited to an event and I accepted the invite and it imported into iCal, now I have a notification ! in iCal every time I open iCal and I can not get this event off my calender.

  • How to eliminate unwanted menu bar icons?

    When I installed all the software for my new Canon MP640 printer-copier-scanner it put a "Canon IJ Network Scanner Selector" icon in the menu bar. It doesn't seem to do much - and I really don't want another nanometer of space taken-up by unwanted me