Reflecting changes in xml files included in jsp page dynamically...

Reflecting changes in xml files included in jsp page dynamically...

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...

View Answers

Ads









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
change xml dynamically
change xml dynamically  How to change an XML dynamically in Java
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
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
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
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
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
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
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
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
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 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="
parsing xml file in jsp
parsing xml file in jsp  example that pars XML file in 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 
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
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
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 
Using JSP in pure XML generating conforming XHTML
in JSP files in their XML format is given as below: <jsp:root> <... ....................... .................. </jsp:root> JSP page in pure XML...; It defines attributes to be applied for whole JSP page and to only static included
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
jsp page authentication panel using jsp/servlet?
jsp page authentication panel using jsp/servlet?  I have 10 jsp jsp forms and 7 users and i want to grant variour permission like edit,delete and save for users dynamically on forms.So please refer me code
traansfer of files between jsp pages.
traansfer of files between jsp pages.  i am trying to create a dynamic web project which performs XOR operation on a file uploaded by a user... jsp page. and moreover am i supposed to do anything more in order to make
Uploading Multiple Files Using Jsp
Uploading Multiple Files Using Jsp  ... to understand how you can upload multiple files by using the Jsp. We should avoid... logic, but at least we should know how we can use a java code inside the jsp page
Converting PHP page with flash to JSP page without flash
carried by xml. Now I want to convert this php page to jsp and not use flash...Converting PHP page with flash to JSP page without flash  Hi, I... php file ? and the jsp file how can i access the xml data to display
add text box and select list dynamically and get its value to store it into database using jsp request parameter
added select box also into next jsp page plz reply me as early as posssible...add text box and select list dynamically and get its value to store it into database using jsp request parameter  its very helpful when you have only
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
regarding java files genarated by jsp
regarding java files genarated by jsp  Hi,... I'm running a project in tomcat server, It is showing the following error "An error occurred at line: 233 in the generated java file Syntax error, insert "}" to complete Block
jsp page
jsp page  <%@page contentType="text/html" pageEncoding="UTF-8"%>...;%@page import="java.sql.Statement"%> <%@page import="java.sql.DriverManager"%> <%@page import="java.sql.Connection"%> <%@page import
How to upload files to server using JSP/Servlet?
How to upload files to server using JSP/Servlet?  How to upload files to server using JSP/Servlet
How to avoid Java Code in JSP-Files?
How to avoid Java Code in JSP-Files?  How to avoid Java Code in JSP-Files
JSP Tutorials - Page 3
JSP Tutorials - Page 3

Ads