Jump to content

Recommended Posts

Posted

[b]3) What is the scope ‘default’ for the bean in struts2.[/b]

[b]I actually meant, [/b]
[b]i.e., [/b][b]<bean id='idly' class='[/b][b]mangatayaru.tiffincenter.Idly' [color=#ff0000]scope = 'default'[/color]/>[/b]

Posted

[quote name='SinnaBabu_Chavatabbayi' timestamp='1379690997' post='1304276105']
Need answers for these interview questions.....

[b]1) How to use a single jsp on both web and mobile device without changing the logic at the action/controller class.[/b]
2) Use of struts.properties file in struts2
[b]3) What is the scope ‘default’ for the bean in struts2.[/b]
3) How to configure the tiles in Struts2.
4) What is the use of package and namespace in Struts2 xml.
5) How can a custom Interceptor can be implemented and configured.
[color=#ff0000][b]7) How can I change the label on the jsp for internationalizaion. What are the Steps?[/b][/color]
8) How to find a missing number in sequence.
9) System.exit in finally block.
[b]10) How to change the Data Source dynamically. Example, I have XML and Oracle, my application should get the data from both. [/b]
[b]11) What is responsive design[/b]
[b]12) What is the design pattern involved/or you use for Database Connection/Pool.[/b]
[/quote]

7th ques I implemented along with spring framework .. will help u .. don have much knowledge on structs ..

Posted

[quote name='SinnaBabu_Chavatabbayi' timestamp='1379690997' post='1304276105']
Need answers for these interview questions.....

[b]1) How to use a single jsp on both web and mobile device without changing the logic at the action/controller class.[/b]
2) Use of struts.properties file in struts2
[b]3) What is the scope ‘default’ for the bean in struts2.[/b]
3) How to configure the tiles in Struts2.
4) What is the use of package and namespace in Struts2 xml.
5) How can a custom Interceptor can be implemented and configured.
7) How can I change the label on the jsp for internationalizaion. What are the Steps?
[color=#ff0000][b]8) How to find a missing number in sequence.[/b][/color]
9) System.exit in finally block.
[b]10) How to change the Data Source dynamically. Example, I have XML and Oracle, my application should get the data from both. [/b]
[b]11) What is responsive design[/b]
[b]12) What is the design pattern involved/or you use for Database Connection/Pool.[/b]
[/quote]

[b][url="http://stackoverflow.com/questions/2113795/quickest-way-to-find-missing-number-in-an-array-of-numbers"]SOF[/url] answer :D[/b]

Posted

[quote name='innovative' timestamp='1379770817' post='1304281330']

7th ques I implemented along with spring framework .. will help u .. don have much knowledge on structs ..
[/quote]naku nerpisthava java ?

Posted

[img]http://lh6.ggpht.com/-HAB3Q3L-gQ4/T41gsdVHjVI/AAAAAAAAGBs/bmVql7rJKxI/s176/lol.gif[/img]

Posted

[quote name='NeneNaine' timestamp='1379771393' post='1304281341']
naku nerpisthava java ?
[/quote]

java practice cheyyatam start chesi emanna doubts vunte post them here ... definite ga help chestha thelisthe .. vere members evaaryna kooda thelisthe clear chestharu :)

Posted

[quote name='tpt2usa123' timestamp='1379539706' post='1304267685']
can any one please help me on this...

There are 3 components dropdownlist, input text and output text..
If the input is [b]given either thru dropdownlist or i/p text, o/p text[/b] should be updated without using Managed beans in JSF...

evarina help cheyyara pls...
[/quote]

ques ardham kaledhu ... explain plz ..

Posted

[quote name='innovative' timestamp='1379771783' post='1304281359']

java practice cheyyatam start chesi emanna doubts vunte post them here ... definite ga help chestha thelisthe .. vere members evaaryna kooda thelisthe clear chestharu :)
[/quote]oh thanq :police:

Posted

Inko question, on Oracle + Java.
Suppose, Employee table lo all records kaavaali with Department Id = 300,
So create a procedure and the sql statement SELECT * FROM EMPLOYEE WHERE DEPT_ID = 300

What would be the out parameter for this procedure
What is the type you register for Out Parameter in JAVA.

Posted

[quote name='SinnaBabu_Chavatabbayi' timestamp='1380130475' post='1304304046']
Inko question, on Oracle + Java.
Suppose, Employee table lo all records kaavaali with Department Id = 300,
So create a procedure and the sql statement SELECT * FROM EMPLOYEE WHERE DEPT_ID = 300

What would be the out parameter for this procedure
What is the type you register for Out Parameter in JAVA.
[/quote]
out param cursor

cursor will return Reslut Set

Posted

[quote name='cherlapalli_jailer' timestamp='1380133484' post='1304304401']
out param cursor

cursor will return Reslut Set
[/quote]
sample code kaavali ante cheppu

Posted

[quote name='cherlapalli_jailer' timestamp='1380133651' post='1304304434']
sample code kaavali ante cheppu
[/quote]


Yes Please..... Thanks mama

Posted

[quote name='SinnaBabu_Chavatabbayi' timestamp='1380133956' post='1304304475']


Yes Please..... Thanks mama
[/quote]

create or replace
PROCEDURE SP_Silly(p OUT emp__cursor)
IS

BEGIN
OPEN p cursor FOR
SELECT * FROM EMPLOYEE WHERE DEPT_ID = 300;
END;



java code



stmt = conn.prepareCall(" { call SP_silly(?) }" );


stmt.registerOutParameter(1, OracleTypes.CURSOR);
stmt.execute();

rs=(ResultSet)stmt.getObject(1);
while(rs.next())
{
//loop through
}

Posted

[quote name='innovative' timestamp='1379771783' post='1304281359']

java practice cheyyatam start chesi emanna doubts vunte post them here ... definite ga help chestha thelisthe .. vere members evaaryna kooda thelisthe clear chestharu :)
[/quote][img]https://m.ak.fbcdn.net/sphotos-a.ak/hphotos-ak-ash3/941870_562592320458916_199548430_n.jpg[/img]

×
×
  • Create New...