You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Chin, Ed" <ed...@lmco.com> on 2003/04/10 00:01:32 UTC

what are these other files?

I see a lot of files in the struts 1.1rc1 distribution under /lib/ which
aren't explained in the installation doc. 

What are these? (see below)
commons-collections.jar
commons-dbcp.jar 
etc...

Do I need these files to use struts or are they additional functionality for
advanced users? 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re[2]: logic:iterate help

Posted by "Sergey.Livanov" <Se...@ukrpost.net>.
Hi Ian,

IH> I think you mean

IH> <logic:iterate id="menuItem" name="menu">
IH>   <html:link action="message?id=<%=menuItem.getMenuid()%>">
IH>     <bean:write name="menuItem" property="namerus" />
IH>   </html:link>
IH> </logic:iterate>

I tried to run this code, but i've got


<%@ taglib uri="struts-html.tld" prefix="html" %>
<%@ taglib uri="struts-bean.tld" prefix="bean" %>
<%@ taglib uri="struts-logic.tld" prefix="logic" %>

....


 <logic:iterate id="menuItem" name="menuarr" > 
    <html:link action="message?id=<%=menuItem.getMenuid()%>">
        <bean:write name="menuItem" property="namerus" /> 
    </html:link>               
 </logic:iterate> 

...

--------------------------------------------------------------------------------

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: /indexnew.jsp(47,10) Attribute action invalid according to the specified TLD
        at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
        at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:417)
        at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:186)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:498)
        at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:707)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1070)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:507)
        at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:707)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)



-- 
Best regards,
 Sergey.Livanov                            mailto:Sergey.Livanov@ukrpost.net



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: logic:iterate help

Posted by Nicolas De Loof <ni...@cgey.com>.
use this:

<html:link action='<% ="/struts-example/show_add.do?serial=" + <%= advertisement.getSerial()%>' >... </html:link>

Nico.


> Sounds like a container issue.  Try this:
> 
> <a href="justatest?param=<%= myparam%>">test</a>
> 
> see if it parses the <%= ... %> at all.
> 
> ----- Original Message -----
> From: <ha...@informatiefabriek.nl>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Thursday, April 10, 2003 10:49 AM
> Subject: Re: logic:iterate help
> 
> 
> > Even when I do this:
> >
> > <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
> >                         <html:link action="/show_add?serial=<%= blah %>">
> >           <bean:write name="advertisement" property="serial"
> > /></html:link></strong></font></td>
> >         </tr>
> >
> > The output is:
> >
> > <tr>
> >           <td><font size="2" face="Verdana, Arial, Helvetica,
> > sans-serif"><strong>
> >
> >                                                  <a
> > href="/struts-example/show_add.do?serial=<%= blah
> > %>">N1C3316</a></strong></font></td>
> >         </tr>
> >
> > Realy, isn't this something wrong in my code?
> >
> > Gr. Harm.
> >
> >
> >
> >
> > "Ian Hunter" <ih...@hunterweb.net>
> > 04/10/2003 04:45 PM
> > Please respond to
> > "Struts Users Mailing List" <st...@jakarta.apache.org>
> >
> >
> > To
> > "Struts Users Mailing List" <st...@jakarta.apache.org>
> > cc
> >
> > Subject
> > Re: logic:iterate help
> >
> >
> >
> >
> >
> >
> > I don't understand -- it shouldn't be doing that.  Maybe look into JSTL to
> > get around this?
> >
> > ----- Original Message -----
> > From: <ha...@informatiefabriek.nl>
> > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > Sent: Thursday, April 10, 2003 10:41 AM
> > Subject: Re: logic:iterate help
> >
> >
> > > I'm using JBoss with integrated Tomcat 4.....
> > >
> > > Here is the output with a bit more context:
> > >
> > > <tr>
> > > <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
> > >         <a href="/struts-example/show_add.do?serial=
> > > <%=advertisement.getSerial()%>">N1C3316</a></strong></font></td>
> > > </tr>
> > >
> > > Any idea?
> > >
> > > Gr. Harm.
> > >
> > >
> > >
> > >
> > >
> > > "Ian Hunter" <ih...@hunterweb.net>
> > > 04/10/2003 04:38 PM
> > > Please respond to
> > > "Struts Users Mailing List" <st...@jakarta.apache.org>
> > >
> > >
> > > To
> > > "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > cc
> > >
> > > Subject
> > > Re: logic:iterate help
> > >
> > >
> > >
> > >
> > >
> > >
> > > ?!?!?! What container are you using?  The <%= ... %> stuff should NEVER
> > > appear in HTML output -- maybe throw an error, but not get passed
> > through.
> > >
> > >
> > > ----- Original Message -----
> > > From: <ha...@informatiefabriek.nl>
> > > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > Sent: Thursday, April 10, 2003 10:31 AM
> > > Subject: Re: logic:iterate help
> > >
> > >
> > > > Hi,
> > > >
> > > > I have tried your code below... But I get this output in the
> > html-code:
> > > >
> > > > <a
> > > >
> > >
> > href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">
> > > >
> > > > I use this jsp source:
> > > >
> > > > <logic:present name="advertisements">
> > > > <table width="75%" border="0" bordercolor="#000000" bgcolor="#000000">
> > > >   <tr>
> > > >     <td><table width="100%" border="0" bgcolor="#CCCCCC">
> > > >         <logic:iterate  id="advertisement" name="advertisements">
> > > >         <tr>
> > > >           <td><font size="2" face="Verdana, Arial, Helvetica,
> > > sans-serif"
> > > > ><strong>
> > > >                         <html:link action="/show_add?serial=<%=
> > > > advertisement.getSerial()%>">
> > > >           <bean:write name="advertisement" property="serial"
> > > > /></strong></font></html:link></td>
> > > >         </tr>
> > > >           </logic:iterate>
> > > >       </table></td>
> > > >   </tr>
> > > > </table>
> > > > </logic:present>
> > > >
> > > > Do you have any suggestions?
> > > >
> > > > Gr. Harm.
> > > >
> > > >
> > > >
> > > >
> > > > "Ian Hunter" <ih...@hunterweb.net>
> > > > 04/10/2003 04:02 PM
> > > > Please respond to
> > > > "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > >
> > > >
> > > > To
> > > > "Struts Users Mailing List" <st...@jakarta.apache.org>,
> > > > "Sergey.Livanov" <Se...@ukrpost.net>
> > > > cc
> > > >
> > > > Subject
> > > > Re: logic:iterate help
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > I think you mean
> > > >
> > > > <logic:iterate id="menuItem" name="menu">
> > > >   <html:link action="message?id=<%=menuItem.getMenuid()%>">
> > > >     <bean:write name="menuItem" property="namerus" />
> > > >   </html:link>
> > > > </logic:iterate>
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Sergey.Livanov" <Se...@ukrpost.net>
> > > > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > > Sent: Thursday, April 10, 2003 8:53 AM
> > > > Subject: logic:iterate help
> > > >
> > > >
> > > > > Would you please help to start up the construction for refering the
> > > > title
> > > > > for the primary key:
> > > > >
> > > > >
> > > > >  <logic:iterate name="menu" id="menu" >
> > > > >       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
> > > > >       <bean:write name="menu" property="namerus" /> </A>
> > > > >  </logic:iterate>
> > > > >
> > > > >
> > > > > --
> > > > > Best regards,
> > > > >  Sergey.Livanov
> > > > mailto:Sergey.Livanov@ukrpost.net
> > > > >
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: logic:iterate help

