Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

wonderprat shah

Greenhorn
+ Follow
since May 30, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by wonderprat shah

but does a daemon thread survive if there are no user threads alive....

I mean, if the main thread which has spawned the daemon thread is dead, & there are no other user threads alive, then can the daemon thread still complete its execution or will it die before that...

Regards,
Pratik
According to me the necessary condition for the daemon thread to survive is the presence of any of the user thread or the parent thread(which is main thread in your program).

So since in ur example, one user thread is alive, ur daemon thread will survive on that... even though main thread is not alive...

Correct me if my understanding is wrong.

Regards,
Pratik
I think you can go with a collapsing tree format of the menu tile. By using this, you should be able to view the submenus in ur menu tile, when the user clicks on "reports".

And you can give the hrefs for all the menu items & the submenu items.

This should surely solve ur problem.

Regards,
wonderprat
13 years ago
I think you can go with a collapsing tree format of the menu tile. By using this, you should be able to view the submenus in ur menu tile, when the user clicks on "reports".

And you can give the hrefs for all the menu items & the submenu items.

This should surely solve ur problem.

Regards,
wonderprat
13 years ago
JSP
the following code snipet will explain everything....


<logic:iterate name="someForm"
property='<%="field(m_IncomeDetail).rows"%>' id="row"
indexId="index">
<%if (flag) {%>
<tr align="center" bgcolor="#DDEBDE">
<%} else {%>
</tr>
<tr align="center">
<%}
<td class="fieldLabel" width="36%"><bean:message key="abc" /> </td>
<td class="fieldData" width="9%" align="center">
<bean:message key="abc" />
</td>
<td class="fielldData" width="15%" align="center">
<bean:message key="abc" />
</td>
</tr>
</logic:iterate>
13 years ago
Hi,
I m facing a situation in which i have 4 different tiles on my page. Now all the tiles need to be populated with data dynamically from database. Hence i need different actions to populate them. All these actions i have mapped in my struts-defs.xml and tilesDefs.xml.

Now on one click(on the left navigation bar), i am not able to invoke all the actions. Only the first action gets invoked and then the control is lost.

Looking 4 help!!!
13 years ago