Hallo!
ist das möglich ???
Ich denke doch! :-)
Beim Submit wird ein kleines JavaScript aufgerufen (Eventhandler "onSubmit"), dass diese Verbindung der beiden Adressbestandteile übernimmt:
location.href = "http://62.146.223.114:9090/servlet/fwchat?d1=showreg&d2=" + wert
Gruß, der Juve
Ich find den Fehler nicht, weißt du was hierdran falsch ist ?...
Mit Java bin ich nicht gerade der Profi... ? dummdreinschau
Du musst mir nicht alles vorkauen, aber könntest du mir aufschreiben wie ich die Eingabezeile mit mit dem java nun so hinbekomme, dass er mir halt das wort am ende der url dranhängt und dann automatisch öffnet ?
der html-code sieht so aus:
ganz am ende das formular (nur zun test halt, aber irgendwie muss das doch gehen) :(
-- <title>Spacefunchat - Willkommen</title> <meta http-equiv="refresh" content="30; URL=http://--host--/servlet/fwchat?d1=welcome0&d2=tommy"> <style> <!-- .tabtex {font-family:Verdana,Arial;font-size:9pt;color:#800000;line-height :12pt;}
--> </style>
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" bgproperties="fixed" background="http://www.mg-portal.de/images/background/background_darkblue_white.gif">
<p> </p> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="45%" id="AutoNumber2" height="19"> <tr> <td width="7%" height="1"></td> <td width="110%" height="1"><font face="Verdana" size="2">Willkommen</font> <b> <font size="2" face="Verdana">--username--</font></b> <font face="Verdana" size="2">! </font></td> </tr> <tr> <td width="7%" height="1"></td> <td width="110%" height="1"></td> </tr> <tr> <td width="7%" height="1"></td> <td width="110%" height="1"><font face="Verdana" size="2">Dein letzter Besuch war am</font> <b> <font size="2" color="#CC3300" face="Verdana">--lastlogin--</font></b></td> </tr> <tr> <td width="7%" height="1"></td> <td width="110%" height="1"></td> </tr> <tr> <td width="7%" height="1"></td> <td width="110%" height="1" bgcolor="#000080"><b> <font face="Verdana" size="2" color="#FFFFFF">Deine Übersicht auf einem Blick.....</font></b></td> </tr> <tr> <td width="7%" height="14"></td> <td width="110%" height="14"></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="86%" id="AutoNumber2" height="1"> <tr> <td width="4%" height="19"> </td> <td width="19%" bgcolor="#000080" height="19"><b> <font face="Verdana" size="1" color="#FFFFFF">Message im Postfach</font></b></td> <td width="20%" bgcolor="#000080" height="19"><b> <font face="Verdana" size="1" color="#FFFFFF">davon gelesen</font></b></td> <td width="19%" bgcolor="#000080" height="19"><b> <font face="Verdana" size="1" color="#FFFFFF">davon ungelesen</font></b></td> <td width="2%" rowspan="4" height="1"> </td> <td width="68%" rowspan="4" height="1"></td> <td width="34%" rowspan="4" height="1"></td> </tr> <tr> <td width="4%" height="19"> </td> <td width="19%" height="19"> <p align="center"> <font color="#3333CC" face="Verdana" size="2">--mailgesamt--</font></td> <td width="20%" height="19"> <p align="center"> <font color="#3333CC" face="Verdana" size="2">--mailgelesen--</font></td> <td width="19%" height="19"> <p align="center"> <font color="#FF0000" face="Verdana" size="2" Du bist eins von --regcount-- registrierten Mitgliedern. Im Moment sind --showonlinecount-- Mitglieder online und --showchatcount-- davon befinden sich </font>--mailungelesen--</font></td> </tr> <tr> <td width="4%" height="19"> </td> <td width="19%" bgcolor="#000080" height="19"><b> <font color="#FFFFFF" face="Verdana" size="1">Deine Punte</font></b></td> <td width="20%" bgcolor="#000080" height="19"><b> <font face="Verdana" size="1" color="#FFFFFF">Highscore Punkte</font></b></td> <td width="19%" bgcolor="#000080" height="19"><b> <font face="Verdana" size="1" color="#FFFFFF">Highscore User</font></b></td> </tr> <tr> <td width="4%" height="1"></td> <td width="19%" height="1"> <p align="center"> <font size="2" face="Verdana" color="#3333CC">--showpunkte--</font></td> <td width="20%" height="1"> <p align="center"> <font size="2" face="Verdana" color="#FF0000">--highscore1--</font></td> <td width="19%" height="1"> <p align="center"><font color="#663300" face="Verdana" size="2"Du bist eins von --regcount-- registrierten Mitgliedern. Im Moment sind --showonlinecount-- Mitglieder online und --showchatcount-- davon befinden sich im </font> <a href="http://--host--/servlet/fwchat?d1=showreg&d2=--highname1--" target="blank" style="text-decoration: none; "> <font size="2" color="#000000">--highname1--</font></a></font></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="86%" id="AutoNumber2" height="1"> <tr> <td width="4%" height="1"></td> <td width="22%" height="1"></td> <td width="2%" height="1" rowspan="8"></td> <td width="53%" height="1" rowspan="8"><font face="Verdana" size="2">Hallo</font> <font face="Verdana" size="2">--username--</font> ,<p> <font face="Verdana" size="2">In diesem Bereich erhältst Du einen Überlick über sämtliche Aktivitäten im Chat. Du kannst sehen, wenn sich jemand Deine ID-Card anschaut, ob Du neue Nachrichten in Deinem Postfach hast. Über den aktuellen Highscore wirst du natürlich auch informiert.</font></td> <td width="26%" height="1" rowspan="8"></td> </tr> <tr> <td width="4%" height="19"> </td> <td width="58%" height="19" bgcolor="#000080"><b> <font face="Verdana" size="1" color="#FFFFFF">Geburtstagskinder</font></b></td> </tr> <tr> <td width="4%" height="19"> </td> <td width="58%" height="19"> <font face="Verdana" size="2" Du bist eins von --regcount-- registrierten Mitgliedern. Im Moment sind --showonlinecount-- Mitglieder online und --showchatcount-- davon befinden sich </font>--birthdaygreetings--</font></td> </tr> <tr> <td width="4%" height="19"> </td> <td width="58%" height="19" bgcolor="#000080"><b> <font color="#FFFFFF" face="Verdana" size="1">Deine anwesenden Freunde</font></b></td> </tr> <tr> <td width="4%" height="19"> </td> <td width="58%" height="19"><font face="Verdana" size="2">--showfriends--</font></td> </tr> <tr> <td width="4%" height="19"> </td> <td width="58%" height="19" bgcolor="#000080"><b> <font color="#FFFFFF" face="Verdana" size="1">Anwesende User im Chat</font></b></td> </tr> <tr> <td width="4%" height="19"> </td> <td width="58%" height="19"> </td> </tr> <tr> <td width="4%" height="1"></td> <td width="58%" height="1"> <font color="#000000" face="Verdana" size="2"><span style="font-weight: 700"> --showchatter--</span></font></td> </tr> <tr> <td width="4%" height="1"></td> <td width="58%" height="1"> </td> </tr> <tr> <td width="4%" height="1"></td> <td width="58%" height="1" bgcolor="#000080"> <span style="font-weight: 700"> <font face="Verdana" size="1" color="#FFFFFF"> Aktivitäten</font></span></td> </tr> <tr> <td width="4%" height="1"></td> <td width="58%" height="1" bgcolor="#E4B71B"> <span style="font-weight: 700"> <font face="Verdana" size="2">--lasttraffic--</font></span></td> </tr> </table>
<p> </p> <table width="489" cellspacing="0" cellpadding="3" border="0" height="30" style="border-collapse: collapse"> <tr>
<td height="1" style="font-size: 8pt; font-family: Arial; color: white" width="560"> <br> </td> </tr> <tr> <td height="45" style="font-size: 8pt; font-family: Arial; color: white" width="560"> <form action="http://--host--/servlet/fwchat?d1=showreg&d2=" method="POST" target="_blank"> <table cellSpacing="0" cellPadding="2" width="433" border="0" height="1" style="border-collapse: collapse"> <tr> <td style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt" width="605" height="1"> <table cellSpacing="0" width="435" border="0" height="71" style="border-collapse: collapse" cellpadding="0"> <tr> <td style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt" width="238" height="69"> </td> <td style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt" width="5" height="69"> </td> <td style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt" width="110" bgcolor="#6699FF" height="69"> <p align="center"> <b style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><br> </b><font size="1">n<span style="font-family: Arial, Helvetica, sans-serif; ">ame</span></font><br> <font size="-1" style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"> <input name="d3" size="10"><br> <b style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"> <br> <input type="submit" value="anzeigen" name="id"><br> </b></font></td> <td style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt" width="3" height="69"></td> <td style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt" width="211" height="69"> <br> </td> </tr> </table> </td> </tr> </table> <script language="javascript"> <!-- start hiding document.write("<input type=hidden name=javascript value=on>"); // end hiding --> </script> <input type="hidden" name="d4" value="search"> </form> </td> </tr> <tr> <td height="1" valign="top" class="tabtex" width="560"> <br> </td> </tr> </table>