jstl - what is the best way to navigate from one jsp page to another using JSP tags? -


i have index.jsp want provide multiple links on page other jsp pages. under web content, have folder jspviews contains jsp pages link want provide on index.jsp

you indeed use <a href> tags,

and said have them in same folder dont need worry directory listings,

just use below,

<a href="b.jsp">b</a> <a href="c.jsp">c</a> 

if need navigate through servlet , use ,

<a href="testservlet?paramname="test">testservletlink</a> 

note : paramname indicates parameter passing servlet .

hope helps!!


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -