JSP Document

2003-09-06 Thread Sam Hough
Tomcat 4.1.27 on Win32 given http://java.sun.com/JSP/Page version="1.2"> Cat & Dog Generates Cat & Dog Can anybody confirm that this is correct behaviour? I can sort of see that it makes sense (JSP is for generating any character stream...) but it does make a J

Re: JSP Document

2003-09-06 Thread Eugene Lee
On Sat, Sep 06, 2003 at 06:10:26PM +0100, Sam Hough wrote: : : Tomcat 4.1.27 on Win32 given : : : http://java.sun.com/JSP/Page version="1.2"> : Cat & Dog : : : Generates : : Cat & Dog : : Can anybody confirm that this is correct behaviour? Why did the "&" entity get changed to a pla

Re: JSP Document

2003-09-06 Thread Marco Tedone
- From: "Eugene Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 06, 2003 6:23 PM Subject: Re: JSP Document > On Sat, Sep 06, 2003 at 06:10:26PM +0100, Sam Hough wrote: > : > : Tomcat 4.1.27 on Win32 given > : > : > : http://java

Re: JSP Document

2003-09-06 Thread Sam Hough
[EMAIL PROTECTED]> Sent: Saturday, September 06, 2003 6:23 PM Subject: Re: JSP Document > On Sat, Sep 06, 2003 at 06:10:26PM +0100, Sam Hough wrote: > : > : Tomcat 4.1.27 on Win32 given > : > : > : http://java.sun.com/JSP/Page version="1.2"> > : Cat &am

RE: JSP Document

2003-09-06 Thread Sjoerd van Leent
ng to "JSP generates anything" since the JSP 2.0 syntax ${some.thing} doesnt escape XML. I think Ive spent too much time with XSL ;) - Original Message - From: "Eugene Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 06, 2003

Re: JSP Document

2003-09-06 Thread Bill Barker
JSP/Page version="1.2"> > Cat & Dog > > > Generates > > Cat & Dog > > Can anybody confirm that this is correct behaviour? > > I can sort of see that it makes sense (JSP is for generating any character > stream...) but it does make a JSP Doc

jsp document root

2001-01-16 Thread Regis Muller
Sorry to ask such a trivial question to all of you but how can I put my .jsp files outside of the ROOT Directory of tomcat in e.g. in apache\htdocs ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [E

ParseException in JSP document

2002-01-05 Thread - -
I am making a JSP document and want to have tag as an attribute value in another tag. I got an error like org.apache.jasper.compiler.ParseException: /thispage.jsp(8,30) The value of attribute "action" must not contain the '<' character. The following is "thispag

Re: jsp document root

2001-01-16 Thread Simon Oldeboershuis, outermedia
Regis Muller schrieb: > > Sorry to ask such a trivial question to all of you but how can I put my > .jsp files outside of the ROOT Directory of tomcat in e.g. in > apache\htdocs ? > you have to configure the position of the directory in the config file: tomcat/conf/server.xml there shou

Re: jsp document root

2001-01-16 Thread Regis Muller
thanks a lot Simon "Simon Oldeboershuis, outermedia" wrote: > Regis Muller schrieb: > > > > Sorry to ask such a trivial question to all of you but how can I put my > > .jsp files outside of the ROOT Directory of tomcat in e.g. in > > apache\htdocs ? > > > you have to configure the position of th

Re: jsp document root

2001-01-16 Thread Jon Baer
How is it possible to create something without a context @ the *very* top root level so you can say: / maps to things in directory /myapp Thanks. - Jon "Simon Oldeboershuis, outermedia" wrote: > Regis Muller schrieb: > > > > Sorry to ask such a trivial question to all of you but how can I pu

Re: ParseException in JSP document

2002-01-05 Thread Craig R. McClanahan
On Sat, 5 Jan 2002, - - wrote: > Date: Sat, 05 Jan 2002 12:21:19 -0800 > From: - - <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: ParseException in JSP document > > I am ma

Re: ParseException in JSP document

2002-01-05 Thread - -
I learned that template data should be preceded by and it works as expected. Thank you. -- On Sat, 5 Jan 2002 12:34:39 Craig R. McClanahan wrote: > > >The basic issue is that you must conform to all XML syntax requirements in >a JSP document. Therefore, you will need to enc

Ampersand problem in JSP document

2004-08-23 Thread Andreas Schildbach
Hello everyone, I am using the following fragment in a JSP document (the XML variant of JSP pages): myurl?param1=value1&param2=value2 The problem is, Tomcat sends this fragment to the browser as myurl?param1=value1¶m2=value2 which causes an XML parsing exception on the client. Why is

RE: Ampersand problem in JSP document

2004-08-23 Thread Shapira, Yoav
: Monday, August 23, 2004 3:31 PM >To: [EMAIL PROTECTED] >Subject: Ampersand problem in JSP document > >Hello everyone, > >I am using the following fragment in a JSP document (the XML variant of >JSP pages): > >myurl?param1=value1&param2=value2 > >The problem

Re: Ampersand problem in JSP document

2004-08-23 Thread John Villar
Try to append "amp" to the "&" fragment it should end like this "&amp;" and the output would be "&" Andreas Schildbach escribió: Hello everyone, I am using the following fragment in a JSP document (the XML variant of JSP pages): myur

Re: Ampersand problem in JSP document

2004-08-23 Thread Andreas Schildbach
Shapira, Yoav wrote: Does it happen if you have a proper JSP XML page, e.g. http://java.sun.com/JSP/Page"; version="1.2"> It happens with the following small jspx: http://java.sun.com/JSP/Page"; > myurl?param1=value1¶m2=value2 --

Re: Ampersand problem in JSP document

2004-08-23 Thread Andreas Schildbach
John Villar wrote: Try to append "amp" to the "&" fragment it should end like this "&" and the output would be "&" It is my understanding that if an XML document is serialized to an output stream, characters like &, < and > are represented by their entities & > < so an XML parser can par

Re: Ampersand problem in JSP document

2004-08-23 Thread John Villar
LOL that's true. i think yoav gave you the right solution try embedding your xml processor offending fragment into a

Re: Ampersand problem in JSP document

2004-08-23 Thread Robert Koberg
Hi, (jumping in late) Have you tried: and perhaps: doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/> best, -Rob Andreas Schildbach wrote: Shapira, Yoav wrote: Does it happen if you have a proper JSP XML p

XML format JSP document, and prelude problem

2004-03-24 Thread Keith Hyland
ommon tasks for each page. /template/prelude.jspf /template/coda.jspf Case 1: prelude.jspf is not a valid jsp document (ie. it is a valid jsp page, but not a xml doc) Then when my main page (a valid jsp docuemnt) loads I get a jsp compile exception because the element must be the first element

Possible to include JSP document (.jspx) fragments that aren't well formed?

2005-04-25 Thread Jonathan Eric Miller
Does anyone know if it's possible to include a .jspx fragment in another .jspx file? When I say .jspx fragment, I mean a file that is in XML format, but, may not be well formed. For example, I want to do something like the following. Currently, I'm receiving an error message like the following.

Tomcat Newbie has problem with Apache connector and JSP: "document contains no data"

2001-07-17 Thread Mark Dzmura
Gentle Folks: After spending a ridiculously long time in a frustrating and humiliating attempt to get the following configuration working on a Redhat 7.1 Linux box: - Apache 1.3.19 DSO - mod_webapps - Jakarta-Tomcat 4.0b5 I have finally gotten Tomcat to serve static content with the Default ser