Fórumok

can i replace velocity with jsp

thumbnail
Shivaji C, módosítva 11 év-val korábban

can i replace velocity with jsp

Regular Member Bejegyzések: 143 Csatlakozás dátuma: 2012.10.18. Legújabb bejegyzések
Hi, I dont have knowledge in velocity, so can i replace velocity with simple jsps.
thumbnail
Nikhil Nishchal, módosítva 11 év-val korábban

RE: can i replace velocity with jsp

Regular Member Bejegyzések: 177 Csatlakozás dátuma: 2012.06.22. Legújabb bejegyzések
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
Shivaji C, módosítva 11 év-val korábban

RE: can i replace velocity with jsp

Regular Member Bejegyzések: 143 Csatlakozás dátuma: 2012.10.18. Legújabb bejegyzések
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
Nikhil Nishchal, módosítva 11 év-val korábban

RE: can i replace velocity with jsp

Regular Member Bejegyzések: 177 Csatlakozás dátuma: 2012.06.22. Legújabb bejegyzések
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
Hitoshi Ozawa, módosítva 11 év-val korábban

RE: can i replace velocity with jsp

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
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.