The app engine/gwt tool kit eclipse plug-in I downloaded as latest
(and recently auto-updated), comes with jetty as the servlet server.

However, to my dismay, jetty would not accept the following syntax in
my jsp

<jsp:include page="<%=pg%>.jspf"/>
where <%=pg%> is a jsp tagged variable.

It complains
attribute for %>" is not properly terminated.

Besides, treating the first as a macro text insert and the second as
an actual jsp call,
the difference between
%...@include file= ...
and
jsp:include page=...

is that jsp:include allows you to specify a jsp tagged variable in its
page attribute,
while %...@include requires an immutable literal for its file attribute.

Jetty would accept this for jsp:include
page="<%=pg%>"

but not
page="<%=pg%>.jspf"

I do remember using page="<%=pg%>.jspf" successfully on Tomcat.

Question 1:
Is this a jetty bug or is my memory failing me?
page="<%=pg%>.jspf" is legit, isn't it?

Question 2:
Could I and how do I replace jetty with with tomcat for my app engine
eclipse plug-in?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to