peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Please, please, do not do any connection to database from JSP, it is bad thing. JSP is for presentation purposes, it is servlet that should be used for logic (on server validation, database communication)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

That something you forgot to mention...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Apache is standard solution and very easy. Both PHP and Apache website provide good guides how to get both components setup. Then there is their forum, many online tutorials, numerous amount of books. If that is not good enought then there are friendly solutions such as XAMPP (Apache, PHP, MySQL and PHPMyAdmin instaled and setup in one go, ready to use)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Confirm with this tutorial that you correctly installed Apache. PHP, MySQL and phpMyAdmin (ignore JSP section), or simply remove all install and use XAMPP to get all components installed and set for you

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Wouldn't be that because you disabled scrolling? Did you try to set it as auto?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I have also failed to run my script offline my firefox through abyss. Help please!!
Steve:(

Steve do you have Apache server installed on your machine with PHP setup?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Simple suggestion: let user enter number in text field, read then employee number from text field, validate it in servlet, compare with existing records, then:

  1. if number exists, return and display employee record
  2. else, return error message "Submited number doesn't exists" and you may ask for new number
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Yous are all missing the main point in the first post (except jbennet).

@Vic842 - first learn HTML and CSS, have quick look on JavaScript to get feeling what programming can be like. Once you familiar with these technologies check out PHP, advanced JavaScript and AJAX, and choose what is most suitable to you. If you have spare time have aslo look on XML and databases (MySQL for example)

Please read all the post before jumping into discussion and make suggestions :@ :angry:

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@guerreronoli congratulation of you being hyper-active and breaking the fun of the game when Karkalash was supposed to come with solution on his own with little help that he already received... Beside would be nice if you spend sometime reading forums rules, there little section that says For easy readability, always wrap programming code within posts in CODE tags.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

First post you asked for JavaScript now you want PHP so what is gone be?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Have look at StringBuilder?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

is it jus school assignment or real project? why asked, in school project the check out does not have to be in deep, also in mean time you can have look on some of these links

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Hi friend
kindly help to deploy in weblogic server9.0
send me the steps

You need to be little more specific about your problem...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Can Anyone help me out in creating aa new website. I can create using html but i need to learn how to use dynamic pages. Cna anyone let me know how can i get started??

You will need to decide what technology you wish to learn in order to get dynamic content PHP/ASP/JSP. I would recommend JPS but then you would need to know Java, but I expect you do not so this would long time shot. So you left either with ASP or PHP. I'm not realy "microsoft fanboy", I think many of they approaches are overkill so I would suggest to learn PHP. You can piick up basics at w3schools.com, there many other online resources also if you prefer hard copy there are many books to choose from

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Please share your solution

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Please share solution, it may help somebody...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Would be nice if you can share your solution with us...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Why don't you ask the guy who is running it? This not sort of thing evrybody do, I would expect to be lot of coding and you should be familiar with video streaming and such...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You need to speak with your webhosting admin if he can do it for you (depends on company policy), this something that you as the client have no access to...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I'm not sure about this, I would say that address to servlet on your server would do...
have look at this article from nokia Getting Started with MMS

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Download SQL Server Management Studio Express that will do the magic (its free)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Ouch, you just hurt my feelings....
Why you not using MySQL, it is more easier to work with (in my opinion). If you wish to stay with MsSQL you need to get your self ODBC connector and learn to use it

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Put both programs as attachments to your next...(plus any other java files need it to run)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You just forgot to mention that beside that you getting another 30 errors, not nice of you...

--------------------Configuration: <Default>--------------------
C:\Downloads\othello.java:692: illegal start of type
        else if (checkWhichPlayer()==false)
        ^
C:\Downloads\othello.java:692: ';' expected
        else if (checkWhichPlayer()==false)
            ^
C:\Downloads\othello.java:692: illegal start of type
        else if (checkWhichPlayer()==false)
                ^
C:\Downloads\othello.java:692: ';' expected
        else if (checkWhichPlayer()==false)
                                   ^
C:\Downloads\othello.java:731: illegal start of type
        return true;       
        ^
C:\Downloads\othello.java:731: ';' expected
        return true;       
              ^
C:\Downloads\othello.java:734: class, interface, or enum expected
public boolean checkForSq()
       ^
C:\Downloads\othello.java:742: class, interface, or enum expected
                    return false;
                    ^
C:\Downloads\othello.java:743: class, interface, or enum expected
                 }       
                 ^
C:\Downloads\othello.java:745: class, interface, or enum expected
       }
       ^
C:\Downloads\othello.java:747: class, interface, or enum expected
public void checkForWin() 
       ^
C:\Downloads\othello.java:750: class, interface, or enum expected
            for ( i=0 ;i < 64 ;i++ )
                       ^
C:\Downloads\othello.java:750: class, interface, or enum expected
            for ( i=0 ;i < 64 ;i++ )
                               ^
C:\Downloads\othello.java:755: class, interface, or enum expected
                }
                ^
C:\Downloads\othello.java:759: class, interface, or enum expected
                }
                ^
C:\Downloads\othello.java:763: class, interface, or enum expected
            if(redButtons < YellowButtons)
            ^
C:\Downloads\othello.java:766: class, interface, or enum expected
    }
    ^
C:\Downloads\othello.java:775: class, interface, or enum expected
                 if (i == 2 )
                 ^
C:\Downloads\othello.java:777: class, interface, or enum expected
                 if (i == 3 )
                 ^
