You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "McAllister, Michael P." <mi...@attws.com> on 2001/04/03 20:50:16 UTC
Running Struts in ATG
I've tried running the sample application that comes with Struts in ATG.
The submit and reset button does not show up on the logon page. Is there a
problem running Struts in ATG?
Mike McAllister
Software Engineer
425-288-7343
michael.p.mcallister@attws.com
Re: Problems with
Posted by Martin Cooper <ma...@tumbleweed.com>.
Did you remember the taglib directive at the top of your JSP? That is, you
need:
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
Otherwise, your <bean:define> and <bean:write> tags will be silently
ignored. Annoying, but true. :-}
--
Martin Cooper
----- Original Message -----
From: "Abraham Kang" <ab...@infogain.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, April 05, 2001 4:20 PM
Subject: Problems with <bean:define>
> I was wondering if anyone could explain why "lname" variable is not
> defined in the following JSP page:
>
>
> <bean:define id="lname" value="<%=Keys.SHOW_USER_TASKS%>"
> type="java.lang.String" toScope="page"/>
> <bean:define id="lvalue" name="<%=Keys.USERNAME%>"
> type="java.lang.String" toScope="page"/>
>
> <bean:write name="lvalue"/>
>
> <% out.println(lname); %>
>
> Does anyone know why I am getting this error?
>
>
> G:\Struts\wlpiApp\WEB-INF\_tmp_war_wlpiApp\jsp_servlet\_workliststruts.j
> ava:397: Undefined variable: lname
> probably occurred due to an error in /worklistStruts.jsp line 56:
> <% out.println(lname); %>
>
> Thanks,
> Abraham
>
Problems with
Posted by Abraham Kang <ab...@infogain.com>.
I was wondering if anyone could explain why "lname" variable is not defined
in the following JSP page:
<bean:define id="lname" value="<%=Keys.SHOW_USER_TASKS%>"
type="java.lang.String" toScope="page"/>
<bean:define id="lvalue" name="<%=Keys.USERNAME%>"
type="java.lang.String" toScope="page"/>
<bean:write name="lvalue"/>
<% out.println(lname); %>
Does anyone know why I am getting this error?
G:\Struts\wlpiApp\WEB-INF\_tmp_war_wlpiApp\jsp_servlet\_workliststruts.java:
397: Undefined variable: lname
probably occurred due to an error in /worklistStruts.jsp line 56:
<% out.println(lname); %>
Thanks,
Abraham
Re: Running Struts in ATG
Posted by Nino Walker <ni...@xtime.com>.
Hi,
Dynamo (v5.1) has a bug in their Jsp implementation (popping the
bodycontent at the wrong time) - you need their newest patch
(DCS5.1_p2). I just installed the patch, and it solved the exact
problem you're describing.
Nino
Thierry Cools wrote:
> I had the same problem when I tried sometimes ago to use ATG as a
> web-tier.And unfortunately it was not the only one (e.g : No automatic
> converson of non-String attributes). I finally gave up and continued
> to use Tomcat as a servlet engine and used ATG only as a application
> server. Thierry
> Thierry Cools
>
> Senior Java Developer
> S1 Brussels
> Kleine Kloosterstraat, 23
> 1932 st. Stevens-Woluwe
> Belgium
> Tel : +32 2 200 43 82
> Email : thierry.cools@s1.com
>
> ----- Original Message -----
> From: McAllister, Michael P.
> To: 'struts-user@jakarta.apache.org'
> Sent: Tuesday, April 03, 2001 8:50 PM
> Subject: Running Struts in ATG
> I've tried running the sample application that comes with
> Struts in ATG.
> The submit and reset button does not show up on the logon
> page. Is there a
> problem running Struts in ATG?
>
> Mike McAllister
> Software Engineer
> 425-288-7343
> michael.p.mcallister@attws.com
>
>
>
Re: Running Struts in ATG
Posted by Thierry Cools <th...@s1.com>.
I had the same problem when I tried sometimes ago to use ATG as a web-tier.
And unfortunately it was not the only one (e.g : No automatic converson of non-String attributes).
I finally gave up and continued to use Tomcat as a servlet engine and used ATG only as a application server.
Thierry
Thierry Cools
Senior Java Developer
S1 Brussels
Kleine Kloosterstraat, 23
1932 st. Stevens-Woluwe
Belgium
Tel : +32 2 200 43 82
Email : thierry.cools@s1.com
----- Original Message -----
From: McAllister, Michael P.
To: 'struts-user@jakarta.apache.org'
Sent: Tuesday, April 03, 2001 8:50 PM
Subject: Running Struts in ATG
I've tried running the sample application that comes with Struts in ATG.
The submit and reset button does not show up on the logon page. Is there a
problem running Struts in ATG?
Mike McAllister
Software Engineer
425-288-7343
michael.p.mcallister@attws.com