Re: Hiding a jsp file from public access?

2001-02-27 Thread Pierre Delisle
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

Re: Compile Error in JSP generated servlet

2000-12-20 Thread Pierre Delisle
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

Re: Tomcat 4.0 milestone 4 and jsp:expression tag

2000-12-12 Thread Pierre Delisle
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: > >%= ... % > &

Re: Tomcat 4.0 milestone 4 and jsp:expression tag

2000-12-12 Thread Pierre Delisle
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

Re: More on JSP in XML format

2000-12-04 Thread Pierre Delisle
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.

Re: Error parsing JSP with tag library -- how do I track down what's wrong?

2000-11-28 Thread Pierre Delisle
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

Re: More on JSP in XML format

2000-11-24 Thread Pierre Delisle
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

Re: More on JSP in XML format

2000-11-24 Thread Pierre Delisle
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

Re: long file names when compiling *.jsp files

2000-11-14 Thread Pierre Delisle
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

Re: New user question...

2000-11-14 Thread Pierre Delisle
> <%@ 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--

Re: New user question...

2000-11-13 Thread Pierre Delisle
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

Re: 3.2b7 Fails to Compile on WinNT4.0

2000-11-13 Thread Pierre Delisle
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

Re: Security and Forward

2000-11-02 Thread Pierre Delisle
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

Re: jsp compilation problem

2000-10-30 Thread Pierre Delisle
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

Re: include behavior

2000-10-26 Thread Pierre Delisle
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