jsp and ResultSets

Reply

Join Date: Feb 2005
Posts: 11
Reputation: nelly_1005 is an unknown quantity at this point 
Solved Threads: 0
nelly_1005 nelly_1005 is offline Offline
Newbie Poster

jsp and ResultSets

 
0
  #1
May 1st, 2005
i have a sseacrh mode for a mobile phone and i wnat to create the results of query as options so they are selectable, so that when a user selects the option they are taken to that page

how do i do this?? do i use a similar code as:

out.println("<option>"+teamName+"</option>") : deos this code oprint teh values of teh resultset in options

and then if so how do i link the pages in the datasbe to the wml ones, so that if a user enters in inbox the search results disaplyes inbox as an option and then are taking to the inbox.wml page?

Please help, been tryin to figure this out all night!! :cry: :cry:
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 8
Reputation: adityabakle is an unknown quantity at this point 
Solved Threads: 0
adityabakle adityabakle is offline Offline
Newbie Poster

Re: jsp and ResultSets

 
0
  #2
May 4th, 2005
yest the code u mentioned willprint the value in the variable. now if u want to link each result to a wml page just provide it within the value parameter of the option tag. and then write the code on event of onChange fot the list/combo box,
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC