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
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
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
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
hello this is my code
if (!isCancelled(request)) {
//business logic
ActionMessages errorMsgs = new ActionMessages();
errorMsgs.add("messageId", new
ActionMessage("User","message.insert"));
//saveEr
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.
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
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
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
hello all
this is my code
in jsp
ArrayList levelList =
(ArrayList)request.getAttribute("levelsList");
pageContext.setAttribute("levelsList",levelsList,pageContext.PAGE_SCOPE);
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.
--
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
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);
hello all
I've got a ArrayList in my ActionForm like
ArrayList alist = new ArrayList();
User user = new User();
user.setName("test1");
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
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
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
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()){
>
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 .
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.
--
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
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.
--
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
23 matches
Mail list logo