Questions tagged [web-inf]

WEB-INF is the name of a folder found in Java web applications. It is used to store deployment information such as the web.xml, required library files and compiled class files. It is normally not accessible from web. Any files which you want to put on war but do not want to make to public then web-inf is the place where you can keep those files.

185 questions
0
votes
1 answer

how to use javaxt in JSP

i want to use Javaxt libs in JSP code so i contain external libs in my DynamicWebProject and use like this <%@ page import="javaxt.io.Image"%> <% javaxt.io.Image image = new javaxt.io.Image( "C:\\codeTest\\test.jpg"); double[]…
user2637015
  • 723
  • 2
  • 12
  • 27
0
votes
2 answers

Refresh design of WEB-INF/classes in Lotus Domino environment

i've some classes deployed in WEB-INF/classes. When i refresh design database on production, this classes are not updated? Why?
Andrea Baglioni
  • 303
  • 1
  • 2
  • 20
0
votes
1 answer

Tomcat: How to point different directories to the same WEB-INF

Currently trying to setup multiple subdomains/domains in my Tomcat and I'm needing them all to use the same WEB-INF/classes/ for everything. Basically my folder structure is like so: Z:/ project/ assets/ (assets.domain.com) main/ …
Tynarus
  • 141
  • 7
0
votes
1 answer

Define Spring bean which depends on file

How could I define a Spring bean which depends on a configuration file that resides in /WEB-INF folder? One of my beans has a constructor which takes a filename of configuration file as an argument. The problem is when I'm trying to instantiate a…
user1140313
0
votes
1 answer

Web app: something wrong with paths?

For some reasons it seems my web app has something wrong with paths. I've the following path for my WEB-INF in Eclipse: Project --src -- main --webapp --WEB-INF --jsp --css I created a project…
user1883212
  • 7,539
  • 11
  • 46
  • 82
0
votes
2 answers

Unable to read a file in Java web application

I am developing a web application using servlets in which i want to use Velocity templates. For this purpose i have kept my templates under WEB-INF/templates directory. I have another plain Java class which generates code from this template and…
kaysush
  • 4,797
  • 3
  • 27
  • 47
0
votes
2 answers

Intellij IDEA: I want to add Web-Inf/Classes to subversion

I want to add the WEB-INF/classes to subversion using Intellij IDEA. It may not be the ideal workflow, but it is the one I must use because of work. Tortoise SVN detects the .class changes, but IDEA only gives me the option to commit .java files.…
MarcosTonina
  • 351
  • 1
  • 3
  • 16
0
votes
2 answers

unable to access the property file when deployed on Apache Tomcat

I have used my user.properties file to access the database which is stored in the WEB-INF folder. Its working properly while running through GGTS(Groovy Grail Tool Suite). I used Properties prop = new…
Rahul
  • 1,070
  • 3
  • 21
  • 47
0
votes
1 answer

Eclipse fails recognize the Java EE packages when refer the Project's Web-inf lib javaee.jar build path but recognizes the ...?

On my development laptop computer, I have installed *GlassFish Server Open Source Edition 3.1.2.2 (build 5). *Eclipse Java EE IDE for Web Developers. Version: Helios Release Build id: 20100617-1415 *Server version:…
crazyTech
  • 1,379
  • 3
  • 32
  • 67
0
votes
1 answer

transitive dependency using GWT Plugin Eclipse

I have Project A which is a GWT Project with RPC stuff. The Server part Depends on a Project B and that project (B) depends on some thirdparty ABC.jar's When i Run the GWT project with Run/Debug the ClassPath doesn't contain the ABC'jars - only the…
user382211
0
votes
1 answer

NoClassDefFoundError LocalSessionFactoryBuilder in the jar

I am new to web application development and need your help. I use Spring3.1.2/Hibernate 4.1 on Weblogic 10.3. I deployed the war file but am getting the NoClassDefFoundError at run time below. It complaints about LocalSessionFactoryBuilder. But if…
John
  • 61
  • 1
  • 1
  • 2
0
votes
4 answers

Java/Tomcat: ServletContext & getResourceAsStream Problems

I am trying to access a conf file (located in the WEB-INF folder) from a Tomcat web app. At the moment, I have the location of the file hard coded as a String. However, this does not work when the tomcat/webapps folder is in a different location…
Dan Forbes
  • 2,734
  • 3
  • 30
  • 60
0
votes
1 answer

creating the folder inside the WEB-INF/lib so that all the lib files will be sorted

I am working on the Java EE project, Not on any framework. When I started working on it, there were only 3 jar files. Currently that particular folder has 10 jar files and in the future might be more than 25. That's why I want to sort all the lib…
KuKu
  • 646
  • 2
  • 15
  • 38
0
votes
1 answer

migrating data from tomcat .dbx files

I want to migrate data from an old Tomcat/Jetty website to a new one which runs on Python & Django. Ideally I would like to populate the new website by directly reading the data from the old database and storing them in the new one. Problem is that…
m000
  • 5,932
  • 3
  • 31
  • 28
0
votes
1 answer

Strange error during XSL/XML load in Javascript

I understand that any resource under WEB-INF is not in public domain and this is by design. I can access a resource under WEB-INF, say an HTML, by configuring it in web.xml as resourceId
Hado99
  • 555
  • 6
  • 15
1 2 3
12
13