how do i align elements?

2010-11-08 Thread m.harig
hi all , am designing a user creation page in struts2 , i want to align the elements as per my requirements , how do i make it? because struts2 itself align the elements by its own , is there anyway to override it? please any1 help me -- View this message in context: http://old.nabble.c

struts2 html redering problem

2010-11-03 Thread m.harig
hello , am doing a application in struts2.2.1 , in which am adding some html values in my setter method , like Home Loan Transfer , when i print this values in jsp page by , but i want the words should be highlighted as Home Loan Transfer , how do i overcome this? please any1 hel

text box bean:write

2009-09-15 Thread m.harig
hello all i've doubt in generating dynamic text box values using bean:write , am populating a TreeSet object which has unique values , and i've to display it on jsp page on text boxes (for example ,the TreeSet has 5 elements) . how do i do it? please any1 suggest me. -- View this mes

struts business objects

2009-08-25 Thread m.harig
hello all , am developing a struts web application , how do i use business objects in struts , since we're using ActionForms for getting & setting values ? is there any idea -- View this message in context: http://www.nabble.com/struts-business-objects-tp25147216p25147216.html Sent from

display a message

2009-01-19 Thread m.harig
hello this is my code if (!isCancelled(request)) { //business logic ActionMessages errorMsgs = new ActionMessages(); errorMsgs.add("messageId", new ActionMessage("User","message.insert")); //saveEr

Re: html:messages

2009-01-19 Thread m.harig
gt; > > > ... > > AUTOMATIC > > > -D > > > m.harig wrote: >> >> hello all >> i've a new-user page (say new_user.jsp) . am inserting a new >> user into db. after inserting am mapping my page to new_user.

html:messages

2009-01-19 Thread m.harig
hello all i've a new-user page (say new_user.jsp) . am inserting a new user into db. after inserting am mapping my page to new_user.jsp . what my doubt is i've to display a message "User created successfully". how do i do it? help me out of this please. note : am se

dissplay a message in jsp

2009-01-17 Thread m.harig
hello all I've a LoginAction in my application . Am checking my username , password with my db. If the user doesn't exist i've to display a message in my jsp page. Now am using session object to store the message . to print the message in jsp am using <%out.pri

checkbox doubt

2009-01-12 Thread m.harig
hello all this is my doubt. i've five checkboxes . how do i check three checkboxes is checked among these five checkboxes how do i do it in struts . please anyone help me -- View this messa

checkbox

2009-01-12 Thread m.harig
hello all this is my code in jsp ArrayList levelList = (ArrayList)request.getAttribute("levelsList"); pageContext.setAttribute("levelsList",levelsList,pageContext.PAGE_SCOPE);

Re: call javascript from jsp

2008-12-29 Thread m.harig
found the solution myself. , -- View this message in context: http://www.nabble.com/call-javascript-from-jsp-tp21213462p21213697.html Sent from the Struts - User mailing list archive at Nabble.com. --

call javascript from jsp

2008-12-29 Thread m.harig
hello all this is my condition : my Formbean has question,questionid , how do i pass those two fields when i click my check box to a javascript function . please anyone help me. -- View

RE: html:multibox problem

2008-12-29 Thread m.harig
thanks Mr.Seshagiri V , sorry .. this is my code ArrayList alist = new ArrayList(); for(int i=1;i<=3;i++){ User user = new User(); user.setName("test"+i);

html:multibox problem

2008-12-29 Thread m.harig
hello all I've got a ArrayList in my ActionForm like ArrayList alist = new ArrayList(); User user = new User(); user.setName("test1");

Re: how many forms do i need??

2008-12-17 Thread m.harig
once again thanks for giving me answer Mr.Robert . am newbie to struts . if i get an idea to how to use those forms it'll be helpful to proceed my application . thanks in advance -- View this message in context: http://www.nabble.com/how-many-forms-do-i-need---tp21050504p21051365.html Sent

Re: how many forms do i need??

2008-12-17 Thread m.harig
Thanks Robert then how can i handle it?? this is my situation in my login form username,password createuser username,password,role,city,coutry edituser username,password,role delet

how many forms do i need??

2008-12-17 Thread m.harig
hi all i've started doing my project in struts . am using DispatchAction class . i've a doubt . that is can i use separate forms for every page . for example for login-page i've LoginForm. and for edit-use

Re: tag

2008-12-16 Thread m.harig
is there anyone to answer my question%-| m.harig wrote: > > hi all > > am getting no.of users from DAO class and all username are in the form of > User Object. > > ArrayList list = new ArrayList(); > while(rs.next()){ >

tag

2008-12-15 Thread m.harig
hi all am getting no.of users from DAO class and all username are in the form of User Object. ArrayList list = new ArrayList(); while(rs.next()){ User user = new User(); user.setUsername("abc"); list.add(user); } this is my code .

Re: struts data-source

2008-12-15 Thread m.harig
Thanks Lukasz how do i implement then . because i need pooled connections . could anyone tell me about that -- View this message in context: http://www.nabble.com/struts-data-source-tp21011491p21012275.html Sent from the Struts - User mailing list archive at Nabble.com. --

struts data-source

2008-12-15 Thread m.harig
hello all am newbie to struts . am developing a login application . this is my java package structure Action - Helper - DAO . my ActionClass calls Helper method and it'll call DAO method for accessing database . is this correct??? and i've gone through with str

Re: cannot be greater than null characters

2008-12-11 Thread m.harig
i did it . but no changes still am getting the same -- View this message in context: http://www.nabble.com/cannot-be-greater-than-null-characters-tp20950855p20952645.html Sent from the Struts - User mailing list archive at Nabble.com. --

cannot be greater than null characters

2008-12-10 Thread m.harig
hi all am newbee to struts . am doing a login application on struts . am using Validator framework for page validation my configuration is validation.xml minlength7 maxlength20 when i submi