What is the difference between declaring a member variable as final static and static final?
thanks
User Profile
Collapse
-
prisesh26 started a topic What is the difference between declaring a member variable as final static and staticin JavaWhat is the difference between declaring a member variable as final static and static
-
Struts + action adderror + application resource property file
hi,
i am using struts in my project.
all my errors are shows through action errors.
now iam having a scenario where i need to display Errors from my action.
so using addError. but i need to pass arguments to the property file.
like location [0000-12] does not exist.
the location ll be changing according to the location taken.
so i want to display a consistent error... -
need to display the calendar pop up in right side of the text box
hi,
Iam using the plug in for calendar. when we click the text box or go through tab we will get the calendar popup. but as iam having the text box in the right end of the screen.
the saturday and sunday column in that calendar is getting hidden.
iam using table for the aligned display.
if i change the table td width the whole alignment is getting spoiled. so i want to display the calendar pop up in the text box... -
hi,
if i do that the name what iam giving is getting chucked off when the char reaches the cell end... -
hi Jos,
I mean special characters like ~!@#$%^ as special symbols.
i tried with"^[0-9]+[A-Z0-9]+[0-9]+$"
its working fine.
thanks yar!!!
PriLeave a comment:
-
hi,
the exp "[0-9A-Za-z]{6}" is accepting special symbols....Leave a comment:
-
how to make Table column size fixed
hi,
i am having a table. which is populated dynamically.
because of this; my table is getting shrined or expanded . but i don't want the cell size to be shrined or expanded.
i want to maintain the size through out. i mean i want the size to be fixed.
please help.
thanks
pri -
hi,
its of length 6. it can have only letters and numbers
no special characters are allowedLeave a comment:
-
regular expressin help
hi,
i need to frame a regular expression which should accept like the following string
23MN90
324378
43T7N0
can any one help me
i tried with al but it is giving false as the result. -
hi guys,
i tried with urlDECODER but its a depricated class so we cannot use that.
i tried by replacing the & with %26 and i passed to query string.
in request parameter %26 is escaped with & value.
so iam getting the value properly
now its working fine.
thanks dudes.
:)Leave a comment:
-
run time exception
hi,
iam getting exception (for duplicate key )displayed when i do ps.executeUpdat e(); i ll get this duplicate key exception rarely.
but i dont want the whole eception to be displayed in the console. instead i want to display in single line. i want to display in single readable line
i am catching the exception but still before it comes to catch section it is throwing the exception stack trace in my console.... -
sorry,
iam new to java . i dont no how to pass the code by POST.
can you help me please.
from jsp iam doing POST to one class. but from that class i dont no how to post the query string by post when i pass through response.sendre direct.
to another classLeave a comment:
-
thanks,
but iam fetching the name in one action class through request.getpara meter and appending with other values with querystring and passing to second action class. when i get in second action class iam not getting the whole string.Leave a comment:
-
how to retreive a & as a value from query string
hi,
iam passing a name "sun & moon" in my query string as a parameter.
but when i receive it through request.getPara meter iam getting only sun.
rest are getting ignored due to & symbol.
how to get the value as wat i entered through query string.
encoding with another symbol is not adviced. so can any one give a good solution
please help me
soon as possible . -
but it will take time to go through the feed back section in their busy schedule.
so i have written here. any way i will post it FEEDBACK section.Leave a comment:
-
wat happened to this forum..
why the Admin's are very hard in their words.
please understand the other people those who are starter, freshers to this language and selected this forum for help.
why cant the experienced people know and understand this and reply to your
help needed people.
no one knows fully and no one is unknown here...
please dont use hard words which will...Leave a comment:
-
Conversion of XML to jsp
Hi,
iam working in heavy architecture.
in which all the window elements in xml format and in servlet iam adding those elements to set the ui components.
now my query is.. when ever i open the popup which is loaded through the heavy architecture, the contents are not viewed fully and the scroll bar is not getting dragged fully to view the content of that popup.
the content of the page is passed as... -
help me to join two table using join - its complicating
i ve two tables tblpost and tblreply..
in tblpost i ve three fields postid,title,us er and in tblreply postid,replies.
postid is primary key for tblpost and i made postid in tblreply as a foreign key.
now my problem is..
i need to design a table in run time display title,user and number of replies for the particulat post..
ex select title,user,coun t(replies) from tblpost,tblrepl y where tblpost.postid= tblreply,postid .... -
how to use vbscript inside html
hey pals,
i need a alert or msgbox in my c#.net project.. so i thought of writing in vbscript as dialogbox not available for web apps
i want to know where we ve to write it.. whether in onclick or simply after the command buttons tag
if i write <script language vbscript>
iam getting msgbox in the intelisense but its not getting displayed showing error in the server side..
cant predict... -
hi,
one thing is not clear here..
u cant ve all the details of the employee in dropdownlist.
u can ve all ids in ddlist.
if u ve so.. u ve toi write a code inside dropdownlist_ch age()
here it goes..
sqldataadapter da = new sqldataadapter( "select date from table where eid= ' " + ddlist.selected item.text.trim + " ' ",con);
dataset ds= new dataset();
...Leave a comment:
No activity results to display
Show More
Leave a comment: