Click to See Complete Forum and Search --> : Java question.
Ranma
05-12-2003, 02:48 PM
Not sure how to properly word this.
I've added a java chat to my webpage, and I want to know what code or if there is one even i can add to the html that will enable the chat to operate separately from the webpage, so people can browse and do other things while the chat is open. Currently, if you do anything to the parent webpage, it closes down the java chat applet.
I want to allow it to remain on screen if a person chooses, and not have to keep that page up in the background. I'm amateur at web page development, and such, and any help would be great. My searches for this info hasn't come up with much.
-Ranma
Ranma
05-12-2003, 06:07 PM
I should probably add, the chat program i'm using is VisualChat. the actual chatroom after logon comes up in it's own Java Applet window. (just reading what the window says along the bottom) if you wanna see what i mean, http://jusenkyo.no-ip.org you'll find my install right there. (I'm working on learning web design, that page is kinda a guinea pig for me, and Eventually will be some kind of finished product.
brendandonhue
05-12-2003, 06:13 PM
As Jona said, put the chat into a frame, or an IFRAME, or even in a popup window if you like.
khalidali63
05-12-2003, 06:26 PM
Originally posted by Ranma
the actual chatroom after logon comes up in it's own Java Applet window.
To Jona and Brandon,
If its opens up in a separate applet window,that is completely different then a browser window...answer is he can not apply you guys suggestion unless he makes changes to the applet so that its not a stand alone app.
Solution for you will be to open a window and in that window embed tha chat applet.
Ranma
05-12-2003, 06:30 PM
Wow, i'm not quite ready for applet programming, =P if that's what you mean, i barely know HTML, =P
True, Khalid, very true. I don't work with Java, and I actually don't like to use applets--ever. They just make the Web pages look terrible, in my opinion.. But JSP rocks! :p
khalidali63
05-12-2003, 06:49 PM
Originally posted by Jona
T..... JSP rocks! :p
True that...:D
Too bad my server doesn't support it..
khalidali63
05-12-2003, 06:57 PM
Which server?...for webservers,the ultimate choice (my humble opinion) is apache tomcat...it supports jsp as well as java servlet stuff,,,,and you can make it to work for ASP as well
Well, it only makes sense that my server doesn't support it--my server is free (not a domain name); and I don't have money right now to buy a new one. I still have to buy Photoshop and a new hard drive for my computer first... Terrible... Oh well...
Ranma
05-12-2003, 07:01 PM
Hmm, i'm serving my pages from Apache, but it's the win32 version, as i haven't got my main linux box up and running yet. Eventually, i'll be transfering everything over to a linux system.
khalidali63
05-12-2003, 09:07 PM
Apache and apache tomcat are free...thats the biggest plus..
Apache is by far the best server I have ever used.
Khalid, who is your host? And, how much is the monthly fee for JSP to be included with a/the package?
khalidali63
05-12-2003, 10:10 PM
I was implying that you'd want to run these servers on your own machines..:-)
LOL, well, I do run a server on my local disk, but it only supports PHP and CGI/Perl--no JSP. I think I could get ASP to work, but I don't really like the way ASP is--Microsoft makes everything in caps. E.g., If var = "str" Then instead of if(var=="str"){
Rubén
05-15-2003, 11:37 AM
You should try to put the login page into an small popup,but it still will have to remain opened.