Posted by Nicolas De Loof <ni...@cgey.com>.
> 
> ----- Original Message -----
> From: <ha...@informatiefabriek.nl>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Thursday, April 10, 2003 10:49 AM
> Subject: Re: logic:iterate help
> 
> 
> > Even when I do this:
> >
> > <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
> >                         <html:link action="/show_add?serial=<%= blah %>">
> >           <bean:write name="advertisement" property="serial"
> > /></html:link></strong></font></td>
> >         </tr>
> >
> > The output is:
> >
> > <tr>
> >           <td><font size="2" face="Verdana, Arial, Helvetica,
> > sans-serif"><strong>
> >
> >                                                  <a
> > href="/struts-example/show_add.do?serial=<%= blah
> > %>">N1C3316</a></strong></font></td>
> >         </tr>
> >
> > Realy, isn't this something wrong in my code?
> >
> > Gr. Harm.
> >
> >
> >
> >
> > "Ian Hunter" <ih...@hunterweb.net>
> > 04/10/2003 04:45 PM
> > Please respond to
> > "Struts Users Mailing List" <st...@jakarta.apache.org>
> >
> >
> > To
> > "Struts Users Mailing List" <st...@jakarta.apache.org>
> > cc
> >
> > Subject
> > Re: logic:iterate help
> >
> >
> >
> >
> >
> >
> > I don't understand -- it shouldn't be doing that.  Maybe look into JSTL to
> > get around this?
> >
> > ----- Original Message -----
> > From: <ha...@informatiefabriek.nl>
> > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > Sent: Thursday, April 10, 2003 10:41 AM
> > Subject: Re: logic:iterate help
> >
> >
> > > I'm using JBoss with integrated Tomcat 4.....
> > >
> > > Here is the output with a bit more context:
> > >
> > > <tr>
> > > <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
> > >         <a href="/struts-example/show_add.do?serial=
> > > <%=advertisement.getSerial()%>">N1C3316</a></strong></font></td>
> > > </tr>
> > >
> > > Any idea?
> > >
> > > Gr. Harm.
> > >
> > >
> > >
> > >
> > >
> > > "Ian Hunter" <ih...@hunterweb.net>
> > > 04/10/2003 04:38 PM
> > > Please respond to
> > > "Struts Users Mailing List" <st...@jakarta.apache.org>
> > >
> > >
> > > To
> > > "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > cc
> > >
> > > Subject
> > > Re: logic:iterate help
> > >
> > >
> > >
> > >
> > >
> > >
> > > ?!?!?! What container are you using?  The <%= ... %> stuff should NEVER
> > > appear in HTML output -- maybe throw an error, but not get passed
> > through.
> > >
> > >
> > > ----- Original Message -----
> > > From: <ha...@informatiefabriek.nl>
> > > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > Sent: Thursday, April 10, 2003 10:31 AM
> > > Subject: Re: logic:iterate help
> > >
> > >
> > > > Hi,
> > > >
> > > > I have tried your code below... But I get this output in the
> > html-code:
> > > >
> > > > <a
> > > >
> > >
> > href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">
> > > >
> > > > I use this jsp source:
> > > >
> > > > <logic:present name="advertisements">
> > > > <table width="75%" border="0" bordercolor="#000000" bgcolor="#000000">
> > > >   <tr>
> > > >     <td><table width="100%" border="0" bgcolor="#CCCCCC">
> > > >         <logic:iterate  id="advertisement" name="advertisements">
> > > >         <tr>
> > > >           <td><font size="2" face="Verdana, Arial, Helvetica,
> > > sans-serif"
> > > > ><strong>
> > > >                         <html:link action="/show_add?serial=<%=
> > > > advertisement.getSerial()%>">
> > > >           <bean:write name="advertisement" property="serial"
> > > > /></strong></font></html:link></td>
> > > >         </tr>
> > > >           </logic:iterate>
> > > >       </table></td>
> > > >   </tr>
> > > > </table>
> > > > </logic:present>
> > > >
> > > > Do you have any suggestions?
> > > >
> > > > Gr. Harm.
> > > >
> > > >
> > > >
> > > >
> > > > "Ian Hunter" <ih...@hunterweb.net>
> > > > 04/10/2003 04:02 PM
> > > > Please respond to
> > > > "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > >
> > > >
> > > > To
> > > > "Struts Users Mailing List" <st...@jakarta.apache.org>,
> > > > "Sergey.Livanov" <Se...@ukrpost.net>
> > > > cc
> > > >
> > > > Subject
> > > > Re: logic:iterate help
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > I think you mean
> > > >
> > > > <logic:iterate id="menuItem" name="menu">
> > > >   <html:link action="message?id=<%=menuItem.getMenuid()%>">
> > > >     <bean:write name="menuItem" property="namerus" />
> > > >   </html:link>
> > > > </logic:iterate>
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Sergey.Livanov" <Se...@ukrpost.net>
> > > > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > > Sent: Thursday, April 10, 2003 8:53 AM
> > > > Subject: logic:iterate help
> > > >
> > > >
> > > > > Would you please help to start up the construction for refering the
> > > > title
> > > > > for the primary key:
> > > > >
> > > > >
> > > > >  <logic:iterate name="menu" id="menu" >
> > > > >       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
> > > > >       <bean:write name="menu" property="namerus" /> </A>
> > > > >  </logic:iterate>
> > > > >
> > > > >
> > > > > --
> > > > > Best regards,
> > > > >  Sergey.Livanov
> > > > mailto:Sergey.Livanov@ukrpost.net
> > > > >
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: logic:iterate help

Posted by Ian Hunter <ih...@hunterweb.net>.
Sounds like a container issue.  Try this:

<a href="justatest?param=<%= myparam%>">test</a>

see if it parses the <%= ... %> at all.

----- Original Message -----
From: <ha...@informatiefabriek.nl>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, April 10, 2003 10:49 AM
Subject: Re: logic:iterate help


