Re: Struts Tags Error

2004-11-02 Thread dmu2201
Geeth Narayanan wrote: I believe it is a compile time error than a runtime one. So, I don't have a stack trace. Ok then... How does the JSP look like then? Perhaps it is possible to see from that. As far as I read the error it is because a JSP tag has been used combined with a Struts HTML tag

Re: Struts Tags Error

2004-11-02 Thread dmu2201
Geeth Narayanan wrote: I am trying to use Struts 1.2.4 on Tomcat 5.0. I seem to get errors for any of the struts tags including the tiles tag due to incompatibility with JSP2.0 or something, I guess. Here is the error: :\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\shop \Input_

Re: nested checkboxes

2004-10-27 Thread dmu2201
aviral saini wrote: hi i am using nested checkboxes to display an array of checkboxes - each row belonging to a new entity. i also want the form to read these checkboxes when they are selected(true) and unselected(false). i have been able to implement the display but the while reading the form, i g

Re: reset method causes values not displaying

2004-10-27 Thread dmu2201
Sebastian Ho wrote: Now this is a Java question, if "XXX newForm = (XXX) form" resulted in form and newForm having the same memory space? How do I really make a duplicate copy with different memory space (beside using new, or is new the only solution)? Sebastian Ho Since this is Java and not C

Re: use EL in Struts 1.1

2004-10-27 Thread dmu2201
Rajesh wrote: :) My Boss :0 How not working for me then Should i add any taglib ??? Yeah you have to use the HTML and Bean taglibs: <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> replace the uri with the relativ

Re: reset method causes values not displaying

2004-10-27 Thread dmu2201
Sebastian Ho wrote: Hi Can someone point out why this do not work, or why this work? What this does, get a Actionform, set a value in it, add the ActionForm into an Vector, set the Vector into Session. Strangely the new ActionForm is not displayed in the JSP returned by ActionForward. It only app

Re: use EL in Struts 1.1

2004-10-27 Thread dmu2201
Rajesh wrote: Hai Claus, The code Is not parsed and directly appairs in the html source code. You would have to use the struts html tags. I forgot to mention that, sorry. try instead In my lib directry i have standard struts jars some site they added jstl.jar and struts-el.jar. I redownlo

Re: use EL in Struts 1.1

2004-10-27 Thread dmu2201
Hi Rajesh In layout page in a tile page am passing a querystring(parameter) as ?CategoryId=3 If i need to display can i just add it as I'm afraid not since the method signature is request.getParameter(String) and what you are trying to do is request.getParameter().getCagegoryId().getGif(), wh

Re: use EL in Struts 1.1

2004-10-27 Thread dmu2201
is it possible to use EL in Struts 1.1 ? Yes it is. Just insert this in the top of your JSP page: <%@ page isELIgnored="false" %> Enjoy... Claus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: General Question in JSP

2004-10-26 Thread dmu2201
Rajesh wrote: Hai McGrady I cant get you . I am writing a public final class inside that a normal public function which created a db connection and workis with it Inside finally of that function am calling static functiosn like Commons.closeResultSet(resultSet); Commons.closeStatement(oStatemen

Re: mulitpage form in struts

2004-10-26 Thread dmu2201
Ashish Kulkarni wrote: Hi Is there example for handling multipage form, which handles validation on each page, and handle forward-backward navigation buttons. Ashish Hi Ashish Could you ellaborate what you mean? The way I'm understandig this is that you have severeal pages with a form on each o

Re: Struts Validator and dynamically generated form fields

2004-10-21 Thread dmu2201
Thompson Marzagao wrote: Hi all, I am generating some form field names dynamically, based on the value of a request variable. Since I am using Niall Pemberton's LazyValidatorActionForm (see http://www.niallp.pwp.blueyonder.co.uk/), I don't have a problem getting their values. The problem is vali

Re: reusing actionform

2004-10-21 Thread dmu2201
Shahin Hadjikuliev wrote: Hi , list I have a form in one action , and I want to get access to the fields of this form in the next actions , have I any ways to do it other then putting in session? thanx Propably not, since the response and request objects are new objects each time you make a re

Exception handling not working

2004-10-21 Thread dmu2201
Hi ML... I have a problem with my exception handling mechanisem. If I write: I get nothing... The stacktrace causing the exception just dumps it in the browser instead of forwarding to Error.jsp. I get the same result trying to define exception handling in an 'action' definition... Is it me f

Re: Question regarding formbeans

2004-10-21 Thread dmu2201
Vinicius Carvalho wrote: Hi there! I have the following problem: My form offers the ability to a user select from some categories, let's say first grade, second grade on the next step user selects subjects for each one: first grade: MathEnglishScience second grade: MathEnglish His

Re: bean value within src of html:Image

2004-10-21 Thread dmu2201
Tito Eritja wrote: How to use some bean value within a html:Image src? I've tried something like but it doesn't work, there's something like paramName and paramProperty of html:link tag for html:Image? thanks in advance tito Why not use EL?! Then you could type: You just have to remember to ty