Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

40 Visitor Messages

  1. View Conversation
    Hi, I'm kolo854.
    can you help me to take a look on my java problem?
    thanks..
  2. View Conversation
    hi my friend
    can u help me to doing my java assignment
    really its so hard i can't do this
  3. View Conversation
    Hello,

    i have installed tomcat 6.0, i am getting following error while running application.



    java.lang.NullPointerException
    org.apache.jsp.login_jsp._jspInit(login_jsp.java:2 3)
    org.apache.jasper.runtime.HttpJspBase.init(HttpJsp Base.java:52)
    org.apache.jasper.servlet.JspServletWrapper.getSer vlet(JspServletWrapper.java:159)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:342)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:267)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)

    regards,
    shakuntala
  4. View Conversation
    Corrrection:
    a+b should be (a+b), a+b*c should be (a+(b*c)), a+b*c/d will be (a+(b*(c/d))).

    For the toString().

    I think I'm recursively calling the toString() somehow.

    Any ideas of how to do it? I'm kinda strapped for time and also am very tired right now from an English project which will have to have a not-so-hot rough draft being turned in tomorrow. The programming one is due tomorrow at 11:59 p.m. but I have 3 classes tomorrow.

    All I think I need to get done now is the toString() and the buildTree().
  5. View Conversation
    I've figured that when there is only one operator left or something, see posts, then I'm to set that one as the root.

    But I don't quite know how to work the build tree method.

    I can say that somehow for the toString()

    a
    I get

    (a)

    (a + b)

    I get
    (a+b)

    for a*b + c

    I get ((a*b) + (c))

    for (a+b) / (c%d)

    I get

    ((a+b) / (c%d))
  6. View Conversation
    Please stop ignoring me!
  7. View Conversation
    Thanks very much I think I'll find something.
  8. View Conversation
    Cannot figure out what to do.
  9. View Conversation
    Dear copeg I wanna participate java projects as a volunteer. Do u have any ideas or do u know any sites where I can join?
Showing Visitor Messages 21 to 30 of 40
Page 3 of 4 FirstFirst 1234 LastLast
Page 3 of 4 FirstFirst 1234 LastLast
About copeg

Basic Information

About copeg
Biography:
Biologist by training, Computer Scientists at heart.
Location:
US
Java Skill Level:
Advanced

Signature


Statistics


Total Posts
Total Posts
5,318
Posts Per Day
0.96
Visitor Messages
Total Messages
40
Most Recent Message
May 20th, 2014 11:31 AM
Total Thanks
Total Thanks
181
  • Thanked 833 Times in 772 Posts
General Information
Last Activity
October 10th, 2014 08:35 PM
Join Date
October 16th, 2009

5 Friends

  1. Andrew Thompson Andrew Thompson is offline

    Junior Member

    Andrew Thompson
  2. freakycoder freakycoder is offline

    Junior Member

    freakycoder
  3. JavaPF JavaPF is offline

    mmm.. coffee

    JavaPF
  4. OA-OD-JD1 OA-OD-JD1 is offline

    Member

    OA-OD-JD1
  5. switcha switcha is offline

    Junior Member

    switcha
Showing Friends 1 to 5 of 5
View copeg's Blog

Recent Entries

The Groovy in Java

by copeg on June 22nd, 2011 at 09:53 PM
Although scripting languages seem like dime a dozen, there is always that learning curve to become familiar (let alone an expert) with a new language. For those who are more familiar with java - enter groovy. Groovy is a powerful higher level language based upon java, making certain tasks trivial to accomplish relative to the low level java equivalent. The power of groovy comes into play in its ability to plug-into java, and be plugged into from java. Groovy can access class files and libraries,

Read More

Updated June 23rd, 2011 at 09:07 AM by copeg

Categories
Scripting

Logging

by copeg on May 30th, 2011 at 12:22 PM
Logging is a great method to monitor the progress of a program while at the same time maintaining flexibility to control the output. Simply put, logging is just printing out statements during the runtime of an application. In another blog I described a simplistic method for logging - using System.out.println. More advanced logging libraries however go beyond just printing to the console - their flexibility allows control of when, how, and where to log.

Many logging libraries exist,

Read More

Updated May 31st, 2011 at 07:32 PM by copeg

Categories
Debugging

The Monty Hall Problem

by copeg on May 16th, 2011 at 07:29 PM
The Monty Hall problem is a statistical problem which originates from the television Game show Lets Make a Deal, hosted by Monty Hall. The game is simple: a contestant is presented 3 closed doors, behind one of which is a valuable prize (oftentimes described as a car, whereas the other doors have goats behind them). A contestant chooses a door. The host then opens one of the doors you did not choose, which does NOT contain the prize. Then the host asks - do you want to change your decision? What

Read More

Updated May 16th, 2011 at 07:32 PM by copeg

Categories
Simulations

How and why an SSCCE?

by copeg on March 27th, 2011 at 10:21 AM
The term SSCCE gets thrown around a lot in online programming forums. Its a simple acronym that stands for Short, Self Contained, Correct Example. But what is so important about an SSCCE? For starters, creating an SSCCE provides a very simple example that clearly demonstrates a given problem, helping one receive help and advice much quicker. But it also goes far beyond just that. Often just the process alone of writing an SSCCE will unveil the problem at hand. But even more important, the process

Read More

Categories
Debugging

Debugging with System.out.println

by copeg on March 10th, 2011 at 12:29 PM
System.out.prinln is quite possibly the most useful debugging tool there is - especially for the beginner programmer with no knowledge of other tools such as debuggers, assertions, and/or loggers. System.out.println prints to the command line the values passed to the method as an argument (if an object is passed, the String returned by Object.toString() is printed). For debugging, this tool allows the programmer to evaluate a variable value at a certain position in the code. But that's only the

Read More

Updated March 11th, 2011 at 09:25 PM by copeg

Categories
Debugging