> Even when I do this:
>
> <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
>                         <html:link action="/show_add?serial=<%= blah %>">
>           <bean:write name="advertisement" property="serial"
> /></html:link></strong></font></td>
>         </tr>
>
> The output is:
>
> <tr>
>           <td><font size="2" face="Verdana, Arial, Helvetica,
> sans-serif"><strong>
>
>                                                  <a
> href="/struts-example/show_add.do?serial=<%= blah
> %>">N1C3316</a></strong></font></td>
>         </tr>
>
> Realy, isn't this something wrong in my code?
>
> Gr. Harm.
>
>
>
>
> "Ian Hunter" <ih...@hunterweb.net>
> 04/10/2003 04:45 PM
> Please respond to
> "Struts Users Mailing List" <st...@jakarta.apache.org>
>
>
> To
> "Struts Users Mailing List" <st...@jakarta.apache.org>
> cc
>
> Subject
> Re: logic:iterate help
>
>
>
>
>
>
> I don't understand -- it shouldn't be doing that.  Maybe look into JSTL to
> get around this?
>
> ----- Original Message -----
> From: <ha...@informatiefabriek.nl>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Thursday, April 10, 2003 10:41 AM
> Subject: Re: logic:iterate help
>
>
> > I'm using JBoss with integrated Tomcat 4.....
> >
> > Here is the output with a bit more context:
> >
> > <tr>
> > <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
> >         <a href="/struts-example/show_add.do?serial=
> > <%=advertisement.getSerial()%>">N1C3316</a></strong></font></td>
> > </tr>
> >
> > Any idea?
> >
> > Gr. Harm.
> >
> >
> >
> >
> >
> > "Ian Hunter" <ih...@hunterweb.net>
> > 04/10/2003 04:38 PM
> > Please respond to
> > "Struts Users Mailing List" <st...@jakarta.apache.org>
> >
> >
> > To
> > "Struts Users Mailing List" <st...@jakarta.apache.org>
> > cc
> >
> > Subject
> > Re: logic:iterate help
> >
> >
> >
> >
> >
> >
> > ?!?!?! What container are you using?  The <%= ... %> stuff should NEVER
> > appear in HTML output -- maybe throw an error, but not get passed
> through.
> >
> >
> > ----- Original Message -----
> > From: <ha...@informatiefabriek.nl>
> > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > Sent: Thursday, April 10, 2003 10:31 AM
> > Subject: Re: logic:iterate help
> >
> >
> > > Hi,
> > >
> > > I have tried your code below... But I get this output in the
> html-code:
> > >
> > > <a
> > >
> >
> href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">
> > >
> > > I use this jsp source:
> > >
> > > <logic:present name="advertisements">
> > > <table width="75%" border="0" bordercolor="#000000" bgcolor="#000000">
> > >   <tr>
> > >     <td><table width="100%" border="0" bgcolor="#CCCCCC">
> > >         <logic:iterate  id="advertisement" name="advertisements">
> > >         <tr>
> > >           <td><font size="2" face="Verdana, Arial, Helvetica,
> > sans-serif"
> > > ><strong>
> > >                         <html:link action="/show_add?serial=<%=
> > > advertisement.getSerial()%>">
> > >           <bean:write name="advertisement" property="serial"
> > > /></strong></font></html:link></td>
> > >         </tr>
> > >           </logic:iterate>
> > >       </table></td>
> > >   </tr>
> > > </table>
> > > </logic:present>
> > >
> > > Do you have any suggestions?
> > >
> > > Gr. Harm.
> > >
> > >
> > >
> > >
> > > "Ian Hunter" <ih...@hunterweb.net>
> > > 04/10/2003 04:02 PM
> > > Please respond to
> > > "Struts Users Mailing List" <st...@jakarta.apache.org>
> > >
> > >
> > > To
> > > "Struts Users Mailing List" <st...@jakarta.apache.org>,
> > > "Sergey.Livanov" <Se...@ukrpost.net>
> > > cc
> > >
> > > Subject
> > > Re: logic:iterate help
> > >
> > >
> > >
> > >
> > >
> > >
> > > I think you mean
> > >
> > > <logic:iterate id="menuItem" name="menu">
> > >   <html:link action="message?id=<%=menuItem.getMenuid()%>">
> > >     <bean:write name="menuItem" property="namerus" />
> > >   </html:link>
> > > </logic:iterate>
> > >
> > >
> > > ----- Original Message -----
> > > From: "Sergey.Livanov" <Se...@ukrpost.net>
> > > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > Sent: Thursday, April 10, 2003 8:53 AM
> > > Subject: logic:iterate help
> > >
> > >
> > > > Would you please help to start up the construction for refering the
> > > title
> > > > for the primary key:
> > > >
> > > >
> > > >  <logic:iterate name="menu" id="menu" >
> > > >       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
> > > >       <bean:write name="menu" property="namerus" /> </A>
> > > >  </logic:iterate>
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > >  Sergey.Livanov
> > > mailto:Sergey.Livanov@ukrpost.net
> > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Re[2]: logic:iterate help

Posted by ha...@informatiefabriek.nl.
Hi all,

I thought it might help to add the Type of my iteration like this:

<logic:iterate id="advertisement" name="advertisements" type=
"AdvertisementForm"> 
        <tr> 
          <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"
><strong>
                        <bean:write name="advertisement" property="serial"
/></strong></font></td>
        </tr>
</logic:iterate>

AdvertisementForm is the type of items in my Vector (advertisements).

Now I get the following exception:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 171 in the jsp file: /main.jsp

Generated servlet error:
    [javac] Compiling 1 source file

/usr/java/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/work/MainEngine/localhost/struts-example/main_jsp.java:317: 
cannot resolve symbol
symbol  : class AdvertisementForm 
location: class org.apache.jsp.main_jsp
                AdvertisementForm advertisement = null;
                ^



An error occurred at line: 171 in the jsp file: /main.jsp

Generated servlet error:
/usr/java/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/work/MainEngine/localhost/struts-example/main_jsp.java:324: 
cannot resolve symbol
symbol  : class AdvertisementForm 
location: class org.apache.jsp.main_jsp
                  advertisement = (AdvertisementForm) 
pageContext.findAttribute("advertisement");
                                   ^



An error occurred at line: 171 in the jsp file: /main.jsp

Generated servlet error:
/usr/java/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/work/MainEngine/localhost/struts-example/main_jsp.java:339: 
cannot resolve symbol
symbol  : class AdvertisementForm 
location: class org.apache.jsp.main_jsp
                  advertisement = (AdvertisementForm) 
pageContext.findAttribute("advertisement");
                                   ^
3 errors

Can you help?

Thanks harm.





harm@informatiefabriek.nl 
04/10/2003 05:08 PM
Please respond to
"Struts Users Mailing List" <st...@jakarta.apache.org>


To
"Struts Users Mailing List" <st...@jakarta.apache.org>
cc

Subject
Re: Re[2]: logic:iterate help






Yes, my file begins with:

<%@ 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" %>

Gr. Harm.




Dirk Markert <po...@gmx.de> 
04/10/2003 05:01 PM
Please respond to
"Struts Users Mailing List" <st...@jakarta.apache.org>


To
"Struts Users Mailing List" <st...@jakarta.apache.org>
cc

Subject
Re[2]: logic:iterate help






Hello harm,

do you have something like:

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

in your jsp?

Thursday, April 10, 2003, 4:49:38 PM, you wrote:

hin> Even when I do this:

hin> <td><font size="2" face="Verdana, Arial, Helvetica, 
sans-serif"><strong>
hin>                         <html:link action="/show_add?serial=<%= blah 
%>">
hin>           <bean:write name="advertisement" property="serial"
/>></html:link></strong></font></td>
hin>         </tr>

hin> The output is:

hin> <tr> 
hin>           <td><font size="2" face="Verdana, Arial, Helvetica, 
sans-serif">><strong>

