944,080 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 3035
  • JSP RSS
May 1st, 2005
0

jsp and ResultSets

Expand Post »
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:
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nelly_1005 is offline Offline
11 posts
since Feb 2005
May 4th, 2005
0

Re: jsp and ResultSets

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,
Reputation Points: 11
Solved Threads: 0
Newbie Poster
adityabakle is offline Offline
8 posts
since Aug 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: Accessing JavaScript objects in the Body Tag
Next Thread in JSP Forum Timeline: stopping further execution





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC