It's not a secret anymore!*
The moose likes Struts and the fly likes How to integrate Sitemesh for 2 kinds view? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to integrate Sitemesh for 2 kinds view?" Watch "How to integrate Sitemesh for 2 kinds view?" New topic
Author

How to integrate Sitemesh for 2 kinds view?

Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

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


Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The view technology doesn't really affect SiteMesh or S2.
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to integrate Sitemesh for 2 kinds view?