Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Tomcat
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
Tomcat
Question about deploy war file in tomcat 4.1
Alex Florentino
Ranch Hand
Posts: 48
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
I make simple
jsp
web application in netbeans, first version is:
index.jsp
<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h1>JSP Page</h1> </body> </html>
and copy to webpp folder in
tomcat
after I change index.jsp and recrate a new war file and copy again webapp in tomcat, but the don't show any change.
it is correct ?
how is correct way resolve it ?
Ben Souther
Sheriff
Posts: 13411
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
In order for Tomcat to recognize your folder as a web app, it must have a WEB-INF folder inside it.
Does it?
Java API
J2EE API
Servlet Spec
JSP Spec
How to ask a question...
Simple Servlet Examples
jsonf
Alex Florentino
Ranch Hand
Posts: 48
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
yes it have, I can access jsp from browse the problem is that it change when I replace war file
Ben Souther
Sheriff
Posts: 13411
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You put the web app in the webapps folder or you put the jsp file in the webapps folder?
If you can explain, exactly what you did it will be easier to help you.
[ September 06, 2007: Message edited by: Ben Souther ]
Java API
J2EE API
Servlet Spec
JSP Spec
How to ask a question...
Simple Servlet Examples
jsonf
Crusading Chameleon likes the size of this ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
<jsp:doBody> tag not displaying scriptlet as template text when the body content is tagdependent
Error while testing attributes
Hello world ejb3 problem
When jsp:include and include directive are different?
Displaying date in text box
More...