How to get parameters from the URL with JSP

In JSP how do I get parameters from the URL?

For example I have a URL www.somesite.com/Transaction_List.jsp?accountID=5

I want to get the 5.

Is there a request.getAttribute( “accountID” ) like there is for sessions or something similar?

9 Answers
9

Leave a Comment