you do, like I stated earlier...

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Pablo
> Lorandi
> Sent: Thursday, August 24, 2000 14:43
> To: Orion-Interest
> Subject: RE: servlet tag in jsp/shtml file, works .. with a problem
> 
> 
> Don't you have to escape the ampersand??
> 
> <param name="somehtml" value="\&nbsp;">
> 
> ??
> 
> My 2c,
> 
> Rifle
> -----Original Message-----
> From: Tomi Panula-Ontto [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 24, 2000 4:02 AM
> To: Orion-Interest
> Cc: [EMAIL PROTECTED]
> Subject: servlet tag in jsp/shtml file, works .. with a problem
> 
> 
> 
>  Hello, 
>  we would like to replace Apache+Jrun with OrionServer
>  and right now I'm testing OrionServer v1.2.0 by trying 
>  to move our existing sites to OrionServer. 
> 
>  However, we have used SERVLET tag rather extensively.
>  That did not work in OrionServer at first. 
> 
>  Then I changed all shtml files to be processed with jsp
>  servlet. SSI works, servlet tag works. Great!
> 
>  But then I ran into a problem. Here is a example code
>  to demonstrate the problem: (Put it to the default-web-app) 
> ------------------------------------- test.jsp
>  <html>
>  <head>
>  <title>test</title>
>  </head>
>  <body>
> 
>  <servlet name="DateServlet">
>  <param name="somehtml" value="&nbsp;">
>  </servlet>
> 
>  </body>
>  </html>
> ------------------------------------- test.jsp 
>  CRASH. 
> 
>  OrionServer says:
>  
>  java.lang.IllegalArgumentException:
>  Missing '=' in attribute key/value pair
>  at com.evermind.server.http.EvermindHttpServletRequest.u4(JAX)
>  ...
>  
>  Now, remove the & character from the &nbsp; in the parameter value.
>  No crashes.
> 
>  Is this a bug?
> 

Reply via email to