Thanx Cedric, I realized that a few days later, so I used a .jsp with frames where one of the frames loads the page.
Regards, Konstantina ----- Original Message ----- From: "Cedric Dumoulin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 6:39 PM Subject: Re: Template Question > > Hi, > > Content of <put> tag can only be a jsp local to current web application. It > can't be an url starting with http://... > > Cedric > > Konstantina Stamopoulou wrote: > > > Hello, > > I'm a beginner to Struts, and I'm using its template tag library for my web > > application. > > I would like to load in one of the areas of the template a URL. > > To be more specific what I'm trying to do is the following: > > > > <template:insert template='/infotemplate.jsp'> > > <template:put name='title' content='Subscription information' > > direct='true'/> > > <template:put name='sidebar' content='/details.jsp'/> > > <template:put name='content' content='http://www.in.gr'/> > > <template:put name='footer' content='/footer.html'/> > > > > </template:insert> > > > > The result of this is a big Exception: > > > > java.io.IOException: the filename, directory,or volume label syntax is > > incorrect..... > > > > My template is the following: > > > > <html> > > <head> > > <title><template:get name='title'/></title> > > </head> > > <body background='graphics/blueAndWhiteBackground.gif'> > > > > <table> > > <tr valign='top'> > > <td><template:get name='sidebar'/></td> > > <td><table> > > <tr><td><template:get name='header'/></td></tr> > > <tr><td><template:get name='content'/></td></tr> > > <tr><td><template:get name='footer'/></td></tr> > > </table> > > </td> > > </tr> > > </table> > > </body> > > </html> > > > > I'm I doing something wrong or the thing I'm trying to do is not possible > > using templates? Can anyone give me any suggestion on what I should use to > > overcome this problem? > > > > Thank U in advance, > > Konstantina > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>