[thelist] Java syntax....
Dean Mah
dsmah at home.com
Fri Apr 27 07:33:30 CDT 2001
Without knowing more about your objects, I'm just guessing but...
perhaps the rsReleaseSummaries.getObject("PRID") returns the object
and not a printable string. Maybe try using
rsReleaseSummaries.getObject("PRID").toSting, or something like it,
after the '?' operator.
Dean
Anthony Baratta writes:
> In order to ramp up more quickly with Java Server Pages, I'm using UltraDev
> to create a few demo pages and run them with the JRun Server and IIS 5.0.
>
> I have the JRun Server installed and working nicely. UltraDev is creating
> code that is not being recognized by JRun. Here is an example:
>
> <%=
> ((rsReleaseSummaries.getObject("PRID")!=null)?rsReleaseSummaries.getObject("PRID"):"")
> %>
>
> This fails with a "java.sql.SQLException: No data found".
>
> However if I shorten the line to only
>
> <%=
> rsReleaseSummaries.getObject("PRID"), I get data.
> %>
More information about the thelist
mailing list