facebook

JSTL error?

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #230754 Reply

    Hey,

    I decided to use some JSTL tags and checked the box accordingly when making a new project.

    A bunch of TLD’s appeared in WEB-INF/lib and a JSTL.jar appears directly under the project name.

    I put this taglib directive in my file…is it correct?

    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 

    I’m asking because sometimes the app runs ok and sometimes I get an error msg in the Deployment Status box when I try to re-deploy :
    Undeployment failure on Tomcat 5.
    The filepath shows….WEB-INF/lib/standard.jar unable to be deleted 😕

    Then it goes on to say if a file is locked you can wait for a time-out to re-deploy etc….

    I never got any errors before I tried to use JSTL… any idea what I did wrong?
    J

    #230755 Reply

    oops, I forgot….

    Windows XP
    myEclipse Version: 3.0.1
    Build id: 200409161125
    Tomcat 5
    JDK 1.4

    J

    #230774 Reply

    Riyad Kalla
    Member

    Jules,
    Nothing fancy going on here, if you are redeploying to a running app server, the file IS locked by the app server. The only difference is that before you likely weren’t deploying as many JARs, and now the chance of one of them being locked is really high, so you hit the problem often.

    I would point out that if you are using an exploded deployment, there is no need to manually redeploy each time. Every time you save a file, it is hot synced with the server for you.

    #230864 Reply

    oh, I see 😳

    …thought I’d messed something up there…

    thanks, mate ❗

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JSTL error?

You must be logged in to post in the forum log in