hin>                                                  <a 
hin> href="/struts-example/show_add.do?serial=<%= blah 
%>>">N1C3316</a></strong></font></td>
hin>         </tr>

hin> Realy, isn't this something wrong in my code?

hin> Gr. Harm.




hin> "Ian Hunter" <ih...@hunterweb.net> 
hin> 04/10/2003 04:45 PM
hin> Please respond to
hin> "Struts Users Mailing List" <st...@jakarta.apache.org>


hin> To
hin> "Struts Users Mailing List" <st...@jakarta.apache.org>
hin> cc

hin> Subject
hin> Re: logic:iterate help






hin> I don't understand -- it shouldn't be doing that.  Maybe look into 
JSTL to
hin> get around this?

hin> ----- Original Message -----
hin> From: <ha...@informatiefabriek.nl>
hin> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
hin> Sent: Thursday, April 10, 2003 10:41 AM
hin> Subject: Re: logic:iterate help


>> I'm using JBoss with integrated Tomcat 4.....
>>
>> Here is the output with a bit more context:
>>
>> <tr>
>> <td><font size="2" face="Verdana, Arial, Helvetica, 
sans-serif"><strong>
>>         <a href="/struts-example/show_add.do?serial=
>> <%=advertisement.getSerial()%>">N1C3316</a></strong></font></td>
>> </tr>
>>
>> Any idea?
>>
>> Gr. Harm.
>>
>>
>>
>>
>>
>> "Ian Hunter" <ih...@hunterweb.net>
>> 04/10/2003 04:38 PM
>> Please respond to
>> "Struts Users Mailing List" <st...@jakarta.apache.org>
>>
>>
>> To
>> "Struts Users Mailing List" <st...@jakarta.apache.org>
>> cc
>>
>> Subject
>> Re: logic:iterate help
>>
>>
>>
>>
>>
>>
>> ?!?!?! What container are you using?  The <%= ... %> stuff should NEVER
>> appear in HTML output -- maybe throw an error, but not get passed 
hin> through.
>>
>>
>> ----- Original Message -----
>> From: <ha...@informatiefabriek.nl>
>> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>> Sent: Thursday, April 10, 2003 10:31 AM
>> Subject: Re: logic:iterate help
>>
>>
>> > Hi,
>> >
>> > I have tried your code below... But I get this output in the 
hin> html-code:
>> >
>> > <a
>> >
>> 
hin> 
href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">
>> >
>> > I use this jsp source:
>> >
>> > <logic:present name="advertisements">
>> > <table width="75%" border="0" bordercolor="#000000" 
bgcolor="#000000">
>> >   <tr>
>> >     <td><table width="100%" border="0" bgcolor="#CCCCCC">
>> >         <logic:iterate  id="advertisement" name="advertisements">
>> >         <tr>
>> >           <td><font size="2" face="Verdana, Arial, Helvetica,
>> sans-serif"
>> > ><strong>
>> >                         <html:link action="/show_add?serial=<%=
>> > advertisement.getSerial()%>">
>> >           <bean:write name="advertisement" property="serial"
>> > /></strong></font></html:link></td>
>> >         </tr>
>> >           </logic:iterate>
>> >       </table></td>
>> >   </tr>
>> > </table>
>> > </logic:present>
>> >
>> > Do you have any suggestions?
>> >
>> > Gr. Harm.
>> >
>> >
>> >
>> >
>> > "Ian Hunter" <ih...@hunterweb.net>
>> > 04/10/2003 04:02 PM
>> > Please respond to
>> > "Struts Users Mailing List" <st...@jakarta.apache.org>
>> >
>> >
>> > To
>> > "Struts Users Mailing List" <st...@jakarta.apache.org>,
>> > "Sergey.Livanov" <Se...@ukrpost.net>
>> > cc
>> >
>> > Subject
>> > Re: logic:iterate help
>> >
>> >
>> >
>> >
>> >
>> >
>> > I think you mean
>> >
>> > <logic:iterate id="menuItem" name="menu">
>> >   <html:link action="message?id=<%=menuItem.getMenuid()%>">
>> >     <bean:write name="menuItem" property="namerus" />
>> >   </html:link>
>> > </logic:iterate>
>> >
>> >
>> > ----- Original Message -----
>> > From: "Sergey.Livanov" <Se...@ukrpost.net>
>> > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>> > Sent: Thursday, April 10, 2003 8:53 AM
>> > Subject: logic:iterate help
>> >
>> >
>> > > Would you please help to start up the construction for refering the
>> > title
>> > > for the primary key:
>> > >
>> > >
>> > >  <logic:iterate name="menu" id="menu" >
>> > >       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
>> > >       <bean:write name="menu" property="namerus" /> </A>
>> > >  </logic:iterate>
>> > >
>> > >
>> > > --
>> > > Best regards,
>> > >  Sergey.Livanov
>> > mailto:Sergey.Livanov@ukrpost.net
>> > >
>> > >
>> > >
>> > > 
hin> ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> > > For additional commands, e-mail: 
struts-user-help@jakarta.apache.org
>> > >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>> >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>


hin> ---------------------------------------------------------------------
hin> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
hin> For additional commands, e-mail: struts-user-help@jakarta.apache.org




hin> ---------------------------------------------------------------------
hin> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
hin> For additional commands, e-mail: struts-user-help@jakarta.apache.org



-- 
Best regards,
Dirk


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Re[2]: logic:iterate help

Posted by ha...@informatiefabriek.nl.
Yes, my file begins with:

<%@ 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" %>

Gr. Harm.




Dirk Markert <po...@gmx.de> 
04/10/2003 05:01 PM
Please respond to
"Struts Users Mailing List" <st...@jakarta.apache.org>


To
"Struts Users Mailing List" <st...@jakarta.apache.org>
cc

Subject
Re[2]: logic:iterate help






Hello harm,

do you have something like:

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

in your jsp?

Thursday, April 10, 2003, 4:49:38 PM, you wrote:

hin> Even when I do this:

hin> <td><font size="2" face="Verdana, Arial, Helvetica, 
sans-serif"><strong>
hin>                         <html:link action="/show_add?serial=<%= blah 
%>">
hin>           <bean:write name="advertisement" property="serial"
/>></html:link></strong></font></td>
hin>         </tr>

hin> The output is:

hin> <tr> 
hin>           <td><font size="2" face="Verdana, Arial, Helvetica, 
sans-serif">><strong>

hin>                                                  <a 
hin> href="/struts-example/show_add.do?serial=<%= blah 
%>>">N1C3316</a></strong></font></td>
hin>         </tr>

hin> Realy, isn't this something wrong in my code?

hin> Gr. Harm.




hin> "Ian Hunter" <ih...@hunterweb.net> 
hin> 04/10/2003 04:45 PM
hin> Please respond to
hin> "Struts Users Mailing List" <st...@jakarta.apache.org>


hin> To
hin> "Struts Users Mailing List" <st...@jakarta.apache.org>
hin> cc

hin> Subject
hin> Re: logic:iterate help






