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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -