directory « Tomcat « JSP-Servlet Q&A





1. Where is the "work" directory located for a Tomcat instance running in Eclipse?    stackoverflow.com

In Eclipse you can configure numerous servers to run inside the IDE, including Tomcat. Depending on your Tomcat configuration, at some point in the life cycle of a webapp your JSP ...

2. Where we have to put the .class file in Tomcat Directory    stackoverflow.com

Where do I have to put my *.class file in Tomcat Directory? In my Java-Complete Reference book, they told to put it in C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes. But now i'm using Tomcat ...

3. Where is the deployment directory in Eclipse?    stackoverflow.com

I'm developing a web app in Eclipse. where is the deployment directory tree situated? In the Apache directory structure or some sub-directory tree structure in my Java workspace tree? I ask ...

4. Clean Working directory of Tomcat in Eclipse    stackoverflow.com

When I work in on an servlet application in Eclipse, I have to choose Clean Working Directory in the server tab of Eclipse for the changes to be visible in the ...

5. Tomcat still does not show directory list even if I enabled it in conf/web.xml    stackoverflow.com

So I already set listings to true and tomcat still does not show my directory. I also restarted the server numerous times but still same effect.

6. Where do we put the Servlets in the directory structure of Tomcat?    stackoverflow.com

I copied a HelloServlet application i got from the web and put it in the ROOT folder. I ran the server and it doesn't work. What is wrong? I think its about ...

7. How can i get the working directory inside a java package called from jsp?    stackoverflow.com

sorry for the poor grammar. How can I call getServletContext() inside a java program. Basically i am using a java package inside a jsp application. I want to get the working directory ...

8. 'prelinking' JSPs from different directory    stackoverflow.com

We have a setup where we can have customer specific JSP files overriding default JSP files in our service. On deployment the custom JSP files are copied from a customer directory ...

9. Is it necessary to adhere to JEE directory conventions in the webroot?    stackoverflow.com

I'm working on a JEE project right now, and I love it. Much nicer (IMO) than PHP. I was looking for a list of JEE coding conventions just to make sure ...





10. how to reach a file in www directory from a servlet?    stackoverflow.com

Using tomcat 6, i created a template inside www/templates/templatefile.html how do I access it from a servlet ? i want to read the html file and parse it. I tried getting the real ...

11. Is it really the case that Eclipse prevents packaging of an entire web directory if any file in that directory has warnings?    stackoverflow.com

I had a collection of jsp files in a subfolder of a Tomcat 7 app created using Eclipse WTP 3.3.0. I was including these using standard <jsp:include page="foo/bar/baz.jsp" /> directives. This all ...

12. Tomcat/JSP Help: Current File/Directory Listing?    stackoverflow.com

I'm usually a PHP programmer and there has been two areas that JSP has me at a fit. The first area I'm having an issue with is dealing with the "." directory. ...

13. How do I edit the default directory listings in Tomcat?    stackoverflow.com

How do I edit the layout of the default directory listings page (see image) enter image description here

14. Create and read from directories in tomcat    stackoverflow.com

I need to create directories and read from them in a servlet. If I wanted to create a folder in my webapps/appName directory, what should I do to achieve this? Currently if I ...

16. URGENT: Disabling directory listing in Tomcat 4.0    coderanch.com

Hi, I have developed an application in jsp using Apache Tomcat 4.0. Application default page is a jsp page and not a index.html. but when user access the site, it displays list of files present in that folder. In simple words, how to disable directory and files listing for the end user using Apache- Tomcat 4.0 Thanks





17. virtual directory in tomcat?    coderanch.com

Hi, all. Here 's my directory structure. C:/ - | + - - other_web/ | | | - books.html | + - - TOMCAT/ | | | - WEBAPPS/ | | | + - - MYAPPS/ | |index.jsp | - - - - Program Files etc... The address "http://localhost/MYAPPS/index.jsp" works fine. But I dont know how display file "books.html", what is ...

18. How can I change development directory in Tomcat?    coderanch.com

Thanks, I'm read in Tomcat website that 1. For classes specific to particular web application, place in /Web-inf/classes of your web application 2. For class that share all web application put in $CATALINA_HOME/shared/classes I'm doubt that Can I set many web application directory in the same time(case 2)? and when I type url in browser. Which directory it find jsp file? ...

19. Tomcat 4.0.4 directory for servlets    coderanch.com

20. jsp directory for tomcat !!!    coderanch.com

Hello all, SuperNewbieGreenHorn Joel here... I have also configured Tomcat (standalone on Win9x for now...)for Servlets and have been able to get Servlets to run as desired but have had no luck with .jsps, and I'm sure that this thing is it. (what is the docType?) Silly question though, how do I edit an XML file? When I opened it ...

22. how to complie servlet and place into tomcat directory?    coderanch.com

Tomcat comes with very complete documentation in HTML form. Once you get Tomcat running as a Web Server, you can browse the default site to see all of this documentation. So WHY do we continue to see people ask these questions??? Why ask when you can read the documentation? Is it not obvious that the documentation is there? Very Mystified Bill ...