html - referencing a jsp from another -
i working java servlets, , new it.
trying write jsp page wherein have menu ( list of links ).
in index.jsp have following code:
<ul> <li> <a href="http://www.google.co.za">home<a/> </li> <li> <a href="login.jsp">login here<a/> </li> </ul> but when click on first link works, crushed when click on second link. login.jsp exists within same dir 'index.jsp'
how can login.jsp work well?
put login.jsp in /web-inf folder , try.do not put under else
Comments
Post a Comment