<RANT>
I haven't read or replied to this list for a while, mostly because of S/N
issues, which I see are being discussed by Milt and others. For this to be
useful it MUST a) only be about servlets and closely releated issues and b)
people SHOULD (MUST?) read the archives before posting.

My 2cents - if somebody posts an non-relevant topic to the list, don't reply
to the list - this only encourages people. If you must reply, do it in
private, suggesting that they don't post those questions to the list.

My guess is a number of things are going to happen otherwise. People that
used to respond with good answers will stop reading the list. The list will
disappear, because it becomes full of useless rubbish, people programming
servlets will have nowhere to go for help!
</RANT>


Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of David
> Concannon
> Sent: 23 August 2000 09:31
> To: [EMAIL PROTECTED]
> Subject: Re: How to search for a keyword in a file(any efficient
> alorithms for servlets)
>
>
> It would depend on how large the file was, but
> you might just suck the file into a StringBuffer,
> convert it to a String and use the String.indexOf("searchword")
> on it. You're probably better off using the API instead
> of writing a search algorithm yourself.
>
> Are you just trying to find if the word exists in the document, or are
> you trying to do something complicated once you find it?
>
>
> Dave
>
> -----Original Message-----
> From: abdul aleem [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 23, 2000 9:23 AM
> To: [EMAIL PROTECTED]
> Subject: [SERVLET-INTEREST] How to search for a keyword in a file(any
> efficient alorithms for servlets)
>
>
>   hai,
>        i need to search for keywords in files
>
>        i used the fileinputstream to search for the
>     given keyword it takes a lot of time to give the
>    output especially if the file was MSWORD
>
>     can someone suggest good algorithms in java for
>    efficent search results to search the content of
>    files
>
>   Thanx
>    aleem
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
> ***********************************************************************
> Privileged/confidential information may be contained in this message.
> If you are not the addressee indicated in this message (or responsible
> for delivery of the message to such person), you may not copy or
> deliver this message to anyone. In such case, you should destroy this
> message and notify the sender and [EMAIL PROTECTED]
> immediately.
>
> If you or your employer do not consent to Internet E-mail messages of
> this kind, please advise us immediately.
>
> Opinions, conclusions and other information expressed in this message
>  (including any attachments) are not given or endorsed by ebeon ltd
>  (or ebeon inc., as applicable) unless otherwise confirmed in writing
> by an authorised representative independent of this message. Any
> liability arising from reliance placed on this message (including its
> attachments) without such independent confirmation is hereby excluded.
>
> This message (including attachments) is protected by copyright laws
> but has no other legal or contractual standing. The presence of this
> footnote indicates that this message (including its attachments) has
> been processed by an automated anti-virus system; however it is the
> responsiblity of the recipient to ensure that the message (and
> attachments) are safe and authorised for use in their environment.
> ***********************************************************************
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to