Nishita
Nishita
i have seen that src on web-inf.
[My Blog]
All roads lead to JavaRanch
Originally posted by Ashok Mor:
Generally src folder falls in root directly and it is used to contains all java source file used in our web application.
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Originally posted by Ulf Dittmer:
I'd say that the Java sources files should be kep out of the installation folder altogether - not in the root directory, either. Only put those files that are needed for deployment into the server directory hierarchy, and keep everything else safely out of it.
[ July 27, 2007: Message edited by: Ulf Dittmer ]
Originally posted by Ben Souther:
First, there is no such thing as 'web-inf' or 'Web-inf'.
It is always 'WEB-INF'. The misspelling of this directory has caused a lot of headaches for beginners so I always point it out when I see it.
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Your source files don't need to be anywhere within your web application. They are not used or needed by the container to run your app.
TheFile.java is called a source file
TheFile.class is called ?
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|