掲示板

can i replace velocity with jsp

thumbnail
11年前 に Shivaji C によって更新されました。

can i replace velocity with jsp

Regular Member 投稿: 143 参加年月日: 12/10/18 最新の投稿
Hi, I dont have knowledge in velocity, so can i replace velocity with simple jsps.
thumbnail
11年前 に Nikhil Nishchal によって更新されました。

RE: can i replace velocity with jsp

Regular Member 投稿: 177 参加年月日: 12/06/22 最新の投稿
Shivaji C:
Hi, I dont have knowledge in velocity, so can i replace velocity with simple jsps.


What are you trying to do.
velocity you get in different places as (template and theme).
where as Jsp in different as portlet.
Both are server side.
BTW velocity also used Jave services and model, so modify them any one.
Ex:
tou can acces $themeDisplay in Velocity and same Class in JSP.
Util service is also for there in both.
Please elaborate you requirement?
thumbnail
11年前 に Shivaji C によって更新されました。

RE: can i replace velocity with jsp

Regular Member 投稿: 143 参加年月日: 12/10/18 最新の投稿
Nikhil,
My requirement is very simple, i dont have knowledge in velocity as well as structs, so i want to replace them both with jsp and spring, so is it possible?
thumbnail
11年前 に Nikhil Nishchal によって更新されました。

RE: can i replace velocity with jsp

Regular Member 投稿: 177 参加年月日: 12/06/22 最新の投稿
Hi Shivaji,
According to this docs.
http://content.liferay.com/4.0.0/docs/developers/ch04s01.html
you can create theme in JSP. but better to use Velocity.
My question was where you want to use JSP in place of Velocity.
what you want to devlop?

In case of theme you can do it with JSP ( i din't used it , may be above link help you).
and in case of WC template you can use other language option liferay gives you as FTL, XSL etc.

BTW velocity is simple to learn, you can get lots of docs on community for this.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: can i replace velocity with jsp

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Liferay used to use jsp instead of velocity so you're able to use jsp. However, current liferay theme are written in velocity so you'll have to rewrite liferay's current themes in jsp.