Ben Flaumenhaft wrote:
>
> Folks,
>
> Is there anything in Tomcat or in the .war file specification to deny
> non-forwarded access to a JSP? Where's the appropriate place to do this?
>
> I'm using the MVC, or so-called model 2 approach, where a servlet prepares
> and then forwards to a JSP. U
This problem was already filed in bugrat under bug report #540,
and was fixed yesterday in the 3.2 source tree
(it was already fixed in tomcat-4.0).
-- Pierre
Kitching Simon wrote:
>
> Ok, you win :-)
>
> I confirm that I get exactly the same screwy results, using
> tomcat3.2.1 on HPUX (jv
Also, you should use the nightly build of tomcat-4.0. I don't think that
request-time
expressions were properly supported in m4.
-- Pierre
Pierre Delisle wrote:
>
> In XML syntax, a request-time attribute is specified via the following
> syntax:
>
>%= ... %
>
&
In XML syntax, a request-time attribute is specified via the following
syntax:
%= ... %
Here are some snippets of interest from the JSP1.2 PFD spec:
5.1.8 Request-Time Attributes
An action element that can accept a request time attribute (Section
2.13.1) can accept an
argument for that attri
Anne and Bill Moore wrote:
> ...
> I have now found a bug with scriplets.
> The < character in a scriptlet are being parsed as if it were markup
> rather than being treated as Java syntax less than symbol.
>
> For example the scriptlet
>
> <%
> for(int i=0; i<6; i++)
>out.
Which version of tomcat?
XML parser validation failed because of a 'web-app' tag that
is not accepted by the DTD against which it is being validated.
Do you have that tag in your TLD? If so, that's the problem.
Send your TLD or web.xml if you want more help.
-- Pierre
Duane Morse wrot
If you want to have a JSP page in XML syntax, you must comply
with what is described in section 5 of the JSP Public Final Draft
[http://java.sun.com/aboutJava/communityprocess/first/jsr053/index.html]
More specifically:
"A JSP document has jsp:root as its root element type. The root is the plac
is currently not supported in tomcat-4.0.
You can either put the template data directly in the
jsp page, or you can simply use the standard XML tag
for CDATA: .
Give it a try and let me know.
Please report any JSP page in XML syntax that does not
work (except for the ). I'll make sure
the prope
By searching the archive at
http://archives.real-time.com/rte-tomcat/
[see "READ THIS First! Mailing-list archive and good tips" posted periodically
on this list]
you will find:
http://archives2.real-time.com/pipermail/tomcat-users/2000-August/008481.html
that gives the details about long JSP
> <%@ raglib uri="/test.tld" prefix="leo" %>
>
>
> Example JSP with TAG Libs
>
>
> Let's see if this works.
>
>
>
> End
> -
>
> Thanks a lot in adavance.
>
> -Lenny
>
> -Original Message--
The error is in the first line of your JSP file 'tag_test.jsp'.
org.apache.jasper.compiler.ParseException: C:\tag_test.jsp(0,4) Invalid
directive at...
The error message says it is a directive, but without the details, it is
hard to tell exactly what is wrong.
If you tell us what's ther
Looks like it is not picking up the proper servlet.jar.
If I compile with the 2.3 servlet.jar, I get the same compilation
errors as you do...
-- Pierre
[EMAIL PROTECTED] wrote:
>
> Hello,
>
> I am trying to build 3.2b7 for Windows.
>
> Using
> WindowsNT 4.0 SP5
> suns jdk1.3,
> jax
Carole HEBRARD wrote:
> But we found a solution, which is:
> we have one URL for each request (so the access control is done for each
> request). But all these requests are mapped to the same dispatcher (all the
> requests arrives at the dispatcher, which forwards the request to the good
> JS
Fix the typo and that should work.
-- Pierre
Sibon Barman wrote:
>
> Hi all,
> Here is a snippet of jsp code that I am having trouble in compiling jsp
> pages:
> class="com.ss8networks.smp.sms.provisioning.jsp.Service800NumberBean" />
> <% QuestionnaireTreeModel model = traverser.getMod
When a problem like this happens, I always go to the simplest
possible situation, make it work, and then work my way
to the problematic case.
Lets' say you have two files, foo.jsp and bar.jsp, both located
at the root of your web app:
--- foo.jsp
This is foo.jsp
I'm including bar.jsp
<%@ inclu
15 matches
Mail list logo