aspose file tools*
The moose likes Struts and the fly likes  problem with calendar display(new to struts) using struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " problem with calendar display(new to struts) using struts" Watch " problem with calendar display(new to struts) using struts" New topic
Author

problem with calendar display(new to struts) using struts

shilpa thakare
Greenhorn

Joined: Feb 21, 2007
Posts: 11
I am having different UI components in my jsp page.
I have used one calendar control displayed using javascript.

Now, when any validation error occurs (using Validator framework for struts), the calendar popup is not visible until we reload the page.
I want the calendar to be clickable and the date to be entered without reloading the page

My struts-config.xml looks something like this::

<action path="/assigntask"
type="AssignTaskAction"
name="assingTaskForm" scope="request" input="/jsp/assigntask.jsp" >
<forward name="success" path="/jsp/Success.jsp" />
<forward name="failure" path="/jsp/error.jsp" />
</action>

The assigntask.jsp contains the calendar control.

I have heard about struts-layout. Downloaded its jar file
but I am not getting the exact steps to be followed.

Can anyone help me with this...
or either the exact steps and details for using struts-layout
as I have just started working on struts....

Plzzzzz.give me the right path...thanks in advance
shilpa thakare
Greenhorn

Joined: Feb 21, 2007
Posts: 11
Using struts-layout i.e using <layout ate> input
tag I am getting the following error


java.lang.NoSuchMethodError: org.apache.struts.util.ResponseUtils.write(Ljavax/servlet/jsp/PageContext;Ljava/lang/String V
fr.improve.struts.taglib.layout.util.TagUtils.write(TagUtils.java:15)
fr.improve.struts.taglib.layout.SkinTag.doEndTag(SkinTag.java:46)
org.apache.jsp.jsp.assigntask_jsp._jspx_meth_layout_skin_0(org.apache.jsp.jsp.assigntask_jsp:380)
org.apache.jsp.jsp.assigntask_jsp._jspService(org.apache.jsp.jsp.assigntask_jsp:125)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with calendar display(new to struts) using struts
 
Similar Threads
Help in struts
adding action mapping to struts-config
Change color of clicked link - tiles
Struts validation problem..
want help in iframe