wood burning stoves 2.0*
The moose likes JDBC and the fly likes Please help me for implementing search functionality in my screenbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Please help me for implementing search functionality in my screenbox " Watch "Please help me for implementing search functionality in my screenbox " New topic
Author

Please help me for implementing search functionality in my screenbox

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
In my front end developed with JSP + JavaScript .
I have a Textbox which allows users to enter and press the Submit Button .

The problem is that in the Texbox he/she can enter different values Like this for example typically found in a job site.

keywords java Hibernate EJB


and press submit submit Button.

How can i extract all these values in my servlet and how can i put all these values in a PreparedStatement ??



If you want something you never had do something which you had never done
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
RaviNada Kiran wrote:
How can i extract all these values in my servlet
Using javax.servlet.http.HttpServletRequest and java.lang.String methods.

and how can i put all these values in a PreparedStatement ??

Using PreparedStatement#setString().

That said, I would rather use a well developed search engine library such as Apache Lucene instead of gobbling one together which may not be efficient and performant after all.
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Thanks Bauke for your prompt reply.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Please help me for implementing search functionality in my screenbox
 
Similar Threads
when press key enter then an action is performed ..
How to select multiple values using JCheckbox
Submitting with "Enter" from textbox where there are several submit buttons on form
h:dataTable creating dynamically
Sign in button