Share on Google+Share on Google+

Pratap Singh Mehra
Reflecting changes in xml files included in jsp page dynamically...
0 Answer(s)      5 years and a month ago
Posted in : JSP-Servlet

Hi..I am new to jsp.I am using eclipse and tomcat..

I am using xml files to store Static data which is displayed on my jsp pages (view). I am including those xml file in my jsp page as:-

<%@ include file="Home.xml"%> But when I change my data (xml files) dynamically through "service.java" file it does not reflect in jsp page, though the xml file has already changed in system...even in eclipse I need to open that file and chose yes in dialog box saying "Do you want to replace the editor content with these changes." and restart tomcat. Is there any way that I can change my xml file and that will be reflected in jsp(next time when I request page)..

you can also suggest some better way do this project...

Thank you in advance...

Ads

View Answers









Related Tutorials/Questions & Answers:
Reflecting changes in xml files included in jsp page dynamically...
Reflecting changes in xml files included in jsp page dynamically...  ... xml file in my jsp page as:- <%@ include file="Home.xml"%> But when I change my data (xml files) dynamically through "service.java" file it does
Reflecting changes in xml files included in jsp page dynamically...
Reflecting changes in xml files included in jsp page dynamically...  ... xml file in my jsp page as:- <%@ include file="Home.xml"%> But when I change my data (xml files) dynamically through "service.java" file it does
Advertisements
Include static files within a JSP page
Include static files within a JSP page  How do I include static files within a JSP page?   Static resources should always be included using the JSP include directive. This way, the inclusion is performed just once
change xml dynamically
change xml dynamically  How to change an XML dynamically in Java
Create XMl dynamically - XML
Create XMl dynamically  Hi I am retreiving the list from database which i need to display in an XML file with some nodes How can I do
Reading multiple xml files
Reading multiple xml files  How can we read many xml files from a folder? The same procedure as that of "listfiles
creating index for xml files - XML
for xml files which exist in some directory. Say, my xml file is like below: smith 23 USA john 25 USA ... ... All xml files in the directory have the same structure. It would be like 100 to 200 xml files and each xml file has
dynamically how to change attiribute values in xml
dynamically how to change attiribute values in xml   Hi, I am facing the problem to update the Attribute values in XML file.dynamically how to change attribute values in XML . for example below is my XML structure. text
jsp:include page=.. and include file = ...
one jsp to another jsp. It is executed ( the included page is executed...jsp:include page=.. and include file = ...   What is the difference between <jsp:include page = ... > and <%@ include file = ... >
XML files used in Validator Framework?
XML files used in Validator Framework?  Give the Details of XML files used in Validator Framework
Display image on JSP page using XML
Display image on JSP page using XML  ... can display a image on JSP page by using XML.  This example will examine how to parse and expose XML information using the JAXP with a JSP page
How to store data entered in JSP page by a user in XML file & later retrieval of data using id at other page
How to store data entered in JSP page by a user in XML file & later retrieval... in another jsp page using retrieve submit button.Please tell step by step instructions... by user to be stored in xml file.here you have entered data in JSP file
How to store data entered by User in JSP page in XML file
How to store data entered by User in JSP page in XML file  How to store data entered by user in JSP page to be saved in XML file.On clicking submit button data entered by a user in a page must be saved in XML file.How to do so
How to download files from server to local disk using ZIP format in JSP page - JSP-Servlet
How to download files from server to local disk using ZIP format in JSP page  hi i have an application to upload and download multiple files. As i can upload multiple files .now i have to download all uploaded files on local
how to display selected checkboxes dynamically using jsp
how to display selected checkboxes dynamically using jsp  Hi friends i have a requirement that : in my JSP page i have radio buttons followed by the DB fields..when i click SUBMIT button,if the field(or record
connecting to a database dynamically - JSP-Servlet
java.lang.NullPointerException org.apache.jsp.abc_jsp._jspService(abc_jsp.java:72... with database dynamically. Plz debug the code and explain the reasons for the exception
Retrieve database from the table dynamically in jsp from oracle using servlet
Retrieve database from the table dynamically in jsp from oracle using... columns dynamically. I want to retrieve the table with all columns dynamically using java servlet from the database in the jsp page
how to add data dynamically from database into a dropdown list in a jsp
and department fields also.I have a create an jsp page in which there should 2 drop down... name should also be included in the list dynamically and any updating...how to add data dynamically from database into a dropdown list in a jsp 
how to read and write xml files in javascript
how to read and write xml files in javascript  hi m very new to javascript and xml,, now i want to read and write xml files in javascript,, please give me a sample code to do
why do not required application restart after jsp changes?
why do not required application restart after jsp changes?  why do not required application restart after jsp changes? and why in case of class changed
XML with JSP - XML
XML with JSP  Hai all,, I have a doubt..is it possible to submit jsp form data in to xml... i mean after filling the HTML form when i give submit... the values in to my jsp from XMl..pls help me in this issue
XML to JSP
an xml file and display the data into jsp file...XML to JSP  How to access the following XML tag Title tag in JSP   Please visit the following link: http://www.roseindia.net/jsp
how to access element added via javascript dynamically using jsp code
javascript dynamically using the jsp code. i am adding empty records on .jsp page... the value from these dynamically added textboxes(in form of table) from the .jsp page...how to access element added via javascript dynamically using jsp code 
XML in JSP - JSP-Servlet
XML in JSP  How to read XML in our JSP page. send me any exmple code.  Hi friend, We can read an XML file in the JSP using DOM parser. Here is the link which will help you to understand XML file parsing (reading
jsp and xml - XML
jsp and xml  An example of retrive data from xml using JSP.  HiThis retrive data from xml using jsp.airLineShedule.jsp<%@ page contentType="text/html"%><%@ page import="
how to search data in xml files using php
how to search data in xml files using php  So I want to create a website that allows me (or others) to type in a words and select a relevent search, and have it search multiple XML pages on server The XML documents are setup
Upload and Download Large files in jsp
Upload and Download Large files in jsp  I am not able to download large files (>200mb) from any server. I need a code to download and upload large files (atleast 4 gb) to a server using jsp page
parser xml one page to another
parser xml one page to another  parser xml one page to another
retrieving values from dynamically added textboxes in jsp - JSP-Servlet
retrieving values from dynamically added textboxes in jsp  hai friends, iam new to this site ,please help me in this senario in jsp how to retrieve values from dynamically added textbox like we can see in naukri.com
JSP - JSP-Interview Questions
JSP  When we change JSP code , how the Servlet is reloaded reflecting the changes without restarting the server
how to create a xml page
how to create a xml page  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <
Tutorials   
Java Spring Hibernate Struts Training fat image from db fat image from db fat image from db fat image from db unable to get value returned from javascript variable in page How to change image size before adding to mysql using jsp Design a registration.jsp page with input for user registration details Cart Quantity jsp servlet coding issue servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? image pdf marking pdf marking Multiple image upload using JSP Read code from excel sheet and upload into database using JSP Student java about search engine Convert BLOB to PDF and save it to a location how to copy files from remote to local machine using SFTP SSL in java? Like Team viewer Socket and Servert -Jsp how to copy files from remote location to local using java? How To Store Multilple Images In MySQL database dynamically with image uploader and then retrieve them in image gallery using java how to create SOAP based web service in java? how to fetch data from mysql database table and draw a bar chart on that data using in jsp how to create users in LDAP using java? how to authenticate user using TIVOLI api in java? how to create users using IBM Tivoi API in jsp/servelet? Java/J2ee Please explain this code as many packages and classes are unknown to me .! how to download the uploaded folder files using jsp Login Query image is display from path of mysql database please reply the code to store dynamic fields in database? Reloading issue in jsp How to get Button Id ? calling one jap page from another jsp page login login Problem to get connection from DAO class to JDBC Page Loading Time Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below Sending hidden values

Ads

 
Advertisement null

Ads