hin> I don't understand -- it shouldn't be doing that.  Maybe look into 
JSTL to
hin> get around this?

hin> ----- Original Message -----
hin> From: <ha...@informatiefabriek.nl>
hin> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
hin> Sent: Thursday, April 10, 2003 10:41 AM
hin> Subject: Re: logic:iterate help


>> I'm using JBoss with integrated Tomcat 4.....
>>
>> Here is the output with a bit more context:
>>
>> <tr>
>> <td><font size="2" face="Verdana, Arial, Helvetica, 
sans-serif"><strong>
>>         <a href="/struts-example/show_add.do?serial=
>> <%=advertisement.getSerial()%>">N1C3316</a></strong></font></td>
>> </tr>
>>
>> Any idea?
>>
>> Gr. Harm.
>>
>>
>>
>>
>>
>> "Ian Hunter" <ih...@hunterweb.net>
>> 04/10/2003 04:38 PM
>> Please respond to
>> "Struts Users Mailing List" <st...@jakarta.apache.org>
>>
>>
>> To
>> "Struts Users Mailing List" <st...@jakarta.apache.org>
>> cc
>>
>> Subject
>> Re: logic:iterate help
>>
>>
>>
>>
>>
>>
>> ?!?!?! What container are you using?  The <%= ... %> stuff should NEVER
>> appear in HTML output -- maybe throw an error, but not get passed 
hin> through.
>>
>>
>> ----- Original Message -----
>> From: <ha...@informatiefabriek.nl>
>> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>> Sent: Thursday, April 10, 2003 10:31 AM
>> Subject: Re: logic:iterate help
>>
>>
>> > Hi,
>> >
>> > I have tried your code below... But I get this output in the 
hin> html-code:
>> >
>> > <a
>> >
>> 
hin> 
href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">
>> >
>> > I use this jsp source:
>> >
>> > <logic:present name="advertisements">
>> > <table width="75%" border="0" bordercolor="#000000" 
bgcolor="#000000">
>> >   <tr>
>> >     <td><table width="100%" border="0" bgcolor="#CCCCCC">
>> >         <logic:iterate  id="advertisement" name="advertisements">
>> >         <tr>
>> >           <td><font size="2" face="Verdana, Arial, Helvetica,
>> sans-serif"
>> > ><strong>
>> >                         <html:link action="/show_add?serial=<%=
>> > advertisement.getSerial()%>">
>> >           <bean:write name="advertisement" property="serial"
>> > /></strong></font></html:link></td>
>> >         </tr>
>> >           </logic:iterate>
>> >       </table></td>
>> >   </tr>
>> > </table>
>> > </logic:present>
>> >
>> > Do you have any suggestions?
>> >
>> > Gr. Harm.
>> >
>> >
>> >
>> >
>> > "Ian Hunter" <ih...@hunterweb.net>
>> > 04/10/2003 04:02 PM
>> > Please respond to
>> > "Struts Users Mailing List" <st...@jakarta.apache.org>
>> >
>> >
>> > To
>> > "Struts Users Mailing List" <st...@jakarta.apache.org>,
>> > "Sergey.Livanov" <Se...@ukrpost.net>
>> > cc
>> >
>> > Subject
>> > Re: logic:iterate help
>> >
>> >
>> >
>> >
>> >
>> >
>> > I think you mean
>> >
>> > <logic:iterate id="menuItem" name="menu">
>> >   <html:link action="message?id=<%=menuItem.getMenuid()%>">
>> >     <bean:write name="menuItem" property="namerus" />
>> >   </html:link>
>> > </logic:iterate>
>> >
>> >
>> > ----- Original Message -----
>> > From: "Sergey.Livanov" <Se...@ukrpost.net>
>> > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>> > Sent: Thursday, April 10, 2003 8:53 AM
>> > Subject: logic:iterate help
>> >
>> >
>> > > Would you please help to start up the construction for refering the
>> > title
>> > > for the primary key:
>> > >
>> > >
>> > >  <logic:iterate name="menu" id="menu" >
>> > >       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
>> > >       <bean:write name="menu" property="namerus" /> </A>
>> > >  </logic:iterate>
>> > >
>> > >
>> > > --
>> > > Best regards,
>> > >  Sergey.Livanov
>> > mailto:Sergey.Livanov@ukrpost.net
>> > >
>> > >
>> > >
>> > > 
hin> ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> > > For additional commands, e-mail: 
struts-user-help@jakarta.apache.org
>> > >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>> >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>


hin> ---------------------------------------------------------------------
hin> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
hin> For additional commands, e-mail: struts-user-help@jakarta.apache.org




hin> ---------------------------------------------------------------------
hin> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
hin> For additional commands, e-mail: struts-user-help@jakarta.apache.org



-- 
Best regards,
Dirk


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re[2]: logic:iterate help

Posted by Dirk Markert <po...@gmx.de>.
Hello harm,

do you have something like:

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

in your jsp?

Thursday, April 10, 2003, 4:49:38 PM, you wrote:

hin> Even when I do this:

hin> <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
hin>                         <html:link action="/show_add?serial=<%= blah %>">
hin>           <bean:write name="advertisement" property="serial"
/>></html:link></strong></font></td>
hin>         </tr>

hin> The output is:

hin> <tr> 
hin>           <td><font size="2" face="Verdana, Arial, Helvetica, 
sans-serif">><strong>

hin>                                                  <a 
hin> href="/struts-example/show_add.do?serial=<%= blah 
%>>">N1C3316</a></strong></font></td>
hin>         </tr>

hin> Realy, isn't this something wrong in my code?

hin> Gr. Harm.




hin> "Ian Hunter" <ih...@hunterweb.net> 
hin> 04/10/2003 04:45 PM
hin> Please respond to
hin> "Struts Users Mailing List" <st...@jakarta.apache.org>


hin> To
hin> "Struts Users Mailing List" <st...@jakarta.apache.org>
hin> cc

hin> Subject
hin> Re: logic:iterate help






hin> I don't understand -- it shouldn't be doing that.  Maybe look into JSTL to
hin> get around this?

hin> ----- Original Message -----
hin> From: <ha...@informatiefabriek.nl>
hin> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
hin> Sent: Thursday, April 10, 2003 10:41 AM
hin> Subject: Re: logic:iterate help


