Re: Netbeans 6.0 Editor Error with struts2 library

2008-01-16 Thread MK Tan
Have you try 1) close netbeans 2) delete the cache folder under /.netbeans/6.0/var/ ? 3) open netbeans again. HTH On Jan 17, 2008 3:26 PM, Igor Vlasov <[EMAIL PROTECTED]> wrote: > > This is not because an empty method:-/. > > I try to write there but do not get any response. :-(( > > > > Al

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread MK Tan
look like struts taglibs cause the NPE. unknown property name? On 9/7/07, Riccardo Mollame <[EMAIL PROTECTED]> wrote: > > Could any one explain why this piece of code works > fine: > > <%@ taglib prefix="c" > uri="http://java.sun.com/jsp/jstl/core"%> > <%@ taglib prefix="x" > uri="http://java.su

Re: Eclipse Editor and struts tags

2007-08-02 Thread MK Tan
Hi, WTP 1.5with EMF 2.2 will run fine in Eclipse 3.2.2. ;-) On 8/2/07, appel <[EMAIL PROTECTED]> wrote: > > > Hi, > > I cannot install WTP unless I have E

Re: Eclipse Editor and struts tags

2007-08-02 Thread MK Tan
Do you have WTP installed in your Eclipse? On 8/2/07, appel <[EMAIL PROTECTED]> wrote: > > > Hello, > > I'm using Eclipse 3.2.2, isn't it possible to get tag insight, syntax > coloring, code completion etc. when editing JSP pages using struts-tags ? > > It's currently just raw black text. > -- >

Re: [S2] Passing values from one action to another

2007-07-16 Thread MK Tan
Have you try Chain Result ? On 7/17/07, yitzle <[EMAIL PROTECTED]> wrote: I got two action classes, A and B. A has a bunch of getters and B has corresponding setters. In order to get the value from A into B, does that value need to appear

Re: Action class in struts-2.0 version

2007-06-28 Thread MK Tan
I means this http://www.nabble.com/Re%3A-How-to-creae-Action-class-in-struts2.0.8-p11340666.html On 6/28/07, MK Tan <[EMAIL PROTECTED]> wrote: Wasn't you have the answer from this reply http://www.nabble.com/How-to-creae-Action-class-in-struts2.0.8-tf3993602.html#a11340518 ?

Re: Action class in struts-2.0 version

2007-06-28 Thread MK Tan
Wasn't you have the answer from this reply http://www.nabble.com/How-to-creae-Action-class-in-struts2.0.8-tf3993602.html#a11340518? On 6/28/07, manohar-AB <[EMAIL PROTECTED]> wrote: I want the code for the Action class and struts.xml in the struts2.0.8 version -- View this message in context

Re: is there anyway to store the previous added lateExtraAmount

2007-06-06 Thread MK Tan
you can put the previous added lateExtraAmount into session. After that, just retrieve it back from the session n do ur calculation. HTH, MK Tan On 6/4/07, prasad kumar <[EMAIL PROTECTED]> wrote: hi, iam using struts, i have one class i.e LateExtra,in this class i have wriit

Re: [S2] Spring Injection

2007-05-23 Thread MK Tan
BaseAction { //do whatever you want with myService } public class BarAction extends BaseAction { //create anything you like with myService } in your applicationContext.xml, declare something shown below: HTH MK Tan On 5/23/07, Roger Varley <[EMAIL PROTECTED]> wrote: Hi I suspect tha

Re: OT- need some help

2007-05-21 Thread MK Tan
i do a similar thing? As long as your jar file and the cfg file are under the same classpath, it shouldn't be any problem to read the value. That was my question. Thanks. Vikas. On 5/21/07, MK Tan <[EMAIL PROTECTED]> wrote: > > Hi, > > Just wonder why you need to do this

Re: OT- need some help

2007-05-21 Thread MK Tan
Hi, Just wonder why you need to do this in xml way? Wasn't it much simpler if you do it in properties (key value) format? Most of the time, I just found it people like to overuse xml :-p Best regards, MK Tan On 5/21/07, vikas rao <[EMAIL PROTECTED]> wrote: Hi, Can someone

Re: [s2] unexpected Tomcat shutdown everyday

2007-05-17 Thread MK Tan
Hi, Do you have any classes which invoke System.exit()? or do u have any spring scheduler which will terminate tomcat? or any error occurred before tomcat shutdown? Best regards, MK Tan On 5/17/07, walidito <[EMAIL PROTECTED]> wrote: Hi all, I have a a very strange and critical pb w

Re: posting form

2007-05-08 Thread MK Tan
Hi, Have you try it yourself before posting? ;-) Let me make a wild guess, it submit back to the same action which forward to this jsp :D cheers, MK Tan p/s: doing some homework or simple test before asking does not hurt or take many time :p On 5/9/07, temp temp <[EMAIL PROTECTED]>

Re: s:url bug

2007-05-01 Thread MK Tan
Hi, From the constructed url I assume you refer the url like this: ">some message Try using , like this some text again AFAIK, will give you the correct url. HTH, MK Tan On 5/1/07, David Harland <[EMAIL PROTECTED]> wrote: Hi, I think I have found a bug with the url ta

Re: compile error

2007-04-25 Thread MK Tan
or use maven2 ;-) from the given error message. It seem like the struts jar files are not in your classpath. Try set the classpath ;-) Best regards, Mk Tan On 4/25/07, Lance <[EMAIL PROTECTED]> wrote: I highly recommend using ant to manage your project including clean, compile,

Re: RE [S2] How to have validation message using localization ?

2007-04-19 Thread MK Tan
do u have a property named loginInput in package.properties? IIRC, if struts / webwork can't find the appropriate property, it will display the key as output HTH Best regards, MK Tan On 4/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Anyone ? :( Michaƫl Hi all,

Re: tags within tags in struts..

2007-04-11 Thread MK Tan
try this On 4/11/07, mi <[EMAIL PROTECTED]> wrote: hi i want to make the value of my url tag to come from the value of my property tag.. like this.. > but i am getting an error,. what is the correct way to do it? thanks in advance. - Don't get soaked.

Re: [S2] using

2007-04-05 Thread MK Tan
have u try this On 4/5/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Hello, I've been trying to use but come across a problem when using it with to set parameters on the action url. From the documentation there is an example: Which should results in