mysql - JSP - Read page's meta tag -


what need read in meta tag of html file (it's keyword meta tag) , wondering if possible jsp? need because accessing database, mysql search based off of keyword. possible? if so, know how?

so mysql is:

"select * db searchterm= [keyword meta tag]" 

if make own custom tag, outputs meta tag, can store value somewhere when tag run.

edit

that assumed meta tags on jsp page. if they're not (as indicated in comments), , need extract them external html file, you're going need html parser of sort (or ugly/unreliable regular expressions). might want try http://jsoup.org/.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -