/servlet/servlet/login problem

Hello i have one login form where user can enter username and password -

<form action='servlet/login' method='post'>

,,,

,,,

</form>

This username and password is processed at a servlet and if username and password is invalid then i m sending error msg to index.jsp page using request.setAttribute("error",msg); and again forwarding request using RequestDispatcher to index.jsp...

My problem is if user clicks submit second time then the path shown in address bar becomes

http://localhost:9090/test/servlet/servlet/login

I m not getting as to why its attaching servlet 2 times...

Any help would be greate..

Thanks in advance.

[717 byte] By [arvindbluea] at [2007-10-3 10:11:23]
# 1
It should be <form action='/servlet/login' method='post'> http://www.skillipedia.com
skillipediaa at 2007-7-15 5:31:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...