PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 4:57 PM
Subject: RE: Problems with Tomcat and nested:iterate + jsp:include
>
> Tomcat had its JSP engine (Jasper) rewritten for version 4.1.x and is
> naturally a part of 5.
eply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: Problems with Tomcat and nested:iterate + jsp:include
Date: Fri, 12 Dec 2003 02:07:54 +1000
Yeah!, what she said! :)
Arron.
PS: Christine, t
t; Christine
>
> >From: "Lucas" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> >Subject: RE: Problems with Tomcat and nested:iterat
AM
> > To: Struts Users Mailing List
> > Subject: Re: Problems with Tomcat and nested:iterate + jsp:include
> >
> > Well the WSAD build in version, which is 1.1beta2.
> >
> > But is it a Struts problem, cause why does it work with Resin & WSAD,
> > but
: "Lucas" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: Problems with Tomcat and nested:iterate + jsp:include
Date: Thu, 11 Dec 2003 01:03:19
Original Message-
> From: Rouven Gehm [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 11, 2003 12:18 AM
> To: Struts Users Mailing List
> Subject: Re: Problems with Tomcat and nested:iterate + jsp:include
>
> Well the WSAD build in version, which is 1.1beta2.
>
> B
[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 3:34 AM
Subject: Re: Problems with Tomcat and nested:iterate + jsp:include
> Rouven,
>
> What Struts version are you running?
>
>
> Arron.
>
>
>
>
> > Hi there,
> >
> > hope someone h
Rouven,
What Struts version are you running?
Arron.
> Hi there,
>
> hope someone has a clue, why this doesn't work with Tomcat, but
> works with Resin :
>
> I have a tile, where i want to show a treelike menu based on the
> monkey example for the struts-nested taglibs, see my code at the
Hi there,
hope someone has a clue, why this doesn't work with Tomcat, but works with Resin :
I have a tile, where i want to show a treelike menu based on the monkey example
for the struts-nested taglibs, see my code at the bottom. On the Resin and WSAD
server,
the tree is shown correctly, but w
this particular code so they are
requesting that I just jsp:include the full path to their file. This
doesn't work real well inside of tiles.
Is there a parameter or option that I can use to include a
file with a path like http://sse.central/includeFiles/nav_pulldowns_g
No. Tiles can only insert
There has been a discussion on this before on the maling list ..
If you are using Tiles with Struts then this can be taken care of ..
-Original Message-
From: Peng Zhao [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 4:33 AM
To: [EMAIL PROTECTED]
Subject: Template VS JSP:include
JSP:include
which one is better?
As a website of n pages, the template method will have
1(template) + 2*n(one use template, the other is "content") = 2*n+1 JSPs
the jsp:include method only have
n(pages) + m(header, footer
You can combine the "use of template" and "content" pages into one JSP to
get n+1 JSPs.
-Max
- Original Message -
From: "Peng Zhao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 11, 2003 4:02 PM
Subject: Templ
which one is better?
As a website of n pages, the template method will have
1(template) + 2*n(one use template, the other is "content") = 2*n+1 JSPs
the jsp:include method only have
n(pages) + m(header, footer
y are
requesting that I just jsp:include the full path to their file. This doesn't work real well
inside of tiles.
Is there a parameter or option that I can use to include a file with a path like
http://sse.central/includeFiles/nav_pulldowns_g
Thanks
I Know this question is not a struts question but i think that this list is
able to give me the light :)
I have a JSP page with 4 jsp:include:
it's work well in IE but in Netscape and Mozilla only the first include work
and i have any thing for the three others in my html result
-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 6:10 PM
To: Struts Users Mailing List
Subject: Re: nested:iterate & jsp:include, nesting reference incorrect?
Have you tried the latest and greatest nested tags?...
An update changing all
Have you tried the latest and greatest nested tags?...
An update changing all the internals that would affect this have changed. It
went in after RC1, so either fetch a nightly, or simply download...
http://keyboardmonkey.com/downloads/km-nested-v2.03.jar
...and pop it into your WEB-INF/lib dir
In my http request scope, I'm seeing losing my
iterate index when passing the nesting context to an included jsp. I've
been using struts-1.1RC1. I've dumped out the request attributes, pre
and post jsp include to see what's in there...
*** external.jsp
Hi there; I wonder if someone could tell me why the following happens:
I have a JSP form that looks something like this:
Want to get in touch? Just fill in the form below, and
press 'send'
Why don't you use tiles.
At run time you can change everiting you want with a controller.
_
GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321
(prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagné.
Rè
Hi
i have a requirement like this i have a jsp where i am listing all the
records from a table. this list is coming from ActionForm getter method.
this page i want to include in another jsp as a jsp:include. can i
include like that if yes how.
right now i will be calling the action on the
Or with JSTL:
or
Quoting Gemes Tibor <[EMAIL PROTECTED]>:
> 2002. december 5. 15:11 dátummal [EMAIL PROTECTED] ezt írtad:
> > Hi,
> >
> > I wish to include a number of jsps within my main jsp. The list of
> include
> > files is retrieved from the database and stored in the ActionForm
2002. december 5. 15:11 dátummal [EMAIL PROTECTED] ezt írtad:
> Hi,
>
> I wish to include a number of jsps within my main jsp. The list of include
> files is retrieved from the database and stored in the ActionForm. I can
> then have a piece of jsp code as follows:
>
>
>="true"/>
>
You c
Hi,
I wish to include a number of jsps within my main jsp. The list of include
files is retrieved from the database and stored in the ActionForm. I can
then have a piece of jsp code as follows:
However, this doesn't work because 'jsp:include' is parsed before
'bean
I have a large webpage (~150 KBytes) which needs to be broken up so that it
doesn't exceed Java's 64 KByte limit per method. So the main.jsp looks like
the following:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
-
From: Spunky Monkey [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2002 11:05
To: Struts Users Mailing List
Subject: Re: Nested tags and jsp:include
pop an empty nested:root tag around all the nested tags in the included
page. Nested tags always need their root tag. In this instance, the
empty root tag
tutorial on my site uses dynamic included and the nested tags
to do its thing. This is how true JSP recursion happens.
Should do the trick.
Arron.
On Wed, 2002-08-28 at 19:29, Jon.Ridgway wrote:
> Hi All,
>
> I havea problem with the nested tags. If I use a jsp:include on a page
Hi All,
I havea problem with the nested tags. If I use a jsp:include on a page and
the included jsp tires to use the nested tags I get a NullPointerException
thrown by one of the Nested classes. I guess that something is being stored
in the page context by the nested tags and that the included
ion for what we want to do? Or is this a
half-baked hack? Has anyone had similar problems trying to include
components while using struts? The document suggested using templates,
tiles and jsp:include, these methods work fine for jsps and htmls, but
including an Action (which calls a RequestDisp
:
>Subject: jsp:include when page="anAction.do"
>From: "M. David" <[EMAIL PROTECTED]>
> ===
>I'm wondering if anybody is attempting this. The problem I'm seeing is the
>content is never completely rendered.
>
>Versions of software:
>JDK 1.3
&g
Check your jsp specification version.
You can't do a jsp include inside the body of a tag in jsp1.1. You
should be able to do it in jsp1.2.
Cedric
Struts Newsgroup (@Basebeans.com) wrote:
>Subject: Tag Iterate and jsp:include (ERRATA)
>From: "Guido" <[EMAIL P
Subject: Tag Iterate and jsp:include (ERRATA)
From: "Guido" <[EMAIL PROTECTED]>
===
Hi all, i'm having the following error message with a jsp under Tomcat 4.0.1
: "Illegal to flush within a custom tag".
The code involved is :
This error happens only in p
Subject: Tag Iterate and jsp:include
From: "Guido" <[EMAIL PROTECTED]>
===
Hi all, i'm having the following error message with a jsp under Tomcat 4.0.1
: "Illegal to flush within a custom tag".
The code involved is :
--
To unsubscribe, e-mail:
The problem seems to be involved in output buffer.
Try flushing the buffer :
From: "Jeremy Haile" <[EMAIL PROTECTED]>
Subject: logic:iterate problem with jsp:include tags
Date: Tue, 2 Jul 2002 19:20:47 +
> I have a strange problem with the logic:iterate tag. I h
I have a strange problem with the logic:iterate tag. I have used this
tag numerous numerous times (not in this context however) and have
never seen this type of problem.
First, I will explain the symptoms:
Say my page is laid out in five sections: A, B, C, D, E and a
logic:iterate tag encompass
Yes, Struts tags are considered as "custom tags" by the compiler. In fact, all tags
except the ones starting by are custom tags.
You have certainly put your inside the body of a tag implementing
BodyTag interface (like the tag). It is not possible to do a flush inside
such tag. automa
Hi Cedric,
Thanks for writing! Are Struts tags considered custom tags by the compiler? Because,
I have never written a custom tag. I did, however, move my to a
different spot on the page and now it works fine :-)
Thanks again
Cedric Dumoulin <[EMAIL PROTECTED]> wrote:
>
> Does your is
Does your is in the body of a custom tag ? If yes, this is why
compiler comply, and it refer to the enclosing tag, not the tag.
Cedric
[EMAIL PROTECTED] wrote:
> Hi Struts Users,
>
> Why does the compiler think that my is a "custom tag"? My include
>tag in the of my JSP appears b
Hi Struts Users,
Why does the compiler think that my is a "custom tag"? My include tag
in the of my JSP appears below:
I'm getting the "Illegal to flush within a custom tag" error on one JSP, but not on
another JSP (in the same application) with the same include tag?!?
Any tho
hello community,
this is surely a request not closed to our mail list, but.
i've this error when trying to run a jsp file under jbuilder :
"index.jsp" : Invalid jsp:include tag at...
could someone help me please ?
thanks
jean fotovat
Hi There:
I had a simple question regarding for jsp:include, I have following code in
one of my jsp page:
which "listuser.do" is another struts action will print out user list.
This code was working fun on JRun 3 appserver, but when I move to Tomcat
3.2.1 I get following
Hi,
Have you check Tiles library ? Maybe it already provides what you need ...
Cedric
Martin Samm wrote:
> this is not directly Struts but seemed the best qualified forum (it is for a
> struts based app however).
> I'm using a custom tag to decide which jsp to include (based on some r
thats great, thanks very much
On Monday 03 Dec 2001 6:29 pm, you wrote:
> > "Martin" == Martin Samm <[EMAIL PROTECTED]> writes:
>
> Martin> this is not directly Struts but seemed the best qualified forum
> (it is for a Martin> struts based app however).
> Martin> I'm using a custom ta
> "Martin" == Martin Samm <[EMAIL PROTECTED]> writes:
Martin> this is not directly Struts but seemed the best qualified forum (it is for
a
Martin> struts based app however).
Martin> I'm using a custom tag to decide which jsp to include (based on some
request
Martin> varia
Try to use template. Struts template can do exactly
what you want to.
--- Martin Samm <[EMAIL PROTECTED]> wrote:
> this is not directly Struts but seemed the best
> qualified forum (it is for a
> struts based app however).
> I'm using a custom tag to decide which jsp to
> include (based on so
this is not directly Struts but seemed the best qualified forum (it is for a
struts based app however).
I'm using a custom tag to decide which jsp to include (based on some request
variables) - the tag then uses a JSP writer to create the -
trouble is the ' tag is just written out and not 'in
When you call /view-calendar.do, Struts execute your action, and do a forward
to the jsp page you specified.
Unfortunately, JSP specification forbid a call to forward or sendRedirect once
you have already written something. So, you can't do what you try if you have
already written something .
I'd like to use an action/action form to handle a JSP include, can this be
done...?
I'd like to do the following..
...
...
My view-calendar.do will either choose:
month.jsp
daily.jsp
week.jsp
for it's view.
However, when I try to use this, it tells me that the response has already
been com
Sorry, this is not struts at all, but i trust this list :)...
I do a and on JRun with IIS 5.0 on windows2000 it displays
correctly. On JRun with iPlanet on winnt, the included JSP displays at the
top of the page before any other content is displayed. I think I have seen
this before, but couldn't
On Wed, 12 Sep 2001, Wong, Albert wrote:
> Date: Wed, 12 Sep 2001 10:55:56 -0700
> From: "Wong, Albert" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: RE: getting jsp:include to work behind WEB-INF wall
>
Title: RE: getting jsp:include to work behind WEB-INF wall
I'am really astonishes, but thanks for this information.
Cédric
-Message d'origine-
De : Joey Gibson [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 12 septembre 2001 19:40
À : [EMAIL PROTECTED]
Objet : R
Title: RE: getting jsp:include to work behind WEB-INF wall
The spec is not explicit about a RequestDispatcher being able to access JSP's under WEB-INF. I know tomcat supports it but Weblogic doesn't. I posted this on the bea servlets newsgroup, and a bea representive resp
Tiles will be distributed with Struts in the 1.1 timeframe. It is in the
contrib folder now, and also available here:
http://www.lifl.fr/~dumoulin/tiles/
Tom Tibbetts wrote:
>
> Same result. Where can I get Tiles? How does it compare with Struts taglib???
>
> What happens when you refer to
I think the underlying problem is that Tom is trying to include a HTML
file, or that the HTML file itself is problematic.
A JSP is a servlet, and by spec, servlets can access WEB-INF. It's just
that the clients can't.
Joey Gibson wrote:
>
> On Wed, 12 Sep 2001 18:25:14 +0200, VIAUD Cédric <[EM
I got it now I made sure that sidenav has a jsp extension, not an HTML
one. Thanks for your help.
At 01:27 PM 9/12/01 -0400, you wrote:
>I have pages like this that work just fine:
>
><%@ taglib uri="/tags/tiles" prefix="tiles" %>
>
>
>
>
>
Same result. Where can I get Tiles? How does it compare with Struts taglib???
What happens when you refer to a copy of sidenav.html that's at the
>root?
On Wed, 12 Sep 2001 18:25:14 +0200, VIAUD Cédric <[EMAIL PROTECTED]> wrote:
||| If you read carefully the servlet spécification, you see that everything
||| under "/WEB-INF" will nerver be served by HTTP server. So if you do a :
|||
||| you make an HTTP request to the server. But the target is s
I have pages like this that work just fine:
<%@ taglib uri="/tags/tiles" prefix="tiles" %>
What
I'm now trying the with no success. Here's what I'm doing:
some more
text
the content of sidenav.html is just static html with the typical links to
other pages
is this all because I'm behind WEB-INF
At 12:16 PM 9/12/01 -0400, you wrote:
>I haven't worked m
Title: RE: getting jsp:include to work behind WEB-INF wall
If you read carefully the servlet spécification, you see that everything under "/WEB-INF" will nerver be served by HTTP server. So if you do a :
you make an HTTP request to the server. But the target is something it is n
I haven't worked much with the jsp:include tag myself, but I do know
that the Tiles tags can assemble pages stored under WEB-INF.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
Tom Tib
Hi,
Url of page to include should be "/WEB-INF/pageToInclude.jsp". This work well
with tiles or templates insert tag on Tomcat. I have never try it with
. Also, I have read a mail about a jsp container that doesn't
work with such practice.
Cedric
Tom Tibbetts wrote:
> Hi All. I know th
Hi All. I know this may not be totally germain, but I bring it up because
I'm keeping all my JSPs behind the WEB-INF wall which is a Struts best
practice
The problem I'm having is that I want to use a and the page I
want to include is not showing up in my HTML output from the servlet
c
: Monday, September 03, 2001 12:19 PM
Subject: SV: Including Actions via jsp:include
> whoa!
>
> thanks alot...
>
> does this hack work on all servers???
> I have just tested it on tomcat 3.2, will try on Iplanet later...
>
> ::
> Mikkel Bruun
> Senior IT Developer
Fax +45 32 88 20 20
> -Oprindelig meddelelse-
> Fra: Gregor Rayman [mailto:[EMAIL PROTECTED]]
> Sendt: 03 September 2001 11:50
> Til: [EMAIL PROTECTED]
> Emne: Re: Including Actions via jsp:include
>
>
> > hi Guys,
> >
> > I bet this has come up b
> hi Guys,
>
> I bet this has come up before...
>
> I need to include the output of an action in a jsp, using the jsp:include
> tag lie this:
>
>
>
>
>
> but I get an illegalstate exception, as the ActionServlet forwards instead
> of incl
hi Guys,
I bet this has come up before...
I need to include the output of an action in a jsp, using the jsp:include
tag lie this:
but I get an illegalstate exception, as the ActionServlet forwards instead
of includes...
is there anyway to do this???
thanks
::
Mikkel Bruun
Hi Guys,
I have a question which seems to me to be a common thing to do with websites
but wondered how you guys did it with struts.
Basically, I want to inlude a navigation menu in my jsps that will be
present on every page in the site.
>From this navigation menu I want to be able to go via st
The most common explanation for this is that you've forgotten the
<%@ taglib %> directive at the top of the page, or misspelled the
"html" prefix. In either of these cases, the JSP page compiler will not
know that tags are special, so it will just pass them through
as static text.
Craig
On Fr
Hello all,
I want to include a jsp page in an other. But the struts-tags are not
rendered. This ist the code for the include:
and this the code of the menue.jsp:
.
.
.
Logout
On Mon, 25 Jun 2001, Mindaugas Idzelis wrote:
> Are there any limitations when using to include content
> generated by an ActionServlet? For instance, is it possible to set cookies
> in an action that is included from another page? Specifically, when
> is called the response is already commit
Are there any limitations when using to include content
generated by an ActionServlet? For instance, is it possible to set cookies
in an action that is included from another page? Specifically, when
is called the response is already commited, correct? Thank
you.
--min
;
>What "dynamic" aspect do I get with struts templates that I do not get
>with jsp:include?
>
>
>Based on the example provided in the docs, I don't see it.
>
>
>Thanks,
>Craig
The docs say... "The functionality provided by these [template] tags
is similar to what can be achieved using standard JSP include directive,
but are dynamic rather than static."
What "dynamic" aspect do I get with struts templates that I do not get
with jsp:include?
Hello,
I am including several jsp-pages and an action (resulting in a forward)
using jsp:include. Everything works fine for the jsps, but the inclusion of
the action-url does not work.
If I call the action url (/html/meeting/showMeetingList.do) directly,
everything works. I've trie
Hi,
I think you can do inside
I do something similar, but using Templates/Components rather than
, and it works.
It looks like your form bean is not store in any scope. Check the scope of
your bean in the form action declaration (in struts-config.xml). It must NOT be
'page', becaus
Hello,
I need to include a Jsp file into another one because of length of file
problems, but I get the following errror :.
Cannot find bean org.apache.struts.taglib.html.BEAN in scope null
To include the jsp I'm using the following sentence (between the
tags):
The Jsp I want to include look li
78 matches
Mail list logo