Forums Register Login

problem with JSTL SQL tag

+Pie Number of slices to send: Send
Hi
Thank you for reading.
How i can access the first row of a query result in JSTL , and retriev its first column with its name
imagine the following :

Now in some place of the page i should include a page and pass that cPol to it as a parameter
I did the following but i did not get result (it return nothing but when i execute same query in query editor it return 22)


Can you tell me what i have done wrong ?


Thank you.
[ September 09, 2005: Message edited by: Bear Bibeault ]
+Pie Number of slices to send: Send
A few things to check:

1) Is the result of the query correct in the calling page?

2) Does show.jsp get called?

3) If it is, what is the value of the parameter num that you're trying to pass to it?

FInding answers to these should pinpoint the problem pretty quickly.
Today's lesson is that you can't wear a jetpack AND a cape. I should have read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1375 times.
Similar Threads
Unable to locate the .jsp file error
problem in sorting query in JSTL
login page
pass jstl sql query result to jsp
About Servlet get attribute
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 01:49:58.