Calling in constructor seems a good option. Thanks
For the second solution could you please elaborate? As I have multiple calls to the colaPage in the same screen ... ... #{colaPage.cola.name} #{colaPage.cola.taste} #{colaPage.cola.temperatue} ... How can this be resolved into display and update page displays?
Regards, S Bhanu [ May 02, 2008: Message edited by: S Bhanu ]
Dear Ben, I respect JavaRanch's naming policy and have edited my profile accordingly. I do not know why the chages are not reflecting in my posts! Regards
Originally posted by Ben Souther: Bshar,
Our naming policy is not optional. Please use the link provided by Merrill to fix your screenname.
Accounts with invalid names are subject to deletion.
Is it possible to achieve this functionality through some configuration i.e. by putting into an xml file or something so that it can be changed by support team as well. I would not like the jars to be recompiled everytime I make such a change. Any ssuggestions?
We are facing a problem with session timeout. As per requirement we need to have different timeout values for different pages. i.e. to say 40 min for page A and 45 min for page B. Is there any way this configuration can be done. We are using Weblogic9/Java5/Struts1.1.
If you feel this is not the right forum for the question, please let me know.
<image type=submit..> submits the form once clicked. No need of javascript!! However, if you must use javascript try using <button> (not <input type="button"> tag...and put image in the body. [ March 02, 2006: Message edited by: Bshar ]
I am using multiple struts tiles in html:form and the form is getting submitted more than once. See this:
javax.servlet.jsp.JspException: Exception forwarding for name error: javax.servlet.ServletException: Exception forwarding f t.ServletException: Exception forwarding for name error: javax.servlet.ServletException: Exception forwarding for name erro eption: Exception forwarding for name error: javax.servlet.ServletException: Exception forwarding for name error: javax.ser ption forwarding for name error: javax.servlet.ServletException: Exception forwarding for name error: javax.servlet.Servlet ding for name error: javax.servlet.ServletException: Exception forwarding for name error: javax.servlet.ServletException: E e error: javax.servlet.ServletException: Exception forwarding for name error: javax.servlet.ServletException: Exception for a.lang.IllegalStateException: Cannot forward a response that is already committed at org.apache.struts.taglib.logic.ForwardTag.doForward(ForwardTag.java:127) at org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:107) at jsp_servlet._layout._jsp.__errors._jspService(__errors.java:166) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
the code looks like this: Layout.jsp <html:form action="<%=request.getAttribute("fwdTo").toString() %>"> <tiles:insert name="header"/> <tiles:insert name="navig"/> <tiles:insert name="body"/> <tiles:insert name="footer"/> </html:html>
I need to mandatorily put all the elements in HTML in the form to submit. Is there any restriction in putting multiple tiles in html:form ? Please note that I am using filer in the web.xml
[ March 02, 2006: Message edited by: Bshar ] [ March 06, 2006: Message edited by: Bshar ]
I cleared my SCJP2 exam in 2002. The certificate is no more valid as it had a 2 yr validity period. Can I still go ahead and apply for SCWCD(without writing SCJP again)?