Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3286744
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:24:54+00:00 2026-05-17T20:24:54+00:00

Recently I upgraded my development tomcat from 7.0.0 to 7.0.4. I had things like:

  • 0

Recently I upgraded my development tomcat from 7.0.0 to 7.0.4. I had things like:

<c:set var="static" value=".." />
<c:set var="class" value=".." />

Both worked on 7.0.0 but stopped working on 7.0.4. I opened a bug, it was closed, with the answer that:

In and of itself, that tag will compile.

The checks for Java identifiers were added to the EL processing so I suspect
you have some illegal EL elsewhere on the page.

This didn’t sound quite clear, but I didn’t get a subsequent answer, so I looked at the EL spec. For the JSP 2.1 (the latest being 2.2) I found that:

Chapter 1, page 21: An identifier is constrained to be a Java identifier – e.g., no -, no /, etc.

And that’s the most that I found. I would read this line in a way that the syntax requirements applying to java identifiers apply, but not the reserved words (since neighter class nor static appear in the list of reserved words in EL). The JLS isn’t referred to for the term “Java identifier” (and it is for some other cases in the 2.2 spec, which I didn’t review fully)

So, is Tomcat right to reject these names; which point of the spec they are referring to, and do you think they are interpreting it correctly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:24:54+00:00Added an answer on May 17, 2026 at 8:24 pm

    The spec says identifiers are limited to identifiers that would be valid in Java.

    Both static and class are Java keywords, and so can’t possibly be valid identifiers. You couldn’t, for example, write this:

    public int static = 7;
    

    And so neither static nor class will be valid identifiers here either.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently upgraded my system from Mint12 to Mint14 and had severe issues with
I've recently upgraded my development machine from Windows XP to Windows 7. How can
I am using XAMPP for development. Recently I upgraded my installation of xampp from
I recently upgraded from jQuery 1.2.6 to 1.3.2 Now on the page I'm using
I recently upgraded my machine from Leopard to Snow Leopard. Also I installed the
We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
I recently upgraded from: gem 'rails', '3.2.5' to gem 'rails', '3.2.11'. I now see
I recently upgraded my SharePoint development machine to VSeWSS 1.3 and have noticed a
I recently upgraded Xcode to start ios5 development, but for some reason I encounter
I recently upgraded to Xcode 4.5.1 to compile an app under development for the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.