Re: Error message!

2003-12-09 Thread Oron Gill Haus
It looks as though one of your tags in the 'app' include doesn't have a
getter/setter for an attribute you have specified in your TLD.

--- Zakaria khabot <[EMAIL PROTECTED]> wrote:
> Hi,
> I received this error message and don't understand the soiurce of
> error :
> 
> javax.servlet.jsp.JspException: No getter method for property action
> of bean org.apache.struts.taglib.html.BEAN
> 
>   java.lang.Object
>
org.apache.struts.util.RequestUtils.lookup(javax.servlet.jsp.PageContext,
> java.lang.String, java.lang.String, java.lang.String)
> 
>   RequestUtils.java:968
> 
>   int org.apache.struts.taglib.html.BaseFieldTag.doStartTag()
> 
>   BaseFieldTag.java:176
> 
>   int org.apache.struts.taglib.html.HiddenTag.doStartTag()
> 
>   HiddenTag.java:123
> 
>   void _detail._jspService(javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse)
> 
>   [/detail.jsp]
> 
>   detail.jsp:29
> 
> My detail.jsp file is the following :
> <%@ page contentType="text/html;charset=windows-1252"%>
> <%@ taglib uri="/WEB-INF/app.tld"prefix="app" %>
> <%@ 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" %>
> 
> 
> 
> 
> 
> Consultation et modification des données.
> 
> 
> 
> 
> Les données sur le DVD.
> 
> 
>  action="/process">
>  
> 
> function go(action) {
> document.forms["myform"].action.value=action;
>  }
>  
> 
> 
>  
> 
> 
> 
> 
> 
> 
>   
> 
>   :
> 
> 
> 
>   
> 
>  
> 
>   
> 
>   
> 
>   :
> 
> 
>   
> 
>   
> 
>   
> 
>   :
> 
> 
>   
> 
>   
> 
>   
> 
>   :
> 
> 
>   
> 
>   
> 
>   
> 
> 
> 
> 
>   
> 
> 
> 
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> Thanks.
> Zakaria
> 
>   
> 


=
Oron Gill Haus
IBM CSE Content Manager 8 - Sun Certified Programmer Java 2 1.4
office: (410) 539-3733 x1348
fax:(410) 837-9535 c/o Oron
e-mail: [EMAIL PROTECTED]
web: http://www.electronicscene.com/oron_haus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: session taglib

2003-12-05 Thread Oron Gill Haus
James,

Isn't there a drive to move to JSTL vs. the Struts tag library?  I'm
curious as we've been pushing JSTL for this reason (though it rather
flexible).

Thank you.

--- James Mitchell <[EMAIL PROTECTED]> wrote:
> On Fri, 5 Dec 2003, struts wrote:
> 
> > In the Jsp i have:
> >
> > 
> >
> > witch prints the username. Now i want something like:
> >
> > <%
> >
> > String username= ;
> >
> > %>
> >
> > but that doesn't work. How can i assign the session variable to the
> String username ?
> 
> A scriptlet-free way to do this:
> 
> 
>  
> 
> 
> >
> > Thanks !
> >
> >
> >
> 
> -- 
> James Mitchell
> Software Developer / Struts Evangelist
> http://www.struts-atlanta.org
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
Oron Gill Haus
IBM CSE Content Manager 8 - Sun Certified Programmer Java 2 1.4
office: (410) 539-3733 x1348
fax:(410) 837-9535 c/o Oron
e-mail: [EMAIL PROTECTED]
web: http://www.electronicscene.com/oron_haus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: session taglib

2003-12-05 Thread Oron Gill Haus
You can use JSTL to accomplish this using the:



You can also specify the scope within the value expression.  This is if
you wish to use JSTL.  Only a suggestion.  Hope it helps you out!

--- struts <[EMAIL PROTECTED]> wrote:
> In the Jsp i have:
> 
> 
> 
> witch prints the username. Now i want something like:
> 
> <%
> 
> String username= ;
> 
> %>
> 
> but that doesn't work. How can i assign the session variable to the
> String username ?
> 
> Thanks !
> 
> 
> 


=
Oron Gill Haus
IBM CSE Content Manager 8 - Sun Certified Programmer Java 2 1.4
office: (410) 539-3733 x1348
fax:(410) 837-9535 c/o Oron
e-mail: [EMAIL PROTECTED]
web: http://www.electronicscene.com/oron_haus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]