facebook

Can’t add JSTL 1.1 to J2EE 1.3 Project? [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #223445 Reply

    harryajh
    Member

    Just upgraded from 3.8.2 to 3.8.3 (on eclipse 3.0.1) specifcally to be able to add JSTL 1.1 instead of JSTL 1.0 to an EAR web component.

    But when I select 1.1 I get –

    “JSTL 1.1 is not compatible with J2EE 1.3 specification.”

    Not sure where how this has been set? – It says at the top of the dialog box –

    J2EE Specification : 1.3
    Servlet Specification : 2.3

    I’m using JDK142_04 so I’m a bit confused as to what’s going on?

    any ideas?

    thanks

    harry

    #223446

    harryajh
    Member

    just noticed in my app’s application.xml this line –

    <!DOCTYPE application PUBLIC “-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN” “http://java.sun.com/dtd/application_1_3.dtd”&gt;

    No idea how it was set though? – is it safe to change to 1.4 & the dtd to 1_4 – my app is targeted to run on Weblogic 8.1 (sp3) if that helps?

    #223449

    Riyad Kalla
    Member

    Harry,
    If you want to use JSTL with 1.3 spec, use JSTL 1.0. If you want to use JSTL 1.1, then you will need to change that file as well as your .mymetadata file (open Navigator View to see it).

    #223450

    harryajh
    Member

    & this in me web.xml

    <!DOCTYPE web-app PUBLIC “-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN” “http://java.sun.com/j2ee/dtds/web-app_2_2.dtd”&gt;

    totally puzzled?????????????/

    #223453

    Riyad Kalla
    Member

    =/

    Are you sure you are using MyEclipse and not Lomboz, WTP or some other web plugin?

    #223504

    harryajh
    Member

    100% sure – why what’s wrong?

    #223520

    Riyad Kalla
    Member

    100% sure – why what’s wrong?

    Everything seemed like it was all wonky and strange… e.g. the DOCTYPE above defines Web 2.3 and then specifies the 2.2 DTD, stuff like that.

    Did you get everything working with my suggestion above?

    #223525

    harryajh
    Member

    see what you mean now, still no idea how those settings were set as I certainly didn’t create the file manually.

    Think what I might do is to create a brand new J2EE 1.4 EAR with ejbs & web components using myeclipse 3.8.3. Then copy source code in etc…

    One more question, do you know if Weblogic 8.1 (sp3) supports this version? – can’t find it anywhere!

    thanks

    harry

    #223527

    Riyad Kalla
    Member

    Think what I might do is to create a brand new J2EE 1.4 EAR with ejbs & web components using myeclipse 3.8.3. Then copy source code in etc…

    Good idea

    One more question, do you know if Weblogic 8.1 (sp3) supports this version? – can’t find it anywhere!

    You mean supports J2EE 1.4? It looks like Weblogic 9.0 supports it: http://java.sun.com/j2ee/compatibility.html

    #223530

    harryajh
    Member

    thanks once again, saved me alot of uneccessary work there!

    I have to use Weblogic 8.1 (sp3) so it looks like if I want to use JSTL I’m stuck with 1.0!

    cheers

    harry

    #223542

    Riyad Kalla
    Member

    No problem, I’m glad it helped.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Can’t add JSTL 1.1 to J2EE 1.3 Project? [Closed]

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