Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JDBC Insert option does not work in my jstl...
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Palanikumar
Insert option does not work in my jstl...
1 Answer(s)      6 years and 4 months ago
Posted in : JDBC



Advertisement
View Answers

May 30, 2008 at 8:18 PM


Hi friend,

<%@ page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/xml"; %>


<html>
<body>
<c:import url="StudentInformation.xml" var="url" />
<x:parse xml="${url}" var="doc" />

-----------------------------------------------<br>

<x:forEach var="n" select="$doc/StudentInformation/book">
<x:out select="$n/title" />
<br>
<x:out select="$n/author" />
<br>

========
<br>
</x:forEach>
</body>
</html>


------------------------------

<?xml version="1.0" ?>
<StudentInformation>
<book>
<title>cobol</title>
<author>roy</author>
</book>
<book>
<title>java</title>
<author>herbert</author>
</book>
<book>
<title>c++</title>
<author>robert</author>
</book>
<book>
<title>coldfusion</title>
<author>allaire</author>
</book>
<book>
<title>xml unleashed</title>
<author>morrison</author>
</book>
<book>
<title>jrun</title>
<author>allaire</author>
</book>
</StudentInformation>



-----------------------------------

Read for more information.

http://www.roseindia.net/jstl/jstlxmltags.shtml


Related Tutorials/Questions & Answers:
Insert option does not work in my jstl... - JDBC
Insert option does not work in my jstl...  I have problem with this jstl code... This will extract and displays details from xml... But i cant able to store that values in a database... Pls solve my problem...... Joe
import package.subpackage.* does not work
import package.subpackage.* does not work  I have 3 class files. A.java B.java C.java Below is the code block A.java:- package com.test...: cannot access A bad class file: .\A.java file does not contain class A Please remove
Advertisements
Jquery form validation does not work
effect does not work. Could you please solve this problem? Thanks!   ...Jquery form validation does not work  I want to use jquery validation for my Forms tags. I also imported necessary javascript files e.g.
Jquery form validation does not work
effect does not work. Could you please solve this problem? Thanks!   ...Jquery form validation does not work  I want to use jquery validation for my Forms tags. I also imported necessary javascript files e.g.
How does the Java for each loop work?
How does the Java for each loop work?  How does the Java for each loop work
How does Social Media Marketing Work
How does Social Media Marketing Work In this section we will understand the working of Social Media Marketing and see "How Social Media Marketing... Marketing really works for your website. How does Social Media Marketing Work
Help Me in My Java Work
Help Me in My Java Work  Can you help me please... Write a Java application, to be called GpaCalculator, which will return a grade point average (GPA) when given a range of decimal figures representing a selection of exam marks
How does this example work even if no oracle to be used and only access is available?
How does this example work even if no oracle to be used and only access is available?  CONNECTION CLASS package ExamplePackage; import java.sql.... = rs.next(); // if user does not exist set the isValid variable to false
JSTL
JSTL  How to remove element from list one by one in jsp using jstl tag? My requirement is, i want to remove a element from selectlist, that element should not appear in the next followed select list, which is hided
Did my upgrade from mySQL 5.1 to 5.5 work
Did my upgrade from mySQL 5.1 to 5.5 work  Did my upgrade from mySQL 5.1 to 5.5 work
how can i add wirecard option(or button ) at my web page plz tell all steps? View Answers
how can i add wirecard option(or button ) at my web page plz tell all steps? View Answers  how can i add wirecard option(or button ) at my web page plz tell all steps? View Answers
JSP Standard Tag Libraries (JSTL)
JSP Standard Tag Libraries (JSTL)       JSTL is developed under the Java Community Process, in the JSR-052 expert group. The purpose of JSTL is to work towards a common
please check my code is wrong or ok.it was not work .this is form validation in javascript using jsf page
please check my code is wrong or ok.it was not work .this is form validation in javascript using jsf page  <p>?xml version='1.0' encoding...){ alert("password does not match"); return false
how to insert multiple columns of a single row into my sql database using jsp
how to insert multiple columns of a single row into my sql database using jsp  hi sir, how to insert multiple columns of a single row into my sql database using jsp. when i click ADD ROW,rows are added.when i click submit
insert
insert  insert data in database from servlet through JDBC   Ho Friend, Please visit the following: Insert data into database Thanks
How does LBS work?
How does LBS work?       Location based service (LBS) is the application that users use to locate its own position with the help of some basic components like mobile devices, mobile
AN INTRODUCTION TO JSTL
AN INTRODUCTION TO JSTL
Error in using jstl tags
Error in using jstl tags  I'm trying to use jstl tags in jsp.i've included the jstl.jsr file in lib folder of my project and also written the foll.../jstl/core" %> but still i'm getting the error "CANNOT FIND THE TAG LIBRARY
how to use jstl tags?
how to use jstl tags?  I installed jstl jar in my libraries. I got the following error in console screen. I need the solution to resolve this uri in web.xml. please help me.......... "The absolute cannot be resolved
Installing JSTL,Downloading JSTL, Installing JSTL
Installing JSTL Different installation procedure has to be followed for Tomcat 4.x and Tomcat 5.x Containers. To use JSTL two files jstl.jar and standart.jar... be copied from the examples folder webapps/jsp-examples/WEB-INF/lib/ folder. JSTL
How Does the Display Work for the iPad?
How Does the Display Work for the iPad? The iPad from Apple is a great.... It can work with horizontal or vertical displays. The problem... of the coating comes from how it can work to keep fingerprints from showing up
connection with mysql with jstl - JSP-Servlet
-JstlSqlTag.shtml http://www.roseindia.net/jstl/insert-data-SqlJstlTag.shtml http...connection with mysql with jstl  hi, i m working on jstl . i hv done connection in MS -Access with JSTL . The code is working well. but when i am
PROBLEM IN ACCESSING JSTL - JSP-Servlet
PROBLEM IN ACCESSING JSTL   hii i m vikram ... i am using jsp application with tomcat 4.1 .and i want to use JSTL in my jsp page ...so how can i use JSTL in my page .. and i install jakaerta-taglibs-standard-1.1.2 in directory
JSTL in Netbeans 6.9.1
in my jsp. In order to use JSTL in my JSP I had written below code for pointing... used <%@taglib prefix="c" uri="http://java.sun.com/jstl/core" %> My JSP...JSTL in Netbeans 6.9.1  I am seeking your help in solving problem I
validate select option jquery
validate select option jquery  How to Validate select option in JQuery
jstl if else
In this section we have discussed about how to implement if-else tag in JSTL using a simple example. <c:if> tag does not work if the value entered does not match with any of the condition given in the program
JSTL - JSP-Servlet
JSTL  i tried one example on jstl tag.i successfully imported... the images in that web page.i had to copy those images and paste in my webapp/images folder to render those images in my jsp.is it the way < working
Message Resource Bundle work.
Message Resource Bundle work.  How does Value replacement in Message Resource Bundle work
validator framework work in Struts
validator framework work in Struts  How does validator framework work in Struts
select option value
select option value  if i select a value of any drop down...){ alert("Browser does not support XMLHTTP Request") return; } var...(this.value)"> <option value="none">Select</option>
 

 

 

DMCA.com