Refer to my avatar :DQuote:
learning some web design before making a web page
Anyways I think she already set up a web hosting service for the webpage.
Printable View
Refer to my avatar :DQuote:
learning some web design before making a web page
Anyways I think she already set up a web hosting service for the webpage.
Just use JSP. I hate working with Applets. ;)
He cant unless he has Tomcat, JRun or another suitable Servlet Application Server on his webserver.........Quote:
Originally posted by AMDPwred
Just use JSP. I hate working with Applets. ;)
Might have to stick with applets afterall......they are not difficult to use though
Yeah, but Tomcat doesn't take much to setup. Just deploy apache as the WS and install Tomcat to run as your AS. It's worth a little extra work. Then you could use HTML to create a simple interface and have java behind it to compute the values and such. The actual creation would be much easier in JSP than an Applet. Also, applets run slow as hell. JSPs wouldn't suffer the same problems. If you need any help or have questions, feel free to ask. I've been doing alot with JSP/Servlets in the past month. ;)Quote:
Originally posted by Fordy
He cant unless he has Tomcat, JRun or another suitable Servlet Application Server on his webserver.........
Might have to stick with applets afterall......they are not difficult to use though
I saw someone use javascript to make an interesting password required site a while back on this board.
They named an HTML file something.html (like mghks.html) and used javascript to take user input in numbers (i.e. 1367) and convert it into the appropriate html reference.
If you did a similar things you could have 26 letters, 10 numbers, and several characters in your available pool and it could be any unknown length. (depending on how long the html name was which can be scrambled like fgh_7y87f.html so it is hard to guess)
The good thing is that you do not need ssi or anything special.
Here is the link on this board...
http://www.cprogramming.com/cboard/s...highlight=pass
perhaps you might want to use something similar.
Two more things, you could encrypt the passwords also for added security. Also, you could have the applet/jsp read to a file for passwords and such stored somewhere on a server (I know you can in JSP, not sure about an applet). I know you don't want to run a server, but if you want to do this correctly, and safely, you'll need to setup an application server and run some JSPs.
>>Yeah, but Tomcat doesn't take much to setup.
Well I have done a setup with both JRun and Tomcat and I wouldnt say they were easy......
>> Also, applets run slow as hell. JSPs wouldn't suffer the same problems.
That depends on the server....My pet site runs off Tomcat....and that's fine once the site has been used for a few minutes....it seems the JVM needs to "Warm up" before decent use even though I dont share the JVM........The host I have is also one of the better I tried....some of them were slow as crawling.....some are fast as lightning, but they are very expensive and well beyond the need of this case in point
>>Also, you could have the applet/jsp read to a file for passwords and such stored somewhere on a server (I know you can in JSP, not sure about an applet).
An applet can read data from a database on a server but I dont know if it can read a file unless there is some process to open the file and parse the information on the server.....
>> Well I have done a setup with both JRun and Tomcat and I wouldnt say they were easy......
It isn't too bad. And it's good for experience. ;)
>> That depends on the server....My pet site runs off Tomcat....and that's fine once the site has been used for a few minutes....it seems the JVM needs to "Warm up" before decent use even though I dont share the JVM........The host I have is also one of the better I tried....some of them were slow as crawling.....some are fast as lightning, but they are very expensive and well beyond the need of this case in point
I guess. I've never really had any speed issues with JSPs. Applets however.... :mad:
>> An applet can read data from a database on a server but I dont know if it can read a file unless there is some process to open the file and parse the information on the server.....
Yeah, you could do that. But using a mySQL database would probably be the best choice. I didn't even think of that until you mentioned it.
hey thanks for all the info.
oh well if you hate web design then why don't you tell your teacher to find someone else or pay big