You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Cedric Dumoulin <ce...@lifl.fr> on 2002/02/01 17:39:12 UTC
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: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
org.apache.jasper.JasperException: File "/bean" not found
Posted by Sunento Wu <su...@yahoo.com>.
Hi,
I was trying to create a simple application by using struts, however it ends
up with this error, any one knows what the problem is ?
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: File "/bean" not found
at
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:214)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:174)
at
org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspP
arseEventListener.java:1159)
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java:755)
at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
ener.java:121)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:243)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1133)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1091)
............
............
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Template Question
Posted by Konstantina Stamopoulou <st...@intracom.gr>.
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" <ce...@lifl.fr>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
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:
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>