facebook

XML-oriented JSP

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

    patwillard
    Participant

    Sun’s Core JavaServer Faces book suggests a valid XML JSP page such as the following:

    <?xml version=”1.0″ ?>
    <jsp:root version=”2.0″ xmlns:jsp=”http://java.sun.com/JSP/Page&#8221;
    xmlns:f=”http://java.sun.com/jsf/core&#8221;
    xmlns:h=”http://java.sun.com/jsf/html”&gt;
    <f:view>
    <f:verbatim>
    <![CDATA[<!DOCTYPE html
    PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>%5D%5D&gt;
    </f:verbatim>
    <html xmlns=”http://www.w3.org/1999/xhtml”&gt;



    </html>
    </f:view>
    </jsp:root>

    MyEclipse does not appear to offer a JSP template of this style. Will it eventually? If I want to create a template of this style and add it to MyEclipse’s “Create a new JSP page” wizard, how would I do it?
    Thanks.

    #250945 Reply

    Riyad Kalla
    Member

    This is the format for a JSP Document. MyEclipse doesn’t provide direct support for this yet but we should in the future. If you want to add this template yourself you can place the file in <myeclipse install dir>\eclipse\plugins\com.genuitec.eclipse.wizards_4.1.1\Templates and follow the instructions one level up in the Templates.properties fiel.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: XML-oriented JSP

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