>> Your <c:out> works here, the problem is EL not being evaluated
>> So I still recommend you configure the IsELIgnored page directive
As you said i made IsELIgnored page directive to false, i got into a new problem
that my logic-el tags are not working now.
i am getting an error as "According to TLD or attribute directive in tag file,
attribute property does not accept any expressions" in the following line
<logic-el:iterate id="skip" name="SurveyCreateForm" scope="session"
property="pageValue[${pageNo}].questionValue[${questionNo}].skipLogicList"
indexId="ctr">
I guess that EIs in struts-el tags won't work if you make the IsELIgnored page
directive to false.
I tried to convert the above logic-el tag to c:forEach.
<c:forEach
items="${sessionScope.SurveyCreateForm.pageValue[pageNo].questionValue[questionNo].skipLogicList"
var="ss" varStatus="status">.
where pageValue(pageNo) and questionValue(questionNo) are the indexed property
methods.But here also i am facing a problem.
The Error says the expression contains invalid expression(s):
javax.servlet.jsp.el.ELException: Encountered "", expected one of ["}", ".", ">",
"gt", "<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*",
"/", "div", "%", "mod", "and", "&&", "or", "||", "?"]
I want both JSTL and struts-el tags to work as i can't convert html-el tags. How do i
do that?.
Any clues?.
thanks,
Ramkumar
> On Sat, 28 Aug 2004 18:18:58 +0530, RamKumar <[EMAIL PROTECTED]> wrote:
> > > JSTL needs to config in web.xml
> >
> > I configured JSTL in web.xml like this.
> >
> > <taglib>
> > <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
> > <taglib-location>/WEB-INF/fmt.tld</taglib-location>
> > </taglib>
> >
> > <taglib>
> > <taglib-uri>http://java.sun.com/jstl/fmt-rt</taglib-uri>
> > <taglib-location>/WEB-INF/fmt-rt.tld</taglib-location>
> > </taglib>
> >
> > <taglib>
> > <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
> > <taglib-location>/WEB-INF/c.tld</taglib-location>
> > </taglib>
> >
> > <taglib>
> > <taglib-uri>http://java.sun.com/jstl/core-rt</taglib-uri>
> > <taglib-location>/WEB-INF/c-rt.tld</taglib-location>
> > </taglib>
> >
> > <taglib>
> > <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
> > <taglib-location>/WEB-INF/sql.tld</taglib-location>
> > </taglib>
> >
> > <taglib>
> > <taglib-uri>http://java.sun.com/jstl/sql-rt</taglib-uri>
> > <taglib-location>/WEB-INF/sql-rt.tld</taglib-location>
> > </taglib>
> >
> > <taglib>
> > <taglib-uri>http://java.sun.com/jstl/x</taglib-uri>
> > <taglib-location>/WEB-INF/x.tld</taglib-location>
> > </taglib>
> >
> > <taglib>
> > <taglib-uri>http://java.sun.com/jstl/x-rt</taglib-uri>
> > <taglib-location>/WEB-INF/x-rt.tld</taglib-location>
> > </taglib>
> >
> > and in my jsp page i referred like this
> >
> > <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
> >
> > Anything else i am missing here?.
> >
> > thanks,
> > Ramkumar
> >
> >
> >
> > > On Sat, 28 Aug 2004 18:17:42 +0800, Can Zheng <[EMAIL PROTECTED]> wrote:
> > > > Seems the evaluation of El was not working.
> > > >
> > > > You can either set JSP configurations in the web.xml
> > > >
> > > > or set the IsELIgnored page directive to false in JSP pages.
> > > > On Sat, 28 Aug 2004 13:37:03 +0530, RamKumar <[EMAIL PROTECTED]>
> > wrote:
> > > > > Hi All,
> > > > > I am using JSTL in my JSP page for the first time. I am
> > running into a problem with the following tag.
> > > > > <c:out value="${sessionScope.SurveyCreateForm.surveyTitle}"/>
> > > > >
> > > > > and it prints in the page as
> > "${sessionScope.SurveyCreateForm.surveyTitle}"
> > > > >
> > > > > Any clues?
> > > > >
> > > > > thanks,
> > > > > Ramkumar
> > > > >
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > >
> > > > Can Zheng
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > Javen Fang
> > > -----------------------
> > > Just for fun - Just do it
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Best regards,
>
> Can Zheng
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>