Hi!
With tiles it's very easy
- Original Message -
From: "Edgar Silva" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, February 10, 2004 12:34 PM
Subject: Re: Include a .do in a page
ROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 10, 2004 3:36 AM
Subject: RE: Include a .do in a page
> Not sure about tiles, but under normal cicumstances probably not a good
idea
> as it would result in the request taking another tr
Not sure about tiles, but under normal cicumstances probably not a good idea
as it would result in the request taking another trip through the request
processor and overwrite the original actions mapping and form in the request
etc...
-Original Message-
From: Edgar Silva [mailto:[EMAIL PR
Use mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 6:30 PM
To: [EMAIL PROTECTED]
Subject: include a file
Hi all,
Is there any tag to include html or jsp file into another jsp file?
Thx.
_
Mariano García
Ingeniero de Sistemas
Optiva Media
Viriato,25 - 28010 Madrid - Esp
<%@ include file="file" %> (static)
(dynamic)
(JSTL, URL-based)
- Original Message -
From: "Mariano García" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 17, 2003 1:30 PM
Subject: include a file
Hi all,
Is there any tag to include html or jsp file into another
Yes
-Original Message-
From: Mariano García [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 September 2003 19:30
To: [EMAIL PROTECTED]
Subject: include a file
Hi all,
Is there any tag to include html or jsp file into another jsp file?
Thx.
_
Mariano García
Ingeniero de Sistemas
Why don't you try directly the tag
abhijeet
- Original Message -
From: "Mariano García" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 17, 2003 5:00 PM
Subject: include a file
Hi all,
Is there any tag to include html or jsp file into another jsp file?
Thx.
You probably don't want to set a mime type for *.do, because all
your actions might have different types. However, you _can_ use the
response methods to set the content type, write to the response, and return
a null forward.
If you are trying to display a dynamicly generated image
I can include the image response using simple which is the action that returns the image
response. But this causes a new request to be made on the server after the
html page is downloaded. This way I cannot access request variables etc.
Affan
"Affan Qureshi" <[EMAIL PROTECTED]> wrote in message
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 07, 2003 9:35 AM
> To: [EMAIL PROTECTED]
> Subject: include javascript (urgent)
>
> Hi all,
>
> I'm using the Struts framework for my web application.
> Unfortunatly I have to include some java
> Hello everybody,
>
> Is it possible to include struts pages within a struts page?
>
> Example:
> /showPage.do?pageId=1 shows a navigation. The user of the webpage never
> looks at this page directly but he could.
>
> /showPage.do?pageId=10 shows the home page. Instead of including something
ithout any includes..
Hope this helps,
Shirish
-Original Message-
From: miguel-angel.mulero [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 4:31 PM
To: struts-user
Subject: RE: Include an Action in a page
Hi,
I've got a page wich must execute 3 actions and print the pa
s!!
Miguel
> -Mensaje original-
> De: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Enviado el: martes, 26 de noviembre de 2002 16:27
> Para: [EMAIL PROTECTED]
> Asunto: RE: Include an Action in a page
>
>
> Can u specify u r requirement please?
> Because if U nee
Can u specify u r requirement please?
Because if U need to show the output of 2 actions on the screen , still they
can use the forwards and use request as a shared container to pass along any
data beans.
but hwy a template needs to include action?
-Original Message-
From: miguel-angel.m
LOL! Beat me to it!
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 12:09 PM
To: Struts Users Mailing List
Subject: RE: Include image in a Struts Submit Tag
Sorry, syntax errorshould have been.
James Mitchell
Software Engineer
and yes, please review the documentation before posting.
All tags are documented quite nicely in the
struts-documentation.war which is distributed with Struts.
robert
> -Original Message-
> From: Hayri Soenmez [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 12:00 PM
> To: [EMAI
Sorry, syntax errorshould have been.
James Mitchell
Software Engineer\Struts Evangelist
Open-Tools.org
Come and see what all the fuss is about...
http://struts-atlanta.open-tools.org
> -Original Message-
> From: Hayri Soenmez [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002
James Mitchell
Software Engineer\Struts Evangelist
Open-Tools.org
Come and see what all the fuss is about...
http://struts-atlanta.open-tools.org
> -Original Message-
> From: Hayri Soenmez [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 12:00 PM
> To: [EMAIL PROTECTED]
> Subjec
>I saw no other way around it. Can anyone else suggest a way to include
>?
can't be that difficult, it works in Tiles. some tiles are actions that forward onto
jsps
>>> [EMAIL PROTECTED] 05/21/02 07:05pm >>>
I also had this problem.
The error message given was to the effect that the
page had
I also had this problem.
The error message given was to the effect that the
page had already been committed.
It seems that once one action has started writing to the output stream
the ActionServlet denies another action from processing that request.
Once can bypass the ActionServlet however.
I e
what kind of exception ? Can you post it ?
-Oorspronkelijk bericht-
Van: Stian Skjævesland [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 21 mei 2002 18:46
Aan: [EMAIL PROTECTED]
Onderwerp: Include-problem with .do
I have recently started using struts and I have encountered a problem.
I
Reid, is that you?? again???
JM
> -Original Message-
> From: Stian Skjævesland [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 21, 2002 12:46 PM
> To: [EMAIL PROTECTED]
> Subject: Include-problem with .do
>
>
> I have recently started using struts and I have encountered a problem.
>
>
Thanks. I figured as much, but thanks for responding. I've officially given
up :)
charles
> -Original Message-
> From: Jeffrey Bonevich [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 6:56 PM
> To: Struts Users Mailing List
> Subject: Re: include a dynamicall
at content. Look to the future. Maybe JSP spec 1.3 will
support this.
jeff
Galpin, Charles wrote:
>>-Original Message-
>>From: James Mitchell [mailto:[EMAIL PROTECTED]]
>>Sent: Friday, May 10, 2002 1:49 PM
>>To: Struts Users Mailing List
>>Subject: RE: incl
> From: Galpin, Charles [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 3:00 PM
> To: Struts Users Mailing List
> Subject: RE: include a dynamically created page in my jsp
>
>
>
> > -Original Message-
> > From: James Mitchell [mailto:[EMAIL PROTECTE
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 1:49 PM
> To: Struts Users Mailing List
> Subject: RE: include a dynamically created page in my jsp
>
> Do you mean displaying your site text from a db table?
>
&
3 PM
> To: Struts Users Mailing List
> Subject: RE: include a dynamically created page in my jsp
>
>
> > >-Original Message-
> > >From: James Mitchell [mailto:[EMAIL PROTECTED]]
> > >Sent: Wednesday, 8 May 2002 6:05 PM
> > >To: Struts Users Mai
> >-Original Message-
> >From: James Mitchell [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, 8 May 2002 6:05 PM
> >To: Struts Users Mailing List
> >Subject: RE: include a dynamically created page in my jsp
> >
> >
> >Do you mean have jsp1 ge
JSP include
>Somthing like />
>
>Regards,
>
>
>-Original Message-
>From: James Mitchell [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, 8 May 2002 6:05 PM
>To: Struts Users Mailing List
>Subject: RE: include a dynamically created page in my jsp
>
>
>Do
Not without seeing the offending code.
Mark
-Original Message-
From: Jean Fotovat [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 11:38 AM
To: [EMAIL PROTECTED]
Subject: jsp:include tag invalid...
hello community,
this is surely a request not closed to our mail list, but.
i'v
You can't open a tag in a jsp, and close it in another. Both the start and the end
of the tag should be in the same
page.
In a table example, you can have include header, include body, include
footer, and in included files
: ... .
Also, have you consider using Tiles to divide your pages
Try this:
It's a working example.
Regards,
Dimitar
-Original Message-
From: Ingo Bruell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 3:42 PM
To: [EMAIL PROTECTED]
Subject: include tag
Hi,
is there a way to use the js
<%@taglib uri='/WEB-INF/tlds/struts-bean.tld' prefix='bean' %>
<%@taglib uri='/WEB-INF/tlds/struts-logic.tld' prefix='logic' %>
<%= content %>
<%@include file="/welcome.jsp" %>
The logic:present parameters might not be right - its first up in the
morning :)
u access to a variable called source which would be a
SourceBean
HTH
- Original Message -
From: "Mohammed" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 12:30 PM
Subject: Re: <%@ include File ="
From: "Jin Bal" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 1:23 PM
Subject: Re: <%@ include File =" <%= includefile%> " %> is there a way doto
this
> Use the "jsp:usebean"
ignore what I just said I need to learn to read properly ;o)
- Original Message -
From: "David Cypers" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 12:19 PM
Subject: RE: <%@ include File =&quo
Use the "jsp:usebean" tag instead and specify scope="session" , the one
you've been trying to use is for including files such as other pages.
HTH
Jin
- Original Message -
From: "Mohammed" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2
Is it allowed to use uppercase-F in \%@include File ??
-Original Message-
From: Mohammed [mailto:[EMAIL PROTECTED]]
Sent: donderdag 29 november 2001 12:49
To: Struts Users Mailing List
Subject: <%@ include File =" <%= includefile%> " %> is there a way doto
this
Hello evreybody,
in an a
Seen it happening when writing between tags but not or
. Maybe you should check that.
hth,
tomK
> -Original Message-
> From: Roumen Ganeff [mailto:[EMAIL PROTECTED]]
> Sent: donderdag 15 november 2001 13:42
> To: 'Struts Users Mailing List'
> Subject: jsp:include problem
>
>
> Sorry
It is possible if you use tiles.
Here is a link to the archive that gives the details:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg16127.html
- Sandeep
--- storck <[EMAIL PROTECTED]> wrote:
> HI,
>
> is the following possible ?
>
> I have a JSP named Table.jsp wich looks lik
you must have the following declarations on top of both jsp's
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
-Original Message-
41 matches
Mail list logo