Resource « Tomcat « JSP-Servlet Q&A





1. Wildcards for resources in a Tomcat Servlet's context.xml    stackoverflow.com

I'm not overly familiar with Tomcat, but my team has inherited a complex project that revolves around a Java Servlet being hosted in Tomcat across many servers. Custom configuration management software ...

2. tomcat 5.5 - problem with reading resource files    stackoverflow.com

I'm using Tomcat 5.5 as my servlet container. My web application deploys via .jar and has some resource files (textual files with strings and configuration parameters) located under its WEB-INF directory. ...

3. Exposing resources from jar files in web applications (Tomcat7)    stackoverflow.com

Some time ago I read an article what is expected to be in Servlet API 3.0. I remember I read that you can save some .jsp files in a /WEB-INF/lib/somelib.jar/META-INF/web/.jsp and ...

4. tomcat requested resource () is not available    stackoverflow.com

i know its a very common question as i find many questions relating to this in several forums, including SO. but i have not found a solution yet my web.xml (located in ...

5. Lift webapp has directory and resource with the same name, but gives 302    stackoverflow.com

I deployed example.war to Tomcat 6.0.32 (latest at time of writing), and the deployed webapp contains the following:

$ find example | egrep -v "WEB-INF/lib|WEB-INF/classes"
example
example/_items.html
example/_share_link.html
example/all_items.html
example/images
example/images/ajax-loader.gif
example/index.html
example/item
example/item/star.html
example/item.html
example/js
example/js/c-jquery-1.4.2.js
example/js/c-jquery-ui-1.8.2.js
example/js/jquery-1.4.2.js
example/js/jquery-1.4.4.min.js
example/js/jquery-ui-1.8.2.js
example/js/jquery-ui-1.8.8.custom.min.js
example/js/jquery.blockUI.js
example/META-INF
example/META-INF/MANIFEST.MF
example/search.html
example/static
example/static/index.html
example/templates-hidden
example/templates-hidden/default.html
example/templates-hidden/wizard-all.html
example/WEB-INF
example/WEB-INF/web.xml
Particularly note:
example/item
example/item/star.html
example/item.html

6. Eclipse indigo JSP shows 'HTTP Status 404:requested resource()not available' when run on tomcat7    stackoverflow.com

I have tomcat 7.0.14, jdk1.6 and Eclipse Indigo for Java EE web app developers. I tested tomcat with a simple project with html and jsp files. when i run each file, i ...

7. javax.naming.NamingException: Could not create resource factory instance    stackoverflow.com

First of all i'm not a Java developer. I just need to get a simple jsp examples that connects to a postgres database and retrieve some information. I got it running on ...

8. List of resources in a folder of jar file?    stackoverflow.com

As usually I read resources from jar file as following:

getClassLoader().getResource(pTextPath + "/" + pLang +".xml");
I need to read all resources with certain name from known folder in jar file. E.g. read ...

9. Tomcat can find servlet (404 requested resource not found)    forums.netbeans.org

After trying to get things to work with our "real" apps, I decided to try out a trivial case to isolate errors. I've got a fresh install of Netbeans 7.0 with Tomcat 7.0.12 on Windows 7. I've created a web app with one servlet per Netbeans wizards. I've uncommented the trivial-case text to produce a simple servlet. Everything compiles fine, and ...





11. Tomcat servlet -Http 404 resource notfound    java-forums.org

I am posting my program for connecting a database from servlet that can be viewed from html page. kforce.html

K-Force Employment details

ApplicantId:

FirstName:

MiddleName:

lastName:

StreetAddress:

City:

State:

ZipCode: