Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2561

Include src does not support anymore .jsp path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 7.0.5
    • 7.0.4
    • Components, ZK Loader
    • Window 7 64-bit, jdk 1.6, ZK PE, Eclipse Indigo

    • None

      When we set as SRC of an include a path with a .jsp page or .do path that give a .jsp page as result we got the following blocker error

      SEVERE: Servlet.service() for servlet [zkLoader] in context with path [/ABSWeb] threw exception
      org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Language not found for extension jsp
      at org.zkoss.zk.ui.metainfo.LanguageDefinition.getByExtension(Unknown Source)
      at org.zkoss.zul.Include.fixModeOnly(Unknown Source)
      at org.zkoss.zul.Include.fixMode(Unknown Source)
      at org.zkoss.zul.Include.setSrc(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.zkoss.zk.ui.metainfo.Property.assign0(Unknown Source)

      With version 7.0.2 all was working fine...

      Example:
      <include src="zk7.zul"></include>
      is Working
      <include src="zk7.jsp"></include>
      does not work

      Best Regards

            Unassigned Unassigned
            apiarra apiarra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: