RE: JSTL problem

"Steve Duran" <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>

  I suggest you remove the "<<<" if it is actually in your JSP.

  Also, change this: <core:out value="${languaje.descripcio}:"/> 

  to this: <core:out value="${languaje.descripcio}"/>:

  This may also also be a problem: webLangId${languaje.codi}

  Try ${ 'webLangId' + languaje.codi }

  If you're using the 2.4 spec. you can try this:

  <input type="text" name="webLangId${languaje.codi}" size="64"/>

  Just suggestions.

  Steve 


-----Original Message-----
From: jeusdi [mailto:[email protected]] 
Sent: Tuesday, November 07, 2006 11:17 AM
To: [email protected]
Subject: JSTL problem



Mmm, In my servlet I implement this portion code -->

java.util.Collection idiomes =
com.gmsoft.model.dao.DAOFactory.createIdiomaDAO().findAll();
request.setAttribute("languajes", idiomes);
						
dispatcher =
getServletContext().getRequestDispatcher("/content/admin/manufacturers/n
ewManufacturer.jsp");

And in newManufacturer.jsp -->



...
<core:forEach items='${requestScope.languajes}' var="languaje">   
<<<<<<<<<<<<<<<<<<<<<<<<<
  <td>
    <core:out value="${languaje.descripcio}:"/>   
	<input type="text" name="<core:out
value="webLangId${languaje.codi}"></core:out>" size="64"/>
    </td>
</core:forEach>
...


the result is -->

/content/admin/manufacturers/newManufacturer.jsp(44,9) According to TLD
or attribute directive in tag file, attribute items does not accept any
expressions
org.apache.jasper.JasperException:
/content/admin/manufacturers/newManufacturer.jsp(44,9) According to TLD
or attribute directive in tag file, attribute items does not accept any
expressions
	at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServle
tWrapper.java:510)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:375)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:672)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:463)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:398)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:301)
	at
com.gmsoft.Controller.ServletController.doPost(ServletController.java:12
2)
	at
com.gmsoft.Controller.ServletController.doGet(ServletController.java:38)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
	at
com.gmsoft.hibernate.HibernateFilter.doFilter(HibernateFilter.java:35)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
	at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
	at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
	at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
	at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
684)
	at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.
java:876)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
	at java.lang.Thread.run(Thread.java:595)

Can you say me What's happen?
Thanks in advance.
-- 
View this message in context:
http://www.nabble.com/JSTL-problem-tf2590520.html#a7223930
Sent from the Taglibs - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
**************************************************************************************************
CONFIDENTALITY NOTICE: This e-mail communication and any attachments may contain confidential and 
privileged information protected from disclosure by law. It is intended only for the use of the specified 
recipients.  Any unauthorized review, use, disclosure, distribution or any action based on this material is 
prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all 
copies of the original message.
**************************************************************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.