This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Applets and the fly likes java applet redirect fails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "java applet redirect fails" Watch "java applet redirect fails" New topic
Author

java applet redirect fails

Rasta Kalo
Greenhorn

Joined: May 20, 2007
Posts: 5
I coded a java challenge for my site, the thing is that the program doesn't redirect to the appropriate page when the user decompiled the applet, and entered the right password...here's the source:

It's obvious that I'm doing something wrong, ne1???

thnx in advance!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42371
    
  64
Can you describe what the applet is supposed to do, and what it is currently doing? I don't understand the remark about decompilation and passwords.


Ping & DNS - my free Android networking tools app
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

There's no code that calls "validateUser()", and there's no code that displays another page; there's just code that shows a GUI, but that GUI doesn't do anything. Were you assuming that something, somehow, automatically, would call "validateUser()"?


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java applet redirect fails