I have a JSP file with tags as follows

<%@ taglib prefix="ww" uri="webwork" %>
<%@ taglib prefix="ui" uri="webwork" %>
<%@ taglib prefix="aui" uri="webwork" %>
<%@ taglib prefix="page" uri="sitemesh-page" %>
<%@ page import="com.atlassian.jira.ComponentManager" %>
<%@ page import="com.atlassian.jira.web.action.util.FieldsResourceIncluder" %>
<%@ page import="com.atlassian.plugin.webresource.WebResourceManager" %>

I need to convert this file to vm file .how to include these tags in vm file.

有帮助吗?

解决方案

You can't import java tag libraries in a vm file. You can't import the classes too and you don't need it actually, you can make them available in your vm context following the instructions in the velocity development guide

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top