>> I'm using JBoss with integrated Tomcat 4.....
>>
>> Here is the output with a bit more context:
>>
>> <tr>
>> <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
>>         <a href="/struts-example/show_add.do?serial=
>> <%=advertisement.getSerial()%>">N1C3316</a></strong></font></td>
>> </tr>
>>
>> Any idea?
>>
>> Gr. Harm.
>>
>>
>>
>>
>>
>> "Ian Hunter" <ih...@hunterweb.net>
>> 04/10/2003 04:38 PM
>> Please respond to
>> "Struts Users Mailing List" <st...@jakarta.apache.org>
>>
>>
>> To
>> "Struts Users Mailing List" <st...@jakarta.apache.org>
>> cc
>>
>> Subject
>> Re: logic:iterate help
>>
>>
>>
>>
>>
>>
>> ?!?!?! What container are you using?  The <%= ... %> stuff should NEVER
>> appear in HTML output -- maybe throw an error, but not get passed 
hin> through.
>>
>>
>> ----- Original Message -----
>> From: <ha...@informatiefabriek.nl>
>> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>> Sent: Thursday, April 10, 2003 10:31 AM
>> Subject: Re: logic:iterate help
>>
>>
>> > Hi,
>> >
>> > I have tried your code below... But I get this output in the 
hin> html-code:
>> >
>> > <a
>> >
>> 
hin> href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">
>> >
>> > I use this jsp source:
>> >
>> > <logic:present name="advertisements">
>> > <table width="75%" border="0" bordercolor="#000000" bgcolor="#000000">
>> >   <tr>
>> >     <td><table width="100%" border="0" bgcolor="#CCCCCC">
>> >         <logic:iterate  id="advertisement" name="advertisements">
>> >         <tr>
>> >           <td><font size="2" face="Verdana, Arial, Helvetica,
>> sans-serif"
>> > ><strong>
>> >                         <html:link action="/show_add?serial=<%=
>> > advertisement.getSerial()%>">
>> >           <bean:write name="advertisement" property="serial"
>> > /></strong></font></html:link></td>
>> >         </tr>
>> >           </logic:iterate>
>> >       </table></td>
>> >   </tr>
>> > </table>
>> > </logic:present>
>> >
>> > Do you have any suggestions?
>> >
>> > Gr. Harm.
>> >
>> >
>> >
>> >
>> > "Ian Hunter" <ih...@hunterweb.net>
>> > 04/10/2003 04:02 PM
>> > Please respond to
>> > "Struts Users Mailing List" <st...@jakarta.apache.org>
>> >
>> >
>> > To
>> > "Struts Users Mailing List" <st...@jakarta.apache.org>,
>> > "Sergey.Livanov" <Se...@ukrpost.net>
>> > cc
>> >
>> > Subject
>> > Re: logic:iterate help
>> >
>> >
>> >
>> >
>> >
>> >
>> > I think you mean
>> >
>> > <logic:iterate id="menuItem" name="menu">
>> >   <html:link action="message?id=<%=menuItem.getMenuid()%>">
>> >     <bean:write name="menuItem" property="namerus" />
>> >   </html:link>
>> > </logic:iterate>
>> >
>> >
>> > ----- Original Message -----
>> > From: "Sergey.Livanov" <Se...@ukrpost.net>
>> > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>> > Sent: Thursday, April 10, 2003 8:53 AM
>> > Subject: logic:iterate help
>> >
>> >
>> > > Would you please help to start up the construction for refering the
>> > title
>> > > for the primary key:
>> > >
>> > >
>> > >  <logic:iterate name="menu" id="menu" >
>> > >       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
>> > >       <bean:write name="menu" property="namerus" /> </A>
>> > >  </logic:iterate>
>> > >
>> > >
>> > > --
>> > > Best regards,
>> > >  Sergey.Livanov
>> > mailto:Sergey.Livanov@ukrpost.net
>> > >
>> > >
>> > >
>> > > 
hin> ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>> > >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>> >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>


hin> ---------------------------------------------------------------------
hin> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
hin> For additional commands, e-mail: struts-user-help@jakarta.apache.org




hin> ---------------------------------------------------------------------
hin> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
hin> For additional commands, e-mail: struts-user-help@jakarta.apache.org



-- 
Best regards,
Dirk


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: logic:iterate help

Posted by ha...@informatiefabriek.nl.
Even when I do this:

<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
                        <html:link action="/show_add?serial=<%= blah %>">
          <bean:write name="advertisement" property="serial"
/></html:link></strong></font></td>
        </tr>

The output is:

<tr> 
          <td><font size="2" face="Verdana, Arial, Helvetica, 
sans-serif"><strong>

                                                 <a 
href="/struts-example/show_add.do?serial=<%= blah 
%>">N1C3316</a></strong></font></td>
        </tr>

Realy, isn't this something wrong in my code?

Gr. Harm.




"Ian Hunter" <ih...@hunterweb.net> 
04/10/2003 04:45 PM
Please respond to
"Struts Users Mailing List" <st...@jakarta.apache.org>


To
"Struts Users Mailing List" <st...@jakarta.apache.org>
cc

Subject
Re: logic:iterate help






I don't understand -- it shouldn't be doing that.  Maybe look into JSTL to
get around this?

----- Original Message -----
From: <ha...@informatiefabriek.nl>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, April 10, 2003 10:41 AM
Subject: Re: logic:iterate help


> I'm using JBoss with integrated Tomcat 4.....
>
> Here is the output with a bit more context:
>
> <tr>
> <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
>         <a href="/struts-example/show_add.do?serial=
> <%=advertisement.getSerial()%>">N1C3316</a></strong></font></td>
> </tr>
>
> Any idea?
>
> Gr. Harm.
>
>
>
>
>
> "Ian Hunter" <ih...@hunterweb.net>
> 04/10/2003 04:38 PM
> Please respond to
> "Struts Users Mailing List" <st...@jakarta.apache.org>
>
>
> To
> "Struts Users Mailing List" <st...@jakarta.apache.org>
> cc
>
> Subject
> Re: logic:iterate help
>
>
>
>
>
>
> ?!?!?! What container are you using?  The <%= ... %> stuff should NEVER
> appear in HTML output -- maybe throw an error, but not get passed 
through.
>
>
> ----- Original Message -----
> From: <ha...@informatiefabriek.nl>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Thursday, April 10, 2003 10:31 AM
> Subject: Re: logic:iterate help
>
>
> > Hi,
> >
> > I have tried your code below... But I get this output in the 
html-code:
> >
> > <a
> >
> 
href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">
> >
> > I use this jsp source:
> >
> > <logic:present name="advertisements">
> > <table width="75%" border="0" bordercolor="#000000" bgcolor="#000000">
> >   <tr>
> >     <td><table width="100%" border="0" bgcolor="#CCCCCC">
> >         <logic:iterate  id="advertisement" name="advertisements">
> >         <tr>
> >           <td><font size="2" face="Verdana, Arial, Helvetica,
> sans-serif"
> > ><strong>
> >                         <html:link action="/show_add?serial=<%=
> > advertisement.getSerial()%>">
> >           <bean:write name="advertisement" property="serial"
> > /></strong></font></html:link></td>
> >         </tr>
> >           </logic:iterate>
> >       </table></td>
> >   </tr>
> > </table>
> > </logic:present>
> >
> > Do you have any suggestions?
> >
> > Gr. Harm.
> >
> >
> >
> >
> > "Ian Hunter" <ih...@hunterweb.net>
> > 04/10/2003 04:02 PM
> > Please respond to
> > "Struts Users Mailing List" <st...@jakarta.apache.org>
> >
> >
> > To
> > "Struts Users Mailing List" <st...@jakarta.apache.org>,
> > "Sergey.Livanov" <Se...@ukrpost.net>
> > cc
> >
> > Subject
> > Re: logic:iterate help
> >
> >
> >
> >
> >
> >
> > I think you mean
> >
> > <logic:iterate id="menuItem" name="menu">
> >   <html:link action="message?id=<%=menuItem.getMenuid()%>">
> >     <bean:write name="menuItem" property="namerus" />
> >   </html:link>
> > </logic:iterate>
> >
> >
> > ----- Original Message -----
> > From: "Sergey.Livanov" <Se...@ukrpost.net>
> > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > Sent: Thursday, April 10, 2003 8:53 AM
> > Subject: logic:iterate help
> >
> >
> > > Would you please help to start up the construction for refering the
> > title
> > > for the primary key:
> > >
> > >
> > >  <logic:iterate name="menu" id="menu" >
> > >       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
> > >       <bean:write name="menu" property="namerus" /> </A>
> > >  </logic:iterate>
> > >
> > >
> > > --
> > > Best regards,
> > >  Sergey.Livanov
> > mailto:Sergey.Livanov@ukrpost.net
> > >
> > >
> > >
> > > 
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: logic:iterate help

