Abdul Aatif

Greenhorn
+ Follow
since Feb 08, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Abdul Aatif

I have 1+ year experience in Android app development . now i got an offer in another company in java technology.They told me that i will be working on core java(JSE) and Hibernate.My question is , working in java technology means ,that include java,jee,spring and hibernate (ie the web development ). Should i accept this offer ? .If I accept this offer how will be my career growth when compared to web development and which one is better.
9 years ago
can any one explain this ,
i have seen in a post here





Thank you in advance
10 years ago
Thank you very much
10 years ago

Bear Bibeault wrote:Values such as c.HOUR do not return the hour of the date. They are constants used with the API to identify date fields.

Consider: c.get(Calendar.HOUR)



Thank you so much.
10 years ago

Shounak Kundu wrote:Hi, I am trying to upload an image to database. Prior to that , I am just making the temporary file from where it will be stored in the table.

But I am getting this error.

MultipartRequest cannot be resolved to a type



I to had the same problem . The problem is jar file. Download from official site http://www.servlets.com/cos/ , hope resolves
I have an created an application , In the first screen user will select language from spinner,(in spinner, onItemselectedlistener i have written a code to store the selected language in static varible )


// selecting language

spn_lanSel.setOnItemSelectedListener(new OnItemSelectedListener() {

@Override
public void onItemSelected(AdapterView<?> arg0, View arg1,
int arg2, long arg3) {

if (arg2 == 1) {
LANGUAGE = "en";
} else if (arg2 == 2) {
LANGUAGE = "ta";
}

}

@Override
public void onNothingSelected(AdapterView<?> arg0) {

}
});




, now in the other screens i am using that static varible

// in other screens(activity)

if (LanguageSel.LANGUAGE.equals("en")) {

// making all text views as enhlish
}else{
// making all text views as other language
}

the problem is , if application is closing unexpectedly(i have written bluetooth code in emulator) , i am viewing the screen in other language(why it is happening ? Does jvm cleaned if application force closes ) i have checked the content in LanguageSel.LANGUAGE(static varible , it is empty ie.. " ")



thanks in advance
11 years ago
it is displaying
<root>
<sub>value</sub>
<sub>value</sub>
<sub>value</sub>
</root>

i want to display as

+root
value(if i click on + )
value(if i click on + )
11 years ago
JSP
How do i view an xml data in jsp.
ex:
+root
-sub
-sub
-sub
-sub
11 years ago
JSP
public class Test{
private void m1(){


}
}
class Test2 extends Test{

private void m1(){


}


}

fred rosenberger wrote:toString creates a String object every time it is called (even when implicitly called via String concatenation)



Sir,

But, if i am executing this line i am getting true as output.

System.out.println(b.toString().hashCode() == b.toString().hashCode());

Thanks in Advance
11 years ago
Could any one please explain this program why i am getting False as output

Thanks in Advance

Byte b = new Byte("10");
if(b.toString() == b.toString()){
System.out.println("True");
}else{
System.out.println("False");
}
11 years ago
how to block my web Application to entire china/any country ?

Hello all,
I have created a web-based application, I want to block its access to china.

thanks in advance
11 years ago
JSP

Bindu Kasera wrote:How can i use for loop in jsp




<c:forEach var="i" begin="1" end="10">
hello <br>
</c:forEach>

is equal to:

for(int i=1;i<=10;i++){
System.out.println("hello ");
}
11 years ago
JSP

hari vis wrote:try <jsp:include> tag.




Sir i have used <jsp:include> to replace requestDispatcher.include() , i am unable to pass request object to another page using JSP TAG'S



Thanks in advance.
11 years ago
JSP