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]>

Reply via email to