Posted by Ian Hunter <ih...@hunterweb.net>.
I don't understand -- it shouldn't be doing that.  Maybe look into JSTL to
get around this?

----- Original Message -----
From: <ha...@informatiefabriek.nl>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, April 10, 2003 10:41 AM
Subject: Re: logic:iterate help


> I'm using JBoss with integrated Tomcat 4.....
>
> Here is the output with a bit more context:
>
> <tr>
> <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
>         <a href="/struts-example/show_add.do?serial=
> <%=advertisement.getSerial()%>">N1C3316</a></strong></font></td>
> </tr>
>
> Any idea?
>
> Gr. Harm.
>
>
>
>
>
> "Ian Hunter" <ih...@hunterweb.net>
> 04/10/2003 04:38 PM
> Please respond to
> "Struts Users Mailing List" <st...@jakarta.apache.org>
>
>
> To
> "Struts Users Mailing List" <st...@jakarta.apache.org>
> cc
>
> Subject
> Re: logic:iterate help
>
>
>
>
>
>
> ?!?!?! What container are you using?  The <%= ... %> stuff should NEVER
> appear in HTML output -- maybe throw an error, but not get passed through.
>
>
> ----- Original Message -----
> From: <ha...@informatiefabriek.nl>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Thursday, April 10, 2003 10:31 AM
> Subject: Re: logic:iterate help
>
>
> > Hi,
> >
> > I have tried your code below... But I get this output in the html-code:
> >
> > <a
> >
> href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">
> >
> > I use this jsp source:
> >
> > <logic:present name="advertisements">
> > <table width="75%" border="0" bordercolor="#000000" bgcolor="#000000">
> >   <tr>
> >     <td><table width="100%" border="0" bgcolor="#CCCCCC">
> >         <logic:iterate  id="advertisement" name="advertisements">
> >         <tr>
> >           <td><font size="2" face="Verdana, Arial, Helvetica,
> sans-serif"
> > ><strong>
> >                         <html:link action="/show_add?serial=<%=
> > advertisement.getSerial()%>">
> >           <bean:write name="advertisement" property="serial"
> > /></strong></font></html:link></td>
> >         </tr>
> >           </logic:iterate>
> >       </table></td>
> >   </tr>
> > </table>
> > </logic:present>
> >
> > Do you have any suggestions?
> >
> > Gr. Harm.
> >
> >
> >
> >
> > "Ian Hunter" <ih...@hunterweb.net>
> > 04/10/2003 04:02 PM
> > Please respond to
> > "Struts Users Mailing List" <st...@jakarta.apache.org>
> >
> >
> > To
> > "Struts Users Mailing List" <st...@jakarta.apache.org>,
> > "Sergey.Livanov" <Se...@ukrpost.net>
> > cc
> >
> > Subject
> > Re: logic:iterate help
> >
> >
> >
> >
> >
> >
> > I think you mean
> >
> > <logic:iterate id="menuItem" name="menu">
> >   <html:link action="message?id=<%=menuItem.getMenuid()%>">
> >     <bean:write name="menuItem" property="namerus" />
> >   </html:link>
> > </logic:iterate>
> >
> >
> > ----- Original Message -----
> > From: "Sergey.Livanov" <Se...@ukrpost.net>
> > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > Sent: Thursday, April 10, 2003 8:53 AM
> > Subject: logic:iterate help
> >
> >
> > > Would you please help to start up the construction for refering the
> > title
> > > for the primary key:
> > >
> > >
> > >  <logic:iterate name="menu" id="menu" >
> > >       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
> > >       <bean:write name="menu" property="namerus" /> </A>
> > >  </logic:iterate>
> > >
> > >
> > > --
> > > Best regards,
> > >  Sergey.Livanov
> > mailto:Sergey.Livanov@ukrpost.net
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: logic:iterate help

Posted by ha...@informatiefabriek.nl.
I'm using JBoss with integrated Tomcat 4.....

Here is the output with a bit more context:

<tr> 
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
        <a href="/struts-example/show_add.do?serial= 
<%=advertisement.getSerial()%>">N1C3316</a></strong></font></td>
</tr>

Any idea?

Gr. Harm.





"Ian Hunter" <ih...@hunterweb.net> 
04/10/2003 04:38 PM
Please respond to
"Struts Users Mailing List" <st...@jakarta.apache.org>


To
"Struts Users Mailing List" <st...@jakarta.apache.org>
cc

Subject
Re: logic:iterate help






?!?!?! What container are you using?  The <%= ... %> stuff should NEVER
appear in HTML output -- maybe throw an error, but not get passed through.


----- Original Message -----
From: <ha...@informatiefabriek.nl>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, April 10, 2003 10:31 AM
Subject: Re: logic:iterate help


> Hi,
>
> I have tried your code below... But I get this output in the html-code:
>
> <a
> 
href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">
>
> I use this jsp source:
>
> <logic:present name="advertisements">
> <table width="75%" border="0" bordercolor="#000000" bgcolor="#000000">
>   <tr>
>     <td><table width="100%" border="0" bgcolor="#CCCCCC">
>         <logic:iterate  id="advertisement" name="advertisements">
>         <tr>
>           <td><font size="2" face="Verdana, Arial, Helvetica, 
sans-serif"
> ><strong>
>                         <html:link action="/show_add?serial=<%=
> advertisement.getSerial()%>">
>           <bean:write name="advertisement" property="serial"
> /></strong></font></html:link></td>
>         </tr>
>           </logic:iterate>
>       </table></td>
>   </tr>
> </table>
> </logic:present>
>
> Do you have any suggestions?
>
> Gr. Harm.
>
>
>
>
> "Ian Hunter" <ih...@hunterweb.net>
> 04/10/2003 04:02 PM
> Please respond to
> "Struts Users Mailing List" <st...@jakarta.apache.org>
>
>
> To
> "Struts Users Mailing List" <st...@jakarta.apache.org>,
> "Sergey.Livanov" <Se...@ukrpost.net>
> cc
>
> Subject
> Re: logic:iterate help
>
>
>
>
>
>
> I think you mean
>
> <logic:iterate id="menuItem" name="menu">
>   <html:link action="message?id=<%=menuItem.getMenuid()%>">
>     <bean:write name="menuItem" property="namerus" />
>   </html:link>
> </logic:iterate>
>
>
> ----- Original Message -----
> From: "Sergey.Livanov" <Se...@ukrpost.net>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Thursday, April 10, 2003 8:53 AM
> Subject: logic:iterate help
>
>
> > Would you please help to start up the construction for refering the
> title
> > for the primary key:
> >
> >
> >  <logic:iterate name="menu" id="menu" >
> >       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
> >       <bean:write name="menu" property="namerus" /> </A>
> >  </logic:iterate>
> >
> >
> > --
> > Best regards,
> >  Sergey.Livanov
> mailto:Sergey.Livanov@ukrpost.net
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: logic:iterate help