C:\Downloads\othello.java:779: class, interface, or enum expected
                 if (i == 4 )
                 ^
C:\Downloads\othello.java:781: class, interface, or enum expected
                 if (i == 5 )
                 ^
C:\Downloads\othello.java:784: class, interface, or enum expected
    }
    ^
C:\Downloads\othello.java:788: class, interface, or enum expected
public static void main(String args[]) {
              ^
C:\Downloads\othello.java:790: class, interface, or enum expected …
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

1) If you wish to attach any images in the future please use facilities available on this forum, when you press "Go Advanced" button bellow post editing area you will find another button "Manage Attachments". Reason - links to any external reasorces provided by poster stop working/content get removed etc
2) it is exactly what I said provide any parameters for the method in Blackjack.java method should be called public void start() not public void start(String[] args) you not passing any string array from GridWindow.java

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I think you missed one important part of the forum rules and specialy Seftware Development section, which says

Also, to keep DaniWeb a student-friendly place to learn, don't expect quick solutions to your homework. We'll help you get started and exchange algorithm ideas, but only if you show that you're willing to put in effort as well.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Why do you have CSS outside of head tag? It should be inside header tag or use inline option (inside the tag you wish to adjust with css)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

w3schools again get some new visitor. Follow supplied link for tutorials

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You will want something like:

Blackjack bj = new Blackjack();
bj.start();

and have a start() method in your blackjack class that basically runs the game (ie swaps to the Blackjack panel as Ezz suggested earlier).

Isn't this exactly as my code, I wonder :?:

That's the trouble I am having, I don't know how to run another class (Besides double clicking on it). Is it basic Java knowledge?

I presume that each of your games has its own main method, if so just swap public void main() for public void start() plus any parameters you wish to pass and receive

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Then I would recommend to not to start this project

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

It is more of question what database you using MySQL/MsSQL/Oracle

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

look like none of u prefer JSP.
i am intership in a company, the they want me to use JSP....

JSP make me busy for learning from the basic....

Well if you checked my profile you would find that I'm JAVA lover. I did not suggested to use JSP as Vic842 has no previos programming knowledge. For him it would be long term shot or suicide to do any development in JSP as he first would need to get some JAVA background.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

No if you can create one for your self, but I would not recommend that. Better to stick with connectors....

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

JavaScript is not Java or JSP ! ! ! Post moved to JavaScript section...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Not realy, what you have to do is created an animation that will be based on physics.
Such as if there was very small path to travel from leg starting position to the point of contact with ball, ball will jump less. However if there is longer path to "travel" delivered kick will be stronger. If you cen get this for start that would be good, then you can try add some other conditions

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

1) Screeming for help doesn't work, we have ours lifes too. Don't we?
2) SAX tutorials www.java2s.com

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

This is more of html question, but here you go...
Most of html tags can use ID or NAME to store identifications that can be read and sent with form for processing such as

<form>
<input type="radio" id="sex" name="sex" value="male"> Male
<br>
<input type="radio" id="sex" name="sex" value="female"> Female
</form>

Combined with PHP/JSP/ASP you can find out which value belongs to which element

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
public void actionPerformed(ActionEvent ae)
{
    if(ae.getActionCommand().equals("CardGame")
    {
        CardGame cg = new CardGame();
        cg.startCardGame();
      }
     else if(ae.getActionCommand().equals("Hangman")
      {
          Hangman hg = new Hangman();
          hg.startHangmanGame();
        }
        else
        {
            AnotherGame ag = new AnotherGame();
             ag.startAnotherGame();
          }
}
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

ahh, it's not gone be so bad...
jbennet is good guy wih huge interest in IT, I'm impresed with his coding skills and the large knowledge of hardware (setup, performance, issues)
if he can keep his interest in IT, he will success in industry very soon

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Then I recommend you go through w3schools tutorials on wap and get your hands on XML

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

To understand WML Script you first need to know WAP. Are you trying to do mobile web development?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Ehmm, that is icon not an image. This is discused on the forum often lately, you can search daniweb for it

PS: For example here http://www.daniweb.com/forums/thread119371.html

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Is there any reason you wish to learn WML?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

for criminals like jbennet ;)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@jbennet - this sort of topic students do from all over the world, it is just UK that is realy behind, or put it this way they are lowering expectations each year (most common BSc project is shopping website with some database, with bad functionality and horible design, seen it last year when I did my BSc, seeing this year while finishing MSc)

So you thinking in Java and some networking, what about bluetooth ad-hoc network, take scenario there is bad catastrophy that took out mobile network in the are. People need to setup communication, most commont thing on mobile phone beside camera and walkman is bluetooth. Communication through BT is not complex what is challenging is how you gone manage record of available connections, routes to other people, number of hops and how you gone manage trafic?

Nick Evan commented: excellent suggestion +4
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Here are some search results

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Just gone drop a stone in the lake, I would go for PHP and MySQL, reason so far I found it MySQL better choice then MsSQL, secondly I'm not big supporter of ASP as website base, I find this technology mostly very slow

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

No need, not many people would actualy know that

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

David Mitnick to which you reffer did not gain access with his coding skills (as many thinks he is not a skilled coder) but by social engineering. That is huge defference...
Anyway, I do not think you in right place for these sort of people

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@pancgom , why aren't you using array to store name of countries and then simple loop through array and insert them in drop down menu (foreach statement would be handy). Similar applies to date, month and year as they are numeric values, you can use for loop have look on these examples
If you do so, you will dramaticaly cut down number of lines in present code