Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Eclipse Collections Categorically: Level up your programming game
this week in the
Open Source Projects
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
JSP
Dynamically Setting the chartype
Luke Shannon
Ranch Hand
Posts: 240
3
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
<%@ page contentType="text/html; charset=<%=Globals.getBrowserCharset()%>" %>
Is it possible to dynamically set an attribute in the page tag? The above doesn't work, the expression is being processed literally. Is hard coding this the only way to do it?
Thanks,
Luke
Luke
SCJP
Bear Bibeault
Sheriff
Posts: 67756
173
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
No. Directives are evaluated at translation time, while scriptlet expressions cannot be evaluated until execution time.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Yeah, but how did the squirrel get in there? Was it because of the tiny ad?
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to implement template based page ?
Pass Array from servlet program to JavaScript
problem with url rewriting in sturts link
Include directive
include directive VS Include Tag
More...