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.

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

  • Got an email stating workspaces no longer available.  Followed instructions.  Think I downloaded my files.  What files?  Where?  How do I access them?

    Got an email stating workspaces no longer available.  Followed instructions.  Think I downloaded my files.  What files? Are they safe?  Where are they?  How do I access them?

    When you download files, you will probably have been asked where to put them. If you didn't choose carefully they could be anywhere. But perhaps they are in your DOWNLOADS folder - some browsers do that.
    Check you have them and know where they are before the service is turned off.

  • Shared Data Partition + Lion + Snow Leopard - What files go where?

    I have partitioned my new internal drive into 3 (which is currently in a enclosure).
    The 1st Partition reserved for Lion
    The 2nd for reserved Snow Leopard
    And the 3rd reserved for a shared Data parition
    I'm not enirely sure how to divde up the files. What should be put on the Data parition?
    And how to direct each OS parition to access the shared data partition?
    I would appreciate advice and example(s). Detailed information is always welcome.
    Thank you.

    darkhorse85 wrote:
    It would excellent if you would could me about other programs such as Mail which would suffer releated issues.
    I really don't know, and don't know if there's a list anywhere of Mac apps.  Mail seems to change with every release (and even some "point" updates).  I think Calendar is one, too.
    This list of 3rd-party apps is unofficial, but seems pretty reliable as far as what will run where: http://roaringapps.com/apps:table
    As you'll see, it's mostly geared towards Lion vs. Mountain Lion (and in a few months, will be Mountain Lion and Mavericks).
    You'll probably have to use some trial-and-error, and/or contact the makers of the apps you use.
    I am not familiar with using any kind of software as a Virtual Machine how would this work?
    I'm not very familiar with it, but you install 3rd-party software that lets you run one OS within a different one, rather than having to boot into one or the other.  Basically, it puts a Virtual Machine folder containing one whole OS installation on the disk of another;  it runs concurrently with the other OS, in a separate window (or multiple windows for different apps, I think).  There are some downsides, especially performance, but a lot of folks do it, usually to run Windows, but some to run Snow Leopard on Lion or Mountain Lion.  There may be some restrictions on the Snow Leopard license, too -- Apple didn't allow that for OSX at all for a long time, except for the Server product.  I don't know what the rules are now.
    Parallels and VMware are two I see mentioned often.  I seem to recall reading about a free one, but as it's pretty complex software, I'm a bit skeptical. 
    I don't know where else to point you, but that should get you started on research.  Look for those apps and/or Virtualization Software to find more.
    Good luck!

  • 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!

  • What files go where for OA Framework customizations?

    I'm attempting to create a project to customize an iprocurement page. I've read the OA Framework documentation (Developers guide, tutorial) as well as going through the tutorials for extending the toolbox. I find no reference to setting up the jDeveloper environment for extending REAL applications.
    I have attempted to zip the $JAVA_TOP/oracle/apps/icx/* xml and class files and restore them onto <JDEV_HOME>\myclasses\oracle\apps\icx...
    I've also zipped and restored $ICX_TOP/mds/*.xml to <JDEV_HOME>\myprojects\oracle\apps\icx....
    This is an 11.5.10.2CU instance, upgraded from 11.5.9
    I've even tried putting all the files into \myprojects and \myclasses to see if that would help.
    In any case, I'm unable to open the server.xml files in various packages within the files - I get 'unable to load referenced file ' errors on various files that are actually there.
    Could somebody give me a little guidance in setting up my environment for doing customizations to iprocurement/ ssw applications? Thanks
    Steve
    I then tried to open the

    Thanks for the reply
    but I think I'm still confused.
    I'm running jDeveloper from Windows 2k
    Our run environment is 11.5.10.2 on Sun Solaris.
    So all the objects are on our middle tier.
    What I'm trying to do is simulate the environment by copying the files from there to my client machine.
    I found out the page xml and the VO xml (which is has no EO in this case, just a query).
    I'm going to extend the VO to add a default value to one of the fields.
    The tutorial had the environment all set up which allows me to do this with the toolbox application but the 'ICX' environment for iProcurement is completely on our server.
    I'm not sure how to point the classpath to that location. But from what I think I get from your reply (and other comments I've gotten from this forum), I want to put the files into ..\myprojects, which I've done. Also put them into ..\myclasses, though I think that is for runtime.
    Unfortunately, when I try to copy the oracle.apps.icx.icatalog.shopping.server.server.xml into my project and create business object package from it, I get errors that it can't find files that are in other packages (such as oracle.apps.icx.schema.server) so I figured I was doing it wrong (the files ARE present but I haven't added other packages yet, the VO is in the package I tried to copy). The process fails and no files are present in that package in my project when I restart jDeveloper.
    So I was assuming that I wasn't doing this correctly.
    Now that I've given you a little more accurate information:
    1. Am I doing my setup correctly?
    2. Any suggestions on how I troubleshoot the problem?
    Again, thanks for responding
    Steve

  • 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

  • I have problem with Itunes losing where podcasts and some purchased music is located. Don't know how Itunes losing the locations of the files and I can't find the files on my hard drive. What can I do to stop Itunes losing location and restore my files?

    I have problem with Itunes losing where podcasts and some purchased music is located. Don't know how Itunes losing the locations of the files and I can't find the files on my hard drive. What can I do to stop Itunes losing location and restore my files?

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • I have to wipe my computer clean as I have a corrupted file some where,I was wondering if I will lose all my keywords if i do this and what should i do to pervert this

    I have to wipe my computer clean as I have a corrupted file some where, I was wondering if I will lose all my keywords if i do this and what should I do to pervert this.

    Keywords are stored in the catalog. Just be sure your catalog(s) is backed up as well as all you image files before reformatting the drive.

  • HT1414 When I hit restore a file menu from my computer pops up and I am not sure what file to put in to get my iphone to restore from.  I don't get the box that says are you sure you want to restore.  So how do I get it to restore so I can see if this fix

    I got a "new" iphone from the Apple store when my dog bit the phone and cracked the front.  This new phone will not play any music, ie no sound will come out.  I can watch videos with sounds but no music from any of my playlists.  I checked with Apple and was told to try to restore my iphone.  I did all the necessary prep work like backing up and syncing and then hit the restore button on the iTunes page.  A file menu icon popped up with a blank in it and I do not know what file I need to put in the window as where it needs to find a file to restore the phone.  I never got a message that said are you sure you want to restore the phone.  I need some help if anyone knows how to do this or should I just go back to the Apple store (which is over an hour away)?  Thanks

    I am syncing my iphone to my iTunes account and then I do a backup and also making sure all updates are current.  Then by going to the my phone and then going to the right and selecting the restore my iphone.
    Here is a picture of what I get

  • I have a dilema i use a programme called Mackeeper i accidentally moved several files to my trash,i would like to put the files back where they belong but put back option is in grey and wont work??

    I have a dilema i use a programme called Mackeeper i accidentally moved several checked files to my trash BUT i didnt delete them,i would like to put the files back where they belong but the put back option is in grey and wont work?? i have spoken to Apple and to no avail !!!
    Mackeeper moved my files to my trash so i pulled them out of my trash to my desktop it has copied them to my desktop as well as kept them in my trash!!
    im so confused and things are not working properly anymore such as my google chrome for example...all my book marks are gone BUT i can go to the google file which is out of place on my desktop and view all my bookmarks data...ALL of my files still exist but they are just out of place now which is making it hard for certain options on my computer to work...
    the files includeAccounts,address book plug-ins,addressbook,Adobe,AIM,Alfred,Anquet Maps,Apple,Asramsoftware,Audio,Automatically add to itunes,facebook,facebook 15-53-13-329,faxfresh,five details,flipping book photo album, font collections, fonts, forismatic,Garageband,Gimp,Google,Google 15-53-13-344,icloud,icons,idocument lite,ilife media browser,ilifepage layout,internet plug-ins,ip scanner,itext express,itunes,iweb,Keyboard layouts,Keychains,launch agents,Librarian,limit point software,logs,mail,mail 15-53-13-895,messages,metadata,mobile documents,mobiscope,moso,movie effects,mozilla,MPlayerx,mywebcamBroadcaster,Native instruments,Skype and LOADS more......
    HOW do i get this stuff back to where it is supposed to go so that these programmes work properly again???? i also used delete and command but that did not work either,like i said i have not emptied my trash and ALL the info is there its just totally out of place and the put back option will not work sor some reason!!??? im running 10.8.5 imac someone PLEASE help me!!
    i have not set up time machine either but i do back up to a site called backupblaze...

    Step 1
    Remove "MacKeeper" as follows.
    "MacKeeper" has only one useful feature: it deletes itself.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the functional components of the software will be deleted. Reboot.
    Failure to remove MacKeeper will result from neglecting any one of these points:
    Quit MacKeeper before dragging it to the Trash.
    Don't empty the Trash after dragging the application to it. Let MacKeeper delete itself.
    Don't try to drag the MacKeeper icon in the Dock to the Trash.
    Here are some general suggestions. If you want your computer to be usable, don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    The only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Never install any third-party software unless you know how to uninstall it.
    Step 2
    Restore from the last backup that predates the unwanted changes.

  • 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 7. Re: What is the location for the swatches file in the illustrator product part of Adobe Creative Suite 3 Design Premium for windows (date and lenght)? File that manges its funcionallity.  Thanks

    Original posting: https://forums.adobe.com/message/6529108#6529108
    As per support suggestion:  The discussion is posting again to obtain answer from adobe staff
    ===
    Illustrator is not working as it should...
    I want them to compare the original size and date of creation with what I have installed on my computer... I have installed several times with my original CD and I tried once downloading the files from the adobe site (using my own license). I suspect the files has been modified or renamed on my laptop by an external unauthorized user causing the malfunction of the application.
    Customer services does not support CS3 anymore and the updates / patches in the adobe site does not solve the problem... They redirect me to the forums for support...
    Presently, my problem is that after creating a swatch and drag it to the swatch panel, it does not fill as it should a new form... Now, after deactivating and activating my license the swatch seems to fill the new form but when the filter that the swatch has is persistence in the next filling object created even though a different color is being used as a fill (X)... Help in the creation of a swatch over the internet just complicate the issue.
    That's why I would like to know whether updates on my product are being received or files are being replaced without my knowledge...
    Thanks...
    PS Do you know how to contact a staff adobe employer on the forums?

    I saw your post today. 
    Moving the hosts file to the desktop will make it part of a roaming profile?  That's means that activation will occur from any computer that are part and available of my microsoft local network.  How can I make sure that the program I access is the one located on my local C drive and not in a roaming profile in maybe a cloud environment or from an unknown equipment with access to my network without authorization. I have only 1 laptop where I install locally the CS3 suit
    My host file has not entries on it and even when trying to copy to the desktop the activation can not be completed, same problem.  Days ago I used the trial option instead of the activation, after trying to activate the whole product as you mentioned in your reply, the trial period remaining got back to the original 30 days.
    I have recently noticed that I have a roaming profile with a workspace file different to the one I have on my local disk (3 files basic, panel and type).  On the roaming profile I see a directory for adobe illustrator CS3 settings \ workspaces \ AIWSPrefs file which has different entries than the one I have at the local drive.  Normally I do not customize a lot the workspace or safe the setting used, I load the brushes, swatches, etc manually from the location they are on my local drive so the swatches and brushes directories on the roaming profile are empty instead. Adobe Eureka and Kuler palettes exists on the basic local file not in the roaming one.
    The directories on my roaming profile are:
    Acrobat
    Adobe Illustrator CS3 Settings
    Adobe PDF
    Adobe Photoshop CS3
    Color
    Dreamweaver 9
    Flash Player
    Fonts
    Headlights
    Linguistics
    Logs
    LogTransport2
    Save For Web AI
    Updater5
    Workflow
    XMP
    Inside illustrator roaming directory, the following files :
    AI Color Settings
    AIAppResources
    AIMenuFaceCache
    AIPrefs
    Brushes
    Composite Fonts
    Graphic Styles
    IllustratorFnt.lst
    Kinsoku
    MojiKumi
    New Document Profiles
    Plug-in Cache.ARTX
    Plug-ins
    Print Presets
    Save for Web Settings
    Swatches
    Symbols
    Transparency Flattener Presets
    Workspaces
    In the above scenario, which workspace and other functions files will take precedence?  How can I avoid the roaming profile?
    Not being able to copy files from the roaming profile to my local disk, I wondering how this roaming profile was created and why the files are in there.   Those files have a date from last month, the local files were more recently installed.
    Your comments will be appreciated at your earliest.
    Thanks in advance

  • What file type and codec should I use for creating a file to send to have an HDCAM copy made

    I'm prepping to take a video file of my film into a tape dubbing house to have an HDCAM copy of my project made. I'm using a PC, so Apple ProRes is not an option. What file type, codec, and settings do you recommend?
    I was considering MXF, but the highest quality codec is XDCAM 50, which only does up to 50Mbps (I think). I believe HDCAM works at 140Mbps, so I would rather not give them a file that's compressed to almost 1/3rd that, especially since the source is a 5K 5120x2560 project. DPX maybe? I've never exported DPX before because it's not an option on my copy of CS6 - maybe that has to be downloaded separately? I was considering a Quicktim in H.264 at 140Mbps, but I think that would mean some serious rendering for the tape house. I would like to be able to offer them a few different options and see what they prefer, but this is an area where my knowledge runs thin. Any suggestions would be much appreciated. I'm hoping there's an industry standard that I can stick to.

    DPX maybe? I've never exported DPX before because it's not an option on my copy of CS6 - maybe that has to be downloaded separately?
    Your CS6 'Format' dropdown list should include DPX:
    Among the options you listed, DPX would be my choice.
    Be certain the dupe house can accept these files before proceeding.

  • Where do i find form and action java files

    I was trying to add a new menuitem to the web console. I have a jsp page like pag1.jsp and has pageForm and pageAction java file. Inside struct.config file I find that form and action files are placed under"com.thortech.xl.webclient.actions.tcAddCommentForm" , but when I search for the tcAddCommentForm, I coundn't find the file. Can u tell me where should I add my form And Action files

    Just what to you mean? The Info pane for the iPod in iTunes allows you to sync the iPod contacts and calendar with other calendars and contacts. There is no contacts or calendar in iTunes.

Maybe you are looking for