Posted by Ian Hunter <ih...@hunterweb.net>.
?!?!?! What container are you using?  The <%= ... %> stuff should NEVER
appear in HTML output -- maybe throw an error, but not get passed through.


----- Original Message -----
From: <ha...@informatiefabriek.nl>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, April 10, 2003 10:31 AM
Subject: Re: logic:iterate help


> Hi,
>
> I have tried your code below... But I get this output in the html-code:
>
> <a
> href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">
>
> I use this jsp source:
>
> <logic:present name="advertisements">
> <table width="75%" border="0" bordercolor="#000000" bgcolor="#000000">
>   <tr>
>     <td><table width="100%" border="0" bgcolor="#CCCCCC">
>         <logic:iterate  id="advertisement" name="advertisements">
>         <tr>
>           <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"
> ><strong>
>                         <html:link action="/show_add?serial=<%=
> advertisement.getSerial()%>">
>           <bean:write name="advertisement" property="serial"
> /></strong></font></html:link></td>
>         </tr>
>           </logic:iterate>
>       </table></td>
>   </tr>
> </table>
> </logic:present>
>
> Do you have any suggestions?
>
> Gr. Harm.
>
>
>
>
> "Ian Hunter" <ih...@hunterweb.net>
> 04/10/2003 04:02 PM
> Please respond to
> "Struts Users Mailing List" <st...@jakarta.apache.org>
>
>
> To
> "Struts Users Mailing List" <st...@jakarta.apache.org>,
> "Sergey.Livanov" <Se...@ukrpost.net>
> cc
>
> Subject
> Re: logic:iterate help
>
>
>
>
>
>
> I think you mean
>
> <logic:iterate id="menuItem" name="menu">
>   <html:link action="message?id=<%=menuItem.getMenuid()%>">
>     <bean:write name="menuItem" property="namerus" />
>   </html:link>
> </logic:iterate>
>
>
> ----- Original Message -----
> From: "Sergey.Livanov" <Se...@ukrpost.net>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Thursday, April 10, 2003 8:53 AM
> Subject: logic:iterate help
>
>
> > Would you please help to start up the construction for refering the
> title
> > for the primary key:
> >
> >
> >  <logic:iterate name="menu" id="menu" >
> >       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
> >       <bean:write name="menu" property="namerus" /> </A>
> >  </logic:iterate>
> >
> >
> > --
> > Best regards,
> >  Sergey.Livanov
> mailto:Sergey.Livanov@ukrpost.net
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: logic:iterate help

Posted by ha...@informatiefabriek.nl.
Hi,

I have tried your code below... But I get this output in the html-code:

<a 
href="/struts-example/show_add.do?serial=<%=advertisement.getSerial()%>">

I use this jsp source:

<logic:present name="advertisements">
<table width="75%" border="0" bordercolor="#000000" bgcolor="#000000">
  <tr>
    <td><table width="100%" border="0" bgcolor="#CCCCCC">
        <logic:iterate  id="advertisement" name="advertisements"> 
        <tr> 
          <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"
><strong>
                        <html:link action="/show_add?serial=<%=
advertisement.getSerial()%>">
          <bean:write name="advertisement" property="serial"
/></strong></font></html:link></td>
        </tr>
          </logic:iterate>
      </table></td>
  </tr>
</table>
</logic:present>

Do you have any suggestions?

Gr. Harm.




"Ian Hunter" <ih...@hunterweb.net> 
04/10/2003 04:02 PM
Please respond to
"Struts Users Mailing List" <st...@jakarta.apache.org>


To
"Struts Users Mailing List" <st...@jakarta.apache.org>, 
"Sergey.Livanov" <Se...@ukrpost.net>
cc

Subject
Re: logic:iterate help






I think you mean

<logic:iterate id="menuItem" name="menu">
  <html:link action="message?id=<%=menuItem.getMenuid()%>">
    <bean:write name="menuItem" property="namerus" />
  </html:link>
</logic:iterate>


----- Original Message -----
From: "Sergey.Livanov" <Se...@ukrpost.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, April 10, 2003 8:53 AM
Subject: logic:iterate help


> Would you please help to start up the construction for refering the 
title
> for the primary key:
>
>
>  <logic:iterate name="menu" id="menu" >
>       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
>       <bean:write name="menu" property="namerus" /> </A>
>  </logic:iterate>
>
>
> --
> Best regards,
>  Sergey.Livanov
mailto:Sergey.Livanov@ukrpost.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: logic:iterate help

Posted by Ian Hunter <ih...@hunterweb.net>.
I think you mean

<logic:iterate id="menuItem" name="menu">
  <html:link action="message?id=<%=menuItem.getMenuid()%>">
    <bean:write name="menuItem" property="namerus" />
  </html:link>
</logic:iterate>


----- Original Message -----
From: "Sergey.Livanov" <Se...@ukrpost.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, April 10, 2003 8:53 AM
Subject: logic:iterate help


> Would you please help to start up the construction for refering the title
> for the primary key:
>
>
>  <logic:iterate name="menu" id="menu" >
>       <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
>       <bean:write name="menu" property="namerus" /> </A>
>  </logic:iterate>
>
>
> --
> Best regards,
>  Sergey.Livanov
mailto:Sergey.Livanov@ukrpost.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


logic:iterate help

Posted by "Sergey.Livanov" <Se...@ukrpost.net>.
Would you please help to start up the construction for refering the title
for the primary key:


 <logic:iterate name="menu" id="menu" >
      <A href="/message.do?id=<%=(menuid).getMenuid()%>" >
      <bean:write name="menu" property="namerus" /> </A>
 </logic:iterate>


-- 
Best regards,
 Sergey.Livanov                            mailto:Sergey.Livanov@ukrpost.net



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: what are these other files?

Posted by apachep2 <ap...@hotmail.com>.
Why didn't you even bother looking through the struts user guide?

-----Original Message-----
From: Chin, Ed [mailto:ed.chin@lmco.com] 
Sent: April 9, 2003 6:02 PM
To: Struts Users Mailing List (E-mail)
Subject: what are these other files?

I see a lot of files in the struts 1.1rc1 distribution under /lib/ which
aren't explained in the installation doc. 

What are these? (see below)
commons-collections.jar
commons-dbcp.jar 
etc...

Do I need these files to use struts or are they additional functionality
for
advanced users? 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org