struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Badi <ki...@poonam.org>
Subject Re: Header and Footer file include struts 2
Date Sat, 10 Jan 2015 05:35:12 GMT
I have jspf fragments rather than jsp file.

I did try with jsp also but same issue.

How does one include header and footers across all pages in struts 2
without using tiles?
On Jan 10, 2015 12:31 AM, "Yaragalla Muralidhar" <yaragallamurali@gmail.com>
wrote:

> you have written
>
>  <result name="SUCCESS">/WEB-INF/views/header/header.jspf
>
>
> i think it is not header.jspf it is header.jsp
>
>
> *Thanks and Regards,*
> Muralidhar Yaragalla.
>
> *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
>
> On Sat, Jan 10, 2015 at 10:42 AM, Kiran Badi <kiran@poonam.org> wrote:
>
> > I already have that in page but still getting error
> >
> > On Friday, January 9, 2015, Yaragalla Muralidhar <
> > yaragallamurali@gmail.com>
> > wrote:
> >
> > > if you are using struts tags add this to your jsp
> > >
> > > <%@ taglib prefix="s" uri="/struts-tags" %>
> > >
> > >
> > >
> > > *Thanks and Regards,*
> > > Muralidhar Yaragalla.
> > >
> > > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
> > >
> > > On Sat, Jan 10, 2015 at 9:49 AM, Kiran Badi <kiran@poonam.org
> > > <javascript:;>> wrote:
> > >
> > > > Hi
> > > >
> > > > I need some help and I have to include header and footer file in
> Index
> > > > jsp.......
> > > >
> > > > For some reason its not working and showing up source code in
> browser.
> > > >
> > > >
> > > >
> > >
> >
> http://stackoverflow.com/questions/27220192/struts-2-sinclude-tag-not-working-for-header-jspf-file?noredirect=1#comment42946997_27220192
> > > >
> > > > Appreciate if some one can take a look.
> > > >
> > > > - Kiran
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message