由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Java questions
相关主题
请教大牛:java可以做这件事情吗Re: Question: Java Synchronization
Dos and Don'ts about classpathJava interview questions
大家考Sun那个Programmer证书吗?Java Http Question?
anybody working on Cassandra?Question about Java (urgent) -thanks
如何高效的学习javastupid question请指教
JSP and TOMCAT 问题One question about Java Programming
有熟悉Java Reflection的吗a java question (转载)
用Java 读LAN上面windows shared folder上的文件,performanceA question about JRE and JDK:
相关话题的讨论汇总
话题: eval话题: password话题: java话题: could话题: open
进入Java版参与讨论
1 (共1页)
m****l
发帖数: 14
1
I did a very simple in java to check the password. If the password is right,
open album.htm, otherwise, open error.htm.
I was trying to open the htm in a new IE window. But the codes below don't
work. Could you please tell me how to do that? I highly appreciate your help.
var eval_string
function checkText() {

eval_id = document.myform1.elements[0].value
eval_password = document.myform2.elements[0].value
if(eval_id == " " && eval_password == " "){
location='
xt
发帖数: 17532
2
This is called javascript, not java. Also a password checking
with javascript is not going to do any good. I can hack it
in seconds. :-)
c***r
发帖数: 4631
3
建议转网页设计版

【在 m****l 的大作中提到】
: I did a very simple in java to check the password. If the password is right,
: open album.htm, otherwise, open error.htm.
: I was trying to open the htm in a new IE window. But the codes below don't
: work. Could you please tell me how to do that? I highly appreciate your help.
: var eval_string
: function checkText() {
:
: eval_id = document.myform1.elements[0].value
: eval_password = document.myform2.elements[0].value
: if(eval_id == " " && eval_password == " "){

c**t
发帖数: 2744
4
replace location with 'window.open()'

【在 m****l 的大作中提到】
: I did a very simple in java to check the password. If the password is right,
: open album.htm, otherwise, open error.htm.
: I was trying to open the htm in a new IE window. But the codes below don't
: work. Could you please tell me how to do that? I highly appreciate your help.
: var eval_string
: function checkText() {
:
: eval_id = document.myform1.elements[0].value
: eval_password = document.myform2.elements[0].value
: if(eval_id == " " && eval_password == " "){

m****l
发帖数: 14
5
I know it's easy to be hacked. Even I can hack myself. Could you please give
me some suggestions? Thanks a lot.

【在 xt 的大作中提到】
: This is called javascript, not java. Also a password checking
: with javascript is not going to do any good. I can hack it
: in seconds. :-)

m****l
发帖数: 14
6
Thanks a lot. I got it.

right,
help.

【在 c**t 的大作中提到】
: replace location with 'window.open()'
g*s
发帖数: 2277
7
document.location.href='./error.html'

【在 m****l 的大作中提到】
: Thanks a lot. I got it.
:
: right,
: help.

g*s
发帖数: 2277
8
check password in server side, not client side

【在 m****l 的大作中提到】
: I know it's easy to be hacked. Even I can hack myself. Could you please give
: me some suggestions? Thanks a lot.

m****l
发帖数: 14
9
Basically what I really want to do is just put all my photos on web. I think
there must be a way to do that more efficiently. But I don't know :(. Could
you please give me some suggestions. I highly appreciate that!

give

【在 g*s 的大作中提到】
: check password in server side, not client side
e***g
发帖数: 158
10
just download a album software.

【在 m****l 的大作中提到】
: Basically what I really want to do is just put all my photos on web. I think
: there must be a way to do that more efficiently. But I don't know :(. Could
: you please give me some suggestions. I highly appreciate that!
:
: give

w********c
发帖数: 2632
11
how about pbase it? :)

【在 e***g 的大作中提到】
: just download a album software.
c*y
发帖数: 137
12
depending on what kind of serers you have. Most unix servers have
some simple (though not the most secure) way to add user name/password
to folders. It's fairly easy to do.

【在 m****l 的大作中提到】
: Basically what I really want to do is just put all my photos on web. I think
: there must be a way to do that more efficiently. But I don't know :(. Could
: you please give me some suggestions. I highly appreciate that!
:
: give

1 (共1页)
进入Java版参与讨论
相关主题
A question about JRE and JDK:如何高效的学习java
one question about java in LinuxJSP and TOMCAT 问题
java beginner question有熟悉Java Reflection的吗
how do u store secrets?用Java 读LAN上面windows shared folder上的文件,performance
请教大牛:java可以做这件事情吗Re: Question: Java Synchronization
Dos and Don'ts about classpathJava interview questions
大家考Sun那个Programmer证书吗?Java Http Question?
anybody working on Cassandra?Question about Java (urgent) -thanks
相关话题的讨论汇总
话题: eval话题: password话题: java话题: could话题: open