java web application template

Andreas Wuest AndreasWuest at gmx.de
Sun Oct 13 09:54:10 BST 2002


Hi,

in the last mail i forgot to attach the file from the 
template directory. The javawebapp file is attached to 
this mail.

Bye,

 Andreas

> Hi, 
> 
> i have created a small template for a java web application that 
> can be used with Apache Tomcat, Bea WebLogic, IBM WebSphere, whatever. 
> 
> The necessary template files that are required you will find attached 
> to this mail. It would be really cool if you could add the template 
> to the cvs for the next version. The template is not yet perfect and 
> may still contain some bugs but i think it is a good starting point. 
> 
> Back to the files : 
> 
> for template i created the directory 
> template-javawebapp 
> which contains the following files : 
> 
> HelloWorld.jsp 
> HelloWorldServlet.java (attached filename is HelloWorldServlet.xxxx, you
> just have to rename it. sorry for that but the evolution mail client
> always segfaults when i try to attach a java file).
> app.kdevelop 
> build.xml 
> index.html 
> javawebapp.png  (not yet correct) 
> script 
> subdirs 
> web.xml 
> 
> 
> The only problems that i was not able to solve, due to a lack 
> of documentation, were the following ones : 
> 
> - after creating java web application project you get the 
>    following message : 
>    THis poject does not conatin any files yet. Populate it with all 
>    C/c++/java files below the project directory. 
>    (this is obviously a app.kdevelop misconfiguration) 
> 
> - building the web app does work with the F8 key (build project) 
>    you can also select the build target defined in the build.xml file 
>    properly (build, javadoc, warfile). Compiling the individual 
>    java source file does not work since the app tries to compile 
>    the file with ant, which of course cannot find a build.xml file 
>    in the source directory that contains the java source file. 
>    i have no idea how i can fix that. For compiling i would like to 
>    use the javac compiler, not ant. is that possible ?? 
>    (probably another app.kdevelop misconfiguration by myself). 
> 
> Thats all for now. 
> 
> Bye and thanks, 
> 
> Andreas 
> 
> 
> btw. gideon is really, really beautiful. keep up the great work. 
> 
> 
> -- 
> The difference between theory and practice, is that in theory, 
> there is no difference between theory and practice
> ----
> 
<%@ page language="java" %> <%@ page contentType="text/html" %>  Hello
World JSP 
-- 
The difference between theory and practice, is that in theory, 
there is no difference between theory and practice
-------------- next part --------------
# KDE Config File
[General]
Name=Java Web Application (Ant based)
Icon=javawebapp.png
Category=Java
Comment=Generates a simple Java Web Application
FileTemplates=java,ShellStyle



More information about the KDevelop mailing list