Java, JSTL and Tomcat Auto Installation( Windows)

Anyone know of a program that installs the Java SDK, Tomca and JSTL all in one go?
I'm fed up of messing about with all this manual configuration to no avail.
Cheers guys.
Jamie

It's not that hard to do:
1- Download the Windows installer for JDK 1.5.0_09 from this page: [url http://java.sun.com/javase/downloads/index.jsp]Java SE Downloads.
- Click on the JDK 5.0 Update 9 Download button.
- Click on the Accept radio button.
- Click on the Windows Offline Installation, Multi-language link.
2- Double-click on the jdk-1_5_0_09-windows-i586-p.exe file and follow the easy steps.
3- Download the [url http://apache.mirrors.northco.net/tomcat/tomcat-5/v5.5.20/bin/apache-tomcat-5.5.20.exe]Windows installer for Tomcat 5.5.20.
4- Double-click on the apache-tomcat-5.5.20.exe file and follow the easy steps.
5- Download the [url http://gulus.usherbrooke.ca/pub/appl/apache/jakarta/taglibs/standard/binaries/jakarta-taglibs-standard-1.1.2.zip]JSTL 1.1.2.
6- Extract the jstl.jar and standard.jar files into your WEB-INF/lib web application folder.
You're all set!

Similar Messages

  • Simple setup problems with JSTL and Tomcat

    Hi all, I'm having some problems getting JSTL to work the 1st time. JSTL setup seems to be a common problem for relative newbies, but having read previous threads, I still haven't been able to solve my problem so hopefully someone can help:
    the jstl.jar and standard.jar are in my WEB-INF/lib directory, so I don't think it's a classpath problem.
    My jsp page has the following at the top:
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>Later, I reference a bean var with :
    <c:out value="My var is : ${var.property}"/>In my web.xml I have:
      <taglib>
       <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
       <taglib-location>/WEB-INF/lib/jstl.jar</taglib-location>
      </taglib>And I've placed the actual tld (c.tld) in the WEB-INF directory.
    On startup I get the error when compiling the JSP:
    No such tag out in the tag library imported with prefix c
    Can anyone help here?
    Thanks in advance,
    Mike

    I think this note from the JSTL mailing list by Shawn Bayern, one of the lead developers of Jakarta JSTL and the author of "JSTL In Action", will clarify it:
    http://www.mail-archive.com/[email protected]/msg04587.html
    Don't put that <taglib> in your web.xml. All the books tell you to do it, but Shawn Bayern has the right answer. The URI should be the one that's in the TLD JAR .tld files.
    I use JSTL and Tomcat 4.1.24 without the <taglib>, and it works fine. - MOD

  • Java XAMPP and Tomcat plugin

    Hello
    I want to add a Tomcat to my XAMPP. therefore I have to install a JDK. So I installed the j2eesdk-1_4-windows.exe. It's running and I included the C:\Sun\AppServer\bin to the Classpath. my java Version is 1.5.0 and javac is also running from everywhere.
    If I try to start the "xampp-tomcat-addon-1.4.9-installer.exe" I get the following error message: "SUN Java 2 SDK win32 not found. Unable to get install Path"
    System is Win XP Prof.
    thanks for help

    Hi:
    You must to install this (j2sdk-1_4_2_07-windows-i586-p.exe) for run tomcat plugin.
    this is the link for access to that file
    http://java.sun.com/j2se/1.4.2/download.html
    suft that page and look for this name: J2SE v 1.4.2_07 SDK next download it.
    Please any problem, let me know
    bye bye
    NIKO

  • Java 1.4.2 Silent Installation Windows

    Hello i have a big problem with the Java 1.4.2 Silent Installtion under Windows. With Java 1.4.1 everything worked without any problem, i have already tried to record a setup.iss file to use the Installation like with Java 1.4.1, but the installer does not create any file.
    The way with the command line arguments from the sun description also doesn't work (http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/silent.html)
    Has anyone a solution or the same problem?

    Has this been resolved?
    I'm having an issue with it also, using the command line as such:
    j2sdk-1_4_2_02-windows-i586-p.exe /s /v "/qn ADDLOCAL=jrecore IEXPLORER=0 INSTALLDIR=D:\Progra~1\j2sdk-1_4_2_02 REBOOT=Suppress JAVAUPDATE=0 /L D:\temp\jvm142install.log"
    I've also tried different variations of the commands in "", but still no luck.
    From the command prompt it appears to hang, but comes back to the command prompt about 10 seconds later and nothing gets installed.
    Previous to installing it from the command line, I had installed it manually, and ran add/remove programs to remove it from the system.
    Is there something I should check in the registry that might be prevening the above command to run?
    InstallSheild's web site was helpful, but gave command line options for the msiexec to run.
    Any help would be appreciated!

  • JSTL and TOMCAT what files go where?

    I have just started to learn JSP, and sofar everything is going ok except that I need to use the JSTL file and the book I'm using says do this and it don't work!! Can anyone give me a difinative answer as I am now stuck not able to move on any more.
    When I run my JSP id can't find the uri="http://java.sun.com/jstl/core_rt"
    The book says move the files from the C:\java2\jakarta-taglibs-src\standard-1.0.2\lib directory to the lib directory within the WEB-INF folder of my app but no luck.
    Can anyone tell me what needs to go where please!
    Jon

    steps for jstl to work.
    1. copy the jar files to \WEB-INF\lib.
    2. copy the tld file to \WEB-INF
    3. add the following content to your \WEB-INF\web.xml file.
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    <taglib-location>/WEB-INF/c.tld</taglib-location>
    </taglib>
    add similar contents for all the jstl libraries. (c, x, fmt, sql, etc...)
    4. on the jsp page, add this at the start.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    add similar entries for all the taglibs u want to use.
    5. restart tomcat.
    ur done....
    hope it helps.
    siddharth.

  • Java servlets and Tomcat  server

    Hi friends
    i am using Sun One forte Community edition . i am trying to make a hello world servlet .
    there are 2 Files one is Index.html , HelloWorld.java (Servlet)
    I call this servlet from the index.html file.
    evertime i call it it gives me and error of Apache tomcat file not found .The tomcat server is inbuilt with the Sun One studio.
    the directory structure is
    -----HOME
    -------WEB_FOLDER
    ----------Index.html
    ----------WEB-INF
    -------------CLASSES
    -----------------myServlet (package)
    ---------------------HelloWorld.java
    -------------LIB
    The problem is I am not getting how to write the path of servlet in index.html to call the helloWorld servlet.

    Make this entry in your server.xml file located in tomcat_dir\conf.
    <Context path="/abc"
         docBase="webapps/abc"
         crossContext="true"
         debug="0"
         reloadable="true"
         trusted="false">
    </Context>
    Suppose i want to develop my servlets in another folder Let it be "XYZ".Then your package statement must be, 'package xyz;'. Place all your servlets in webapps/abc/WEB_INF/classes/xyz dir.
    Place all your Jsp(s) and Htmls in webapps/abc/pqrs dir.
    Now they all come under one context 'abc'.
    Sudha

  • Dreamweaver & jstl and tomcat

    Hey,
    using Dreamweaver Templates with jstl sql.
    If I pull data from my database , and place them into
    an unordered list:
    <!-- TemplateBeginEditable name="EditRegion6" -->
    <ul>
    <sql:query var="rs" dataSource="jdbc/db"> select newsletterid, email from newsletter</sql:query>
    <c:forEach var="row" items="${rs.rows }">
    <li><span class="date"></span>
    ${row.email }</li>
    </c:forEach>
    </ul>
    <!-- TemplateEndEditable -->
    the values inside <li> 's are empty.
    When I run it in a non-template page works fine.
    Any solutions?

    <%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/format" prefix="c"%>
    <div class="inner">
    <h2>Coming Events </h2>
    <!-- InstanceBeginEditable name="EditRegion6" -->
    <ul>
    <li><span class="date"></span>
    <a href="#"></a></li>
    </ul>
    <!-- InstanceEndEditable -->
    </div>
    Message was edited by:
    iketurna

  • Developing webservices using Java SE6 and Tomcat Webserver

    Hi All,
    I am trying to develop a webservice using Java SE6 Beeta SDK with Tomcat webserver. I read somewhere in the Sun site and it says JAXWS2.0 is fully packaged with JAVA SE 6 SDK? If this is correct then what are all the remining packages(jar files present in JWSDP2.0) required to develop and publish the webservice.
    I does the setup as follows.
    - Install the Java SE6 SDK Beeta available.
    - Install Tomcat 5.17 webserver.
    - Started the webserver by setting java_home as SDK6.
    I am not able to publish the webservice with this setup
    Do i need to place any other package present in JWSDP2.0 in Tomcat_home/common/lib ?
    I used the same example present in JWSDP2.0 package.
    Please guide me regarding this?
    Thanks In Advance,
    Mohan

    Any ideas on how this could be achieved.Have you looked at the Unofficial Web Start FAQ at the Lopica site?
    - Gerald
    PS: You might wonna also consider posting your question to the Java Web Start developers group at Yahoo! See http://groups.yahoo.com/group/webstart

  • How to Install and Configure Java and Tomcat

    Hi Everybody,
    I am using the following versions of java and tomcat:
    JAVA: j2sdk-1_4_2_13
    Tomcat: jakarta-tomcat-5.0.5
    I tried to configure several times both but everytime the result is the same. I am setting the following variables:
    PATH: .;D:\j2sdk1.4.2_13\bin;D:\Tomcat 5.0\bin
    CLASSPATH: .;D:\j2sdk1.4.2_13\lib;D:\Tomcat 5.0\common\lib\servlet-api.jar
    JAVA_HOME: D:\j2sdk1.4.2_13
    Please correct what mistake i am doing again and again. I appreciate your effort.
    Thanks in advance.
    Himanshu

    Fine sir, I will tell evrything in detail what steps i am following during installation and configuring java and Tomcat.
    1) I am using the following versions(exe) of java and tomcat:
    JAVA: j2sdk-1_4_2_13-windows-i586-p
    Tomcat: jakarta-tomcat-5.0.5
    2) Then, i follow exactly the same variable names and values to configure java as mentioned below to make java work under User variables header:
    PATH: .;D:\j2sdk1.4.2_13\bin
    CLASSPATH: .;D:\j2sdk1.4.2_13\lib
    JAVA_HOME: D:\j2sdk1.4.2_13
    Above steps i follow only for installing java. And it also not working properly. If i run my .java file from the destination of the file then it will be execulted but if i try to execute from any other location then it doesn't, it shows the following message in the DOS prompt:
    error: cannot read: Hello.java
    1 error
    Now, please correct what mistake i am doing.
    Thanks
    Himanshu

  • Why do I need to restart Apache and Tomcat every time a java file is change

    If a java file is changed and complied the changes are not reflected if Tomcat is not restarted.
    The settings in server.xml are as:
    <!-- Tomcat Manager Context -->
    <Context path="/manager" docBase="manager" debug="0" privileged="true"/>
         <Context path="/cf" docBase="cf" debug="0" reloadable="false"/>
    Here "cf" is my Application folder under webapps. The reloadable property when set to "true" for standalone Tomcat on Windows98 reflects the changes for compiled java files without restarting Tomcat. But on Linux 7.1 with Apache 1.3.19 and Tomcat 4.0.3 this is not working.
    Also tried out with Manager Application of tomcat-users.xml with reloadable="false" as well as reloadable="true",
    But when I reload the application using the command
    http://servername:8080/manager/reload?path=/appli.name
    It tells me that the application is reloaded but changes in the java file are still not reflected.
    Also when reloaded through Manager Servlet, Only my load-on-startup servlet is reloaded, but other java classes are not.
    Is it neccessary to execute this reload command from the server itself. I m executing it from a remote m/c. and have mapped the application with a domain name virtually.
    Is it the case with Tomcat on Linux with Apache. Or is something going wrong on my part.
    Can someone Help out plz.
    Regards,
    Rupali

    or you can "touch" your web.xml file.
    touch web.xmlor that command is for *nix systems, not sure what the Windows command is.  But basically, when you edit the web.xml, even if it means updating the last modified time, it will restart only your application and you should see the changes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to install Java and Tomcat on my VPS

    Hello,
    I am new in Java.
    I would like to install Java and Tomcat on my VPS server.
    Do you know which doc or info i should read?
    Thanks a lot.
    Gil

    The free Perian will do it for you automatically.
    Additional free new machine setup stuff:
    Install and update your Flash here
    http://get.adobe.com/flashplayer/
    Install Perian (addiitonal Quicktime codecs)
    http://perian.org/
    Install the Unarchiver (uncompress software)
    http://wakaba.c3.cx/s/apps/unarchiver.html
    Flip for Mac (for Windows media in Quicktime)
    http://www.telestream.net/flip4mac-wmv/overview.htm
    VLC (plays anything just about)
    http://www.videolan.org/
    Easy Find (finds everything on a Mac)
    http://www.devon-technologies.com/download/index.html
    OnyX (maintenance, cleanup, repair utility)
    http://www.titanium.free.fr/

  • Java Swing and WIndows User Localles

    HI,
    We need to develop a java applet/application which can be switchable at run time to accept and display characters in multilanaguages. This java applet will run on a windows 2000 server with multilanguage pack installed. Is it possible to dynamically switch languages at run time. The machines default localle and operating system installation is US English.
    We have tried some tests with traditional chinese and UI components in Swing but with no success in displaying or inputing valid chinese characters. Has anyone attempted a simliar thing and have any insights that may help.
    Thanks in Advance,
    Jono

    Yes. It's called JList. Have a look at the tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/index.html

  • Tomcat server installation on Windows 98

    hi,mine is P3 and I use Windows 98. I am trying to install tomcat server version 3.3.2, jdk version 1.4.
    I have set the paths of JAVA_HOME, TOMCAT_HOME to the respective directories as follows
    in the autoexec.bat file
    set JAVA_HOME=c:\jdk1.4
    set path=c:\jdk1.4\bin;c:\jdk1.4\lib
    set TOMCAT_HOME=C:\jakarta-tomcat-3.3.2
    set CLASSPATH=c:\jakarta-tomcat-3.3.2\lib\common\servlet.jar
    When i run startup.bat file it displays a message saying "starting tomcat in new window", but in the new window, i get a display like this:
    org.apache.tomcat.core.TomcatException: EmbededTomcat.initContextManager
    at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTom
    cat.java:631)
    at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
    91)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:30)
    at java.lang.reflect.Method.invoke(Method.java:306)
    at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
    java:52)
    at org.apache.tomcat.startup.Main.execute(Main.java:272)
    at org.apache.tomcat.startup.Main.main(Main.java:98)
    and even more.... And that new window hangs. Pls help me to install tomcat server.

    I only set Java_Home:
    @echo off
    set JAVA_HOME=c:\j2sdk1.4.2_01
    if "%OS%" == "Windows_NT" setlocal
    Thats the only line I added.
    You shouldnt need the other stuff, I am using a later version than you though.
    If I were you Id ditch your current version and get version 5.5 or whatever the latest stable release is.

  • Installer for JAVA application and JVM

    Hi all,
    I want to install a java application(server side). I used free version of InstallAnywhere to do this before. But since my installer may need more complicated operations, like search the registery and detect if they have installed the JVM and Tomcat. if not, suggest them to install, etc. My company do not have the enterprise version of InstallAnywhere, but the InstallShields.
    I am not sure which tool I should use for such installer, InstallShield or InstallAnywhere/ or any other suggestions?
    jing

    I find this link as a good source to know what programs there are for a given tool:
    http://sys-con.com/java/readerschoice2002/
    Click on the "Best Java Installation Tool" link, and check if any of those programs can do what you need.
    InstallShield and InstallAnywhere seems to be the most used programs.

  • Can't execute windows command in servlet with JDK1.5 and tomcat 5

    Hi all,
    I have a web application which uses a servlet to execute windows commands, such as "mkdir", "mv", and "rmdir". In my servlet, I use java Runtime() class to implement the execution.
    Under jsdk1.4 and tomcat 4, it is fine for the servlet to execute those command. But uncer jdk1.5 and tomcat 5, it gives the following error:
    error to execute a command: java.io.IOException: CreateProcess: mkdir c:\m7q28 error=2
    java.io.IOException: CreateProcess: mkdir c:\m7q28 error=2
    Please help me if you have any idea. Thanks.

    And be sure to read this:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

Maybe you are looking for