Search

Search

Hi, I have a project in which I am trying to enter "Marathi" (Indian local language) data in JSP using JSTL and trying to search data from MYSQL . In mySQL Marathi data is stored. But when I enters data in JSP and tries to search then It shows no data from database. Then for seeing whether I entered marathi data is properly submitted to MySQL. I again displayed Marathi data in same JSP page using JSTL then some symbols came. I am pasting my JSP code : All is correct I can get data from MYSQL when I uses select * command or I enters search according to ID (because it is english ) it shows correct o/p table from MYSQL. I just wants to enter Marathi data and show corresponding table from mySQL . My JSP Code:

<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %> <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="C" %> <%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="SQL" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<META http-equiv="Content-Type" content="text/html ;charset=UTF-8"> Access Marathi Data

<%request.setCharacterEncoding("UTF-8") ;%>






<C:set var="d" value="${param.IDone}"/> <C:set var="d1" value="${param.nameone}"/> <C:set var="d2" value="${param.sirnameone}"/> <C:if test="${d!=null}"> <SQL:setDataSource url="jdbc:mysql://localhost/election" driver="com.mysql.jdbc.Driver" user="root" password="root" var="T"/> <SQL:query var="T1" dataSource="${T}">select * from voterinfo where ID=? <SQL:param value="${d}"/> <C:if test="${d1!=null}"> <SQL:setDataSource url="jdbc:mysql://localhost/election" driver="com.mysql.jdbc.Driver" user="root" password="root" var="T"/> <SQL:query var="T1" dataSource="${T}">select * from voterinfo where first_name=? <SQL:param value="${d1}"/> Name ---<C:out value="${d1}"/>

<C:if test="${d2!=null}"> <SQL:setDataSource url="jdbc:mysql://localhost/election" driver="com.mysql.jdbc.Driver" user="root" password="root" var="T"/> <SQL:query var="T1" dataSource="${T}">select * from voterinfo where last_name=?<SQL:param value="${d2}"/> SirName ---<C:out value="${d2}"/>

Serial No Voter ID First Name Middle Name Last Name Yaadi Bhaag Voter's Area

View Answers









