page « EL « JSP-Servlet Q&A





1. Is it possible to use EL inside page directives?    stackoverflow.com

I have some static html content (included on a dynamically generated page) that I want to localize, i.e., help-en.html, help-fr.html and so on. In the JSP file where it is to ...

2. EL param and page scope vars    coderanch.com

if a variable is set in the page scope, in EL we access it as ${varName}. I have a request parameter. Is it a neccesity to explicity specify the scope and get the value by ${param.varName}. If no scope is specified does it not find the parameter in all the scopes. i tried accessing the var by ${varName} and value is ...

3. use of el-ignored in the page directive    coderanch.com

If you are talking Servlet2.3/JSP1.2, then I would choose A If you are talking Servlet2.4/JSP2.0, then I would choose B Reference the JSP2.0 spec (section 3.3.2) Option C to me is obviously wrong. The entry in web.xml is an alternative way of enabling/disabling EL evaluation in pages. However the page directive tag tags precedence over it. If that tag is present, ...

4. problem with EL in my JSP page    coderanch.com

5. Problem while accessing page var using EL    coderanch.com

With EL's . operator you may access an attribute set in one of the four scopes or a bean's property. The String name variable, at translation time, just gets to be an instance variable in your servlet class. You may access it using a simple expression: <%! String name = "Maya"; %> The name is <%=name%> The ...

6. el code showing on web page    coderanch.com

I just move my web application over to a hosted web server. THe main difference is they use apache in front of tomcat. In my test enviornment i just use tomcat. THis is the code in the jsp file

${vendor.vName} is showing on the page. I dont have ...