-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nope, try again. Same error. I know about quote nesting, and it's not the problem.
R On Friday, August 2, 2002, at 04:08 AM, Ritesh Gupta wrote: > Hi, > > I think the Joel is right except that the sequence of inner and outer > quotes should be the other way round. That is : > > <a href='<jsp:expression>response.encodeURL("logout-action.do") > </jsp:expression>'> > > The inner quotes form the part of a method call and should be in double > quotes. > > Hope that helps. > > Regards, > Ritesh > > > ----- Original Message ----- > From: Joel Carklin <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, August 02, 2002 1:40 PM > Subject: Re: JSP 1.2 and XML Syntax > > > Hi, > > just a shot in the dark here, because I haven't used these particular > tags, but it appears to me that you have double quotes nested within > double quotes. Surely the compiler would read the first opening as a > beginning quote and the second opening quote as the end? > > Ie <a href = "<jsp:expression>response.encodeURL(" > > then text in the middle of nowhere: > > logout-action.do > > and then text in quotes again: > > ")</jsp:expression>" > > perhaps if you replace inner quotes with single qoutes it would work? > > <a > href="<jsp:expression>response.encodeURL('logout-action.do')</jsp:expres > sion>"> > > hope that helps > Joel > > ========================= > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > ========================================================================= > == > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (Darwin) iD8DBQE9Smb0K/1j/4sLi/ARAodAAJ9DlkTdQeB+HOcPbH7FAO7r6OfZMQCgsPCR LOr/bvSCYkf8akCQ6OpFCtc= =M0Kz -----END PGP SIGNATURE----- =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com