I have a question on how to accomplish the following:
I have a war file that has a jsp file called business.jsp.
This page has dynamic content that is filled in with jstl xml.
So i have the following page example:
<%@ page language="java" import="java.lang.*,java.u
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core
<%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+
ION ) %>
ION_MODE ) %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
untId != '0']">
Customer Account # :
untId = '0']">
ymousId != '0']">
Anonymous Account # :
Cannot be tracked
This page has allot of content and from time to time the business
wants to change the content and some changes are so simple but b/c
we have had problems of deploying a new war file (after deploying
x number of times we can no longer deploy). We have to stop and
start the servlet container.
What i was thinking of doing but not quite sure if this is something
that can be done is as follows:
Create either a web folder in our apache front end or a directory folder
and strip all the content in business.jsp page and put it into business.html
which will reside in either the web folder on apache or a regular directory
When i say move everything i also mean all the jstl tags, etc. I dont want
to create individual pages to go around the jstl tags b/c it may be harder
So when i call the business.jsp through the browser, the business.jsp will
call the html page then build the dynamic content.
My question is can this be done and if so what is the best way of doing it?
How would you call business.html to business.jsp from the apache folder
or the regular directory folder?
Thanks in advance