Hi All

           this is my login in which Server Side Include is placed and it is
the initial page of my web application.

<SCRIPT language="JavaScript">

function directSubmit(_form,value)
{
   if (value == "Login")_form.action = *"<!--:$servletpath-->/*XYZ/login"
    else _form.action = "../XYZ/getnewlogin"
   return true
}


in the html page:

<INPUT type="submit" name=login value="Login" onClick="return
(directSubmit(document.forms[0], 'Login'))">-->this is the action i m
performing.....


Actually this is the page which is used in the iplanet web server...Right
now I am moving the application to Apache Tomcat 6.

I enabled the *SSI in the tomcat configuration* but wen I click the login
button its not able to find out the path which is in the form action
"<!--:$servletpath-->/XYZ/login".-----------> *getting error 404.*

Can i know how its going to access the path: *
"<!--:$servletpath-->/XYZ/login"*

Can anyone guide me how can i solve this problem......please...



Thanks in Advance.

Reply via email to