This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 41063
    
  43
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: 24183
    
  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
 
Similar Threads
Just finished my first GUI program (a planner application) ... could you give me feedback?
could someone look at my code and help me with a JScrollPane in a JTextPane please?
completely lost in terms of trying to understand Collections.synchronizedList
how to align components in GridBagLayout in JAVA swing
simple GridBagLayout question