el « Request « JSP-Servlet Q&A





1. What is the JSP EL equivalent for request.getRemoteUser()?    stackoverflow.com

I'm using <%=request.getRemoteUser()%> to retrieve the logged on user's ID within Tomcat. What would be the equivalent using JSP Simple Expression Language?

2. Using request object parameter as a name of application scope attriubte in JSP    stackoverflow.com

I have a request object with String attribute name1. When request is sent to JSP I would like to use name1 parameter as a name of application scope bean to retrieve ...

3.  must be used with a namespace?    stackoverflow.com

I tried:

<c:if test="${!request.isRequestedSessionIdFromCookie()}">
in ony of my JSPs since c:url isn't encoding my url's for some reason. (working on that one). So I wanted to try and check if cookies are enabled with ...

4. What does this expression language ${pageContext.request.contextPath} exactly do in JSP EL?    stackoverflow.com

I have a web app, where I have different navigation anchor tags such as Home, Profile and etc. What I want: When I press anchor tags like home or profile. I just want ...

5. Which among session, request and response objects, can we use without explicit declaration, in JSP?    stackoverflow.com

I have come across this question in one of the JSP tutorials and tests. Which among these three objects can we use in expressions and scriplets without having to declare them explicitely? ...

6. How to add content to a jsp element without using request dispatcher?    stackoverflow.com

I could not figure out a way of sending content to a JSP element without using expression language and request dispatcher. The problem is that I can't change the browser URL ...

8. EL of request.getContextPath( )    coderanch.com

9. EL expression ${pageContext.request}    coderanch.com