Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to integrate Sitemesh for 2 kinds view?

 
Leonardo Carreira
Ranch Hand
Posts: 489
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All..

i've a little question..

now iam using Struts2 with Velocity..
is it possible to Mixed it with JSP?..
so i have 2 kinds view Velocity and JSP..

iam using Sitemeh as my decorator..

Thanks in advance
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The view technology doesn't really affect SiteMesh or S2.
 
Leonardo Carreira
Ranch Hand
Posts: 489
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David for your reply..

yeah i agree for your statement..

but iam facing error occured when i try to mixed it (Struts2-Sitemesh-Velocity n JSP)..
my decorator file developed with Velocity with extension ".html"..

this is my example JSP "blank page" :


this is the Error message :


but its run well when i just use Velocity..

Thanks to advanced..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic