hmm.
You would get a URL of /servlet/DateServlet?somehtml=somehtml&value=
This is not a valid URL. you need to escape the & character to make this
work. If JRun accepts it, it is a feature of JRun, I expect, rather than a
buf in Orion not to.
Jeroen T. Wenting
[EMAIL PROTECTED]
Murphy was wrong, things that can't go wrong will anyway
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tomi
> Panula-Ontto
> Sent: Thursday, August 24, 2000 09:02
> 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=" ">
> </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 in the parameter value.
> No crashes.
>
> Is this a bug?
>