How to invoke a Servlet from Portal page?

0 comments



In order to invoke a servlet from a portal page deployed in the same war file using the hyperlink, following can be used:

<a href="<%=response.encodeURL("/TestServlet")%>" target="_blank">Test Servlet</a>

No comments:

Post a Comment

Recent Posts

Popular Posts

© 2011-2019 Web Portal Club