|
How to get page name using jsp or JSTL ?
|
|
05-18-2009, 11:38 AM
(This post was last modified: 05-18-2009 11:40 AM by naruponk.)
Post: #1
|
|||
|
|||
|
How to get page name using jsp or JSTL ?
How to get page name using jsp or JSTL ?
I'm now using <c:out value="${pageContext.request.requestURL}"/> it return a path, how can I get only file name ? |
|||
|
05-18-2009, 02:44 PM
Post: #2
|
|||
|
|||
|
RE: How to get page name using jsp or JSTL ?
Try the following code.
Code: <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>Here http://localhost:8080/WebTest/ is your starting serveraddress with context name. |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help




