facebook

Disable XML syntax of JSP in MyEclipse 5.1.0

💡
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 IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #264772 Reply

    BSager
    Member

    After I upgraded to Eclipse 3.2 and MyEclipse 5.1.0, the MyEclipse JSP-Editor dos automaticly write new imports of javaclasses in XML syntax.
    I use Java 1.4 and Tomcat 4 and have to use this old versions.
    What can I do that MyEclipse creates imports like this:

    <%@ page import="org.apache.commons.lang.Validate"%>

    instead of

    <jsp:directive.page import="org.apache.commons.lang.Validate"/>

    It would be great if some could help

    #264823

    Riyad Kalla
    Member

    Unfortunately we haven’t added a flag yet to set the old-style of imports, so you will need to change or import them manually. Sorry about the inconvenience.

    #268086

    Victor Ott
    Participant

    Wanted to ask about this issue myself and found this thread. While e.g. Tomcat runs fine with it, WebSphere doesn’t allow mixing classic JSP and XHTML syntax. Sorry to say it, but his issue is very very annoying! And embarassing when the customer asks again what’s wrong…

    #268095

    Riyad Kalla
    Member

    vict0r,
    Thank you for bringing this to my attention, I’m requesting that the priority get bumped as a bug since it’s creating invalid pages.

    #268101

    Victor Ott
    Participant

    Riyad, thanks for your reply. Mixing classic and XML syntax in a JSP is indeed forbidden and therefore invalid code: http://jroller.com/page/etldan?entry=jsp_don_t_mix_jsp. I hope there’s soon a fix for this issue too.

    #272629

    Olivier Jaquemet
    Participant

    We are having the same issue and would also really appreciate a fix on this issue…
    Riyad, any new information on this ?

    #272630

    We have the same issue. Please, could you fix it in the next release. Thanks.

    #272644

    Riyad Kalla
    Member

    Guys this is a bug I bumped to high priority for the 6.0 release. We are really sorry this snuck into 5.5.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Disable XML syntax of JSP in MyEclipse 5.1.0

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