Sorry, but do you realize what would happen here if every single topic that belongs to more category than one is posted twice?
As you didn’t provide your code, so I can’t check what you did, the only answer I can give is “there’s a mistake in there”.
After placing the code into html without pusher of the content, where and how do you apply the java code. Haven’t realized that the subsections aren’t dedicated to help, instead there’s a thread for the “pathetic”.