• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with JSTL SQL tag

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!