activation link

Hallo,

I develop an aplication in which users can register theirselves to the system and the information about the users will be stored in a DB

my question is following:

I see in each site after registration an activation link will be sent and we should click on this to activate our account.

but I have any idea how should I configure this link?

for example the url of my servlet which will get the request from activation link is

myserver/myservlet

I have tried the link so :

myserver/myservlet/user=aaa

but it doesn't work

how should i configure it?

I will be pleasure if anyone give me some information

thanks a lot

[699 byte] By [Kezmana] at [2007-11-26 20:14:06]
# 1
You have to pass a variable to the Servletsuch as http://localhost:8080/yourservlet?user=1212But, you should create a unique activatuion key for the user.Regards,Sebastien Degardin
sdegardina at 2007-7-9 23:20:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thanks a lotsuper answer :)thanks again
Kezmana at 2007-7-9 23:20:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
one more questionthe information which will be sent in this link is always encrpted.which method can I use for en- and decrypt this?is there any available functions in java? and which can you suggest to me?thanks a lot
Kezmana at 2007-7-9 23:20:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
I don't think you have to encrypt such data...However, i'm not sure, if someone has an idea ...I'd use an activation key, but, note I'm not a specialistRegards,Sebastien Degardin
sdegardina at 2007-7-9 23:20:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
http://java.sun.com/products/jce/javase.html
benubacha at 2007-7-9 23:20:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...