> First a question. How do you tell OrionServer you want it to keep the
> source code for servlets generated from JSP files? I'm experiencing a weird
> bug in a JSP and I'd like to take a look at the source.
This is not doable current release unfortunately, we are working on a "development"
option that generates more readable servlets and persists their source.
> I'm having two problems. The first one is that a value that's supposed to
> be inside of a table is showing up outside it. Here's the JSP code :
> <% double cash = bapiContext.getCash(request.getParameter("account")); %>
> <tr><td>Cash ($)</td><td align=right><%=(int)cash%></td><td
> align=right>$1.00</td><td
> align=right><%=Util.formatCurrency(cash)%></td></tr>
>
> Here's the result :
> <tr><td>Cash ($)</td><td align=right></td><td align=right>$1.00</td><td
> align=right>$18,000.00</td></tr>
> 18000
>
> Notice the "18000" (the value of cash) is being output at the end of the
> line (outside of the <tr></tr>) instead of where it's supposed to be.
> Bizarre, ain't it?
Is it possible to reproduce this error in a testcase? We've tried to find the bug but
it's hard without
a testcase.
> The other problem I'm having is with a set of classes from IBM's Alphaworks
> site for generating HTML tables. It's unable to find a .ser (serialized
> object) file for some reason. Here's the code :
> <%
> ... snip ...
> formatBeanNames[1] = "com.ibm.jsp.NumberFormatGeneral";
> jspTableFormat.setFormatBeans(formatBeanNames);
> ...snip...
> %>
> <%= jspTableFormat.format(request, v) %>
>
> What's generated is :
> <TD border=0 BGCOLOR=#ffffff ALIGN=RIGHT > <FONT SIZE=5>
> <b>***JSPError: -2 - Unable to find .ser or .class file for:
> "com.ibm.jsp.NumberFormatGeneral".***</b> </FONT> </TD>
>
> The .ser files are in my classpath (d:\jdev\src is in my classpath and the
> NumberFormatGeneral.ser file is in d:\jdev\src\com\ibm\jsp).
> Both of these problems don't happen under JRun.
Yes, this is a bug which has now been fixed (in 0.7.8), JSP pages couldnt access
resources properly up until now.
> I'm attempting to switch our development/deployment platform from JRun to
> OrionServer so any suggestions would be appreciated.
> By the way, is the list ok to post bug reports like this one on, or should I
> handle them some other way?
The list and/or [EMAIL PROTECTED] is fine.
Have a nice day! :)
/Magnus Stenman, the Orion team
> Thanks,
>
> Brien Voorhees
>
>
>