Related Tutorials/Questions & Answers:
search
search  how to develop search box and how to retrive data from database..   Please visit the following link: Search box
SEARCH
SEARCH  how can we do search in jsp...? option for search criteria like name and DOB...   Please visit the following links: http://www.roseindia.net/jsp/user-search.shtml http://www.roseindia.net/servlets/search.shtml
Advertisements
Search
Search   Hi, I have a project in which I am trying to enter "Marathi" (Indian local language) data in JSP using JSTL and trying to search data... and tries to search then It shows no data from database
Search index
Search index  how to write code for advanced search button
Hibernate Search
Hibernate Search  Where to learn Hibernate Search module? Thanks   Hi, Check the tutorial: Hibernate Search - Complete tutorial on Hibernate Search Thanks
linear search
linear search  write a program to find string using linear search
SEARCH AND SORT
SEARCH AND SORT  Cam any one provide me the code in java that : Program to search for MAX,MIN and then SORT the set using any of the Divide and conquer method
SEARCH PAGE
SEARCH PAGE  search page:option for search criteria like name and DOB will be asked.on entering the detail,data matching search criteria will be displayed..criteria can be both or any one of them.. can you send code
php search variable
php search variable  Search variable in PHP
search for a name
search for a name  Search for a name Write a program to accept an array of names and a name and check whether the name is present in the array. Return the count of occurrence. Use the following array as input {?Dave?, ?Ann
Search Engine
Search Engine  I have gone through the below mentioned link document to create search engine and fetch the data from mysql database.But i am getting errors. http://www.roseindia.net/sql/mysql-table/sql-search.shtml Error: Notice
search program
search program  i m writing program which takes company names from databse...serch on google...n try to find the best match WEBSITE...of company name... links after google search...plzz help
Google Search
Google Search  I have a textbox and submit button in my JSP page. On giving word in the textbox and click submit it should redirct to google search page and fetch all the results based on my input word automatically. JSP/Servlet
email search code in php
email search code in php  email search with multiple option in php
Array search
for the search operation. he value with one or more of the array items. Search begins
search operation - Java Beginners
search operation  how to retrive all the similar elements (search operation ) on xml document using regular expressions
binary search program
binary search program  write a program to searching a string using binary search
binary search program
binary search program  write a program to searching a string using binary search
binary search program
binary search program  write a program to searching a string using binary search
binary search program
binary search program  write a program to searching a string using binary search
binary search program
binary search program  write a program to searching a string using binary search
mkmapkit location search
mkmapkit location search  How to create a location search function that will allow the current location search on the MKMapKit
Search operation in JSP page
Search operation in JSP page  How to perform search in jsp with MYSQL database plz help me
ModuleNotFoundError: No module named 'search'
ModuleNotFoundError: No module named 'search'  Hi, My Python... 'search' How to remove the ModuleNotFoundError: No module named 'search'... to install padas library. You can install search python with following command
NSMutableArray Search String
NSMutableArray Search String  Hi all, In my iPhone SDK application.. i wanted to search from the table data. My question is ..do i need to innsert the table data into search array? thanks
jquery search for html pages
jquery search for html pages  i want to search html pages with jquery, it is k for single page but i want search more than one page at a time. Thank you in advance
SEO and Search Engines,Best Search Engines on Web,What is Search Engine
SEO and Search Engine   ... of the search engine while doing SEO work. Since in SEO we are using search engine to promote our website, so understanding the search engine details like
php file search
php file search  How to search file in PHP .. $dir = '/tmp
elasticsearch search by type
elasticsearch search by type  Hi, How to perform search by type in elasticsearch? Thanks   HI, Use following query: GET /_search..." } } } Above query will search all the data with the type "doc". Thanks
Search million records????
Search million records????  How to get fast search results from a table with over 10 million record??? 11g Oracle DB
Drop down for search textbox like google search
Drop down for search textbox like google search  I want drop down like google search (ie, when we type one letter then the word start with that are displayed). when the drop down list appear, then we can select one of word as our
Version of com.thesett>search dependency
List of Version of com.thesett>search dependency
search feature - JSP-Servlet
search feature  i need help to do a search feature servlet to search for employees from the database. the search will be done by search by employee name, department and email  Hi friend, As per your problem
Molu - The Search Spider
Molu - The Search Spider       www.themolu.com - Search engine which can search both Web 1.0 (Web search) as well as Web 2.0 (Tag search). Currently it gives a facility of searching web
sql query search function
sql query search function  i have a textbox on a form , i like a search a data in the form, when i give whatever name and id or etc..its will search and show the same form , so help me using jsp
search query - SQL
search query  hi anyone can help me? i have four textfield...) 4)Age From and Age to ((drop down list box) i have to search the result for four keyword. 1)suppose user may search country and age only 2)suppose
Search Page in jsp
Search Page in jsp  search page in jsp   Please go through the following links: http://www.roseindia.net/jsp/user-search.shtml http://www.roseindia.net/servlets/search.shtml
Search page form in jsp
Search page form in jsp  search form in jsp   Please go through the following links: http://www.roseindia.net/jsp/user-search.shtml http://www.roseindia.net/servlets/search.shtml
search form in jsp
search form in jsp  search page in jsp   Please go through the following links: http://www.roseindia.net/jsp/user-search.shtml http://www.roseindia.net/servlets/search.shtml
Search engine for email
Search engine for email  Build a search engine which will look at your email inbox and sort your email into 5 or more bins according to some criteria (e.g. date, email address, text of the email
search for exact match in excel
search for exact match in excel  How to search for an exact match in excel and show data if the matched sting is found? Please tell me the script. Thanks in Advance
Binary Search - Java Beginners
Binary Search  how to use Binary think in java give me the Binary Search programm thx
Search - Java Beginners
Search  hai, how will we can search diff type of files using j2me
search functionality with in application
search functionality with in application  I have created on web based web site in struts. i want to give user functionality for search any link... and can perform search with in application. i have heard about search engine .can
multiple keyword search - SQL
and city and click search button or user may type in country and genderand click search button or user may type in country and age and click search button user may type in country and city and age and gender click search button user
Binary Search on array
Binary Search on array  What requirement is placed on an array, so that binary search may be used to locate an entry? â?º The array elements must form a heap. â?º The array must have at least 2 entries. â?º The array must
about search engine
about search engine   Hi i am novice in jsp. i am developing web site in that i want to search product by its name and display it by its image with description,so want some help. Thank you
Full-text Search
Full-text Search  I need a java source code to impliment a full-text search in java web application using servlets with firebird database
php search file
php search file   I wanted to write a php script to list all the files available in either folder or sub folder
Full-text Search
Full-text Search  I need a java source code to impliment a full-text search in java web application using servlets with firebird database

Ads