User Profile

Collapse

Profile Sidebar

Collapse
dmstn
dmstn
Last Activity: Mar 14 '08, 08:18 PM
Joined: Feb 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Easiest 'OS Java Programs' to develop? - HELP

    Hello,

    I have to pick an open source java program (e.g. from sourceforge.net ) and work on a project, add a new utility to that program etc. Which ones are the easiest to work on? Waiting for you suggestions...
    Thnks
    See more | Go to post

  • dmstn
    replied to Java Servlet Problem. Help anyone?
    in Java
    How am I gonna make it print values from the database using the searchProcess method of Dbconnector file?
    I'm stuck.

    So you say that It's better to make a seperate java servlet file that will take the SearchReceiver input and use the method etc? Am I right?...
    See more | Go to post

    Leave a comment:


  • dmstn
    started a topic Java Servlet Problem. Help anyone?
    in Java

    Java Servlet Problem. Help anyone?

    Hey! I've got a little problem. I have to make a web site for a university essay. I curently have to create a search engine. Users can enter a hotel name in a search bar and results have to appear in another screen. All of this has to be done with java servlets. I think there's something I don't see and it's wrong. My problem is that anything I enter in the search bar appears as a result in the results page, even if there's not such a name in the...
    See more | Go to post

  • dmstn
    replied to throw an exception in code
    in Java
    Alternatively you could do something like that. You could create a method that gets your input. I mean when you enter the grade that method is going to receive it and will look like that:

    Code:
     
    
    import java.util.Scanner;
    
    public class Grades {
    
         int x;
         Scanner x = new Scanner(System.in);
        public getGrades(int grade) [B]throws GradesException[/B]
        { 
          System.out.println("Enter
    ...
    See more | Go to post

    Leave a comment:


  • Ah, I see. Useful.
    But yeah. The DOS window disappeared quickly when I ran the program.
    Thanks anyway.
    See more | Go to post

    Leave a comment:


  • "Compile Java" and "Run Java Application" options in Notepad ++ ?

    Is it possible to add those options in Notepad ++ ?
    Your help would be appreciated very much.
    Thanks in advance.
    See more | Go to post

  • Thanks for the heads up.
    I'm having a look at that at the moment. I think that the getParameterMet aData() function could help me retrieve the value of that variable and use it in the SQL query. I tried to use it but I can't find a solution. Okay I'll post my code:

    This java program connects to a SQL Server Database. It wants us to insert a Customer Code and then delete that customer. That's what I've done so far:
    ...
    See more | Go to post

    Leave a comment:


  • I didn't mean to be rude. It's just that I need help as soon as possible.
    See more | Go to post

    Leave a comment:


  • Come on. Just tell me if this can be done and if yes, how it can be done. I need help.
    See more | Go to post

    Leave a comment:


  • Use of Java Variables In A SQL Server Database. Help!!!

    My question is:
    Is there a way to use the value of a java variable in a SQL query??
    I mean. There is a java program. Can I retrieve the value of that variable and use it in a SQL query? Your help will be so much appreciated.

    Thanks in advance. ;)
    See more | Go to post

  • dmstn
    replied to recommend any books???
    in Java
    Best book for a starter:
    "Java 2: A Beginner's Guide"
    by Herbert Schildt

    Have a look here
    See more | Go to post

    Leave a comment:


  • dmstn
    replied to Help with Lists/Collections
    in Java
    Nevermind. Just fixed it. It's basically what you said and one thing. list.get(). I forgot about that. Thanks for your help, though.

    import java.util.*;

    public class Seizure {
    public static LinkedList imbuement(Array List <Integer>list 1, boolean []a, boolean []b) {
    LinkedList<Inte ger> list2 = new LinkedList<Inte ger>();
    for(int i = 0; i <= a.length -1; i++)...
    See more | Go to post

    Leave a comment:


  • dmstn
    replied to Beginner to java - HELP!
    in Java
    Try that one:
    www.onlinecompu terbooks.com
    See more | Go to post

    Leave a comment:


  • dmstn
    replied to Help with Lists/Collections
    in Java
    Ahh. It keeps saying that I haven't wrote the function as it asks.
    Is there anyone who can find my little mistake? Please read what the exercise asks. I have done pretty much everything that is needed but...
    See more | Go to post

    Leave a comment:


  • dmstn
    replied to Help with Lists/Collections
    in Java
    I tried it, but it's still wrong. It says that the function "imbuement" hasn't been created according to what the exercise asks.
    Mistake message: null
    See more | Go to post

    Leave a comment:


  • dmstn
    started a topic Help with Lists/Collections
    in Java

    Help with Lists/Collections

    Okay. I'm a new user here. I want some help. I have an assignment to do. I'm good so far but I miss something. Okay:
    We have to create a public class named "Seizure". This class contains a public and static method named "imbuement" . This method has got 3 specifiers. The first is a collection(Arra ylist <Integer>), and the other 2 specifiers are arrays(type: double). That collection has the same amount of elements with...
    See more | Go to post
No activity results to display
Show More
Working...