> Hi all
>
> I have a series of strings which have been entered by
> the user, I need to output this info to a html page,
> in lines for example - forname, surname, date, score
> etc.
>
> Does anyone know how to do this?
>
> Thanks in advance.
Hi
How are you taking in the params? What kind of structure is your program using? Are you redirecting the user to a html web page or are you just creating a .html file with the specified params? Showing code may also help you get an answer ;-)
I have a database, it holds information of a user, my applet interacts with the database to retrieve/write etc. What i want to do is when some1 clicks a button to open a new Internet Explorer page and then output a record from the database. Just like System.out.println(forname + surname + date + score);
I dont know how to open a new IE and then output the info to it.
I dont have any code for this part as I havent written it and I dont think there is any value in posting code to retrieve from database. We can just treat them as strings? String forname, surname etc.
> I have a database, it holds information of a user, my
> applet interacts with the database to retrieve/write
> etc. What i want to do is when some1 clicks a button
> to open a new Internet Explorer page and then output
> a record from the database. Just like
> System.out.println(forname + surname + date +
> score);
>
> I dont know how to open a new IE and then output the
> info to it.
Yeah.
This is not the way this works at all. Are you sure you don't want a Servlet?
Applets interacting with databases are bad news. In fact applets are seldom good for much, unless you want a user interface far fancier than a simple input form (I've used them, for example, for graphical input). Applets, in general, aren't allowed to play with anything but the browser window and the http connection they came from. No local files, no sockets. (And, hence, no databases)
What you want is a server (probably tomcat from jakarta.apache.org), servlets to update your database and JSPs to display the records.