roshni sivan

Greenhorn
+ Follow
since Nov 23, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by roshni sivan

Thanks. Head First series made my preparation for SCWCD very easy. Now I am going to start prepartion with EJB3 in action
Hello all ,

Is there a Head First book released for SCBCD 5?

Thanks.

roshni
Hello,
In the previously presented code, I am not getting any data from database. In our application, I was using iText library for generating graphical reports where I will be getting data from a postgreSQL database. The following method will be called from an action class.

15 years ago
Hello,

Include itext-1.3.jar in lib folder. I have used iText library for creating PDF reports. Code from my application included. Hope this helps.



And method generatePDFReport in my DAO is as follows:



roshni sivan
15 years ago
Hello all,

I am developing a database driven struts menu for our application. I followed code examples from
http://demo.raibledesigns.com/struts-menu/cssVertical.jsp.

The menu items were retrieved from database and code written for rendering menu in a JSP page. When the mouse pointer moved over a parent level menu item, its submenu is shown. Now for the first level submenu also, when mouse moved over an item on first level sub menu, the second level sub menu shown. Now the problem is such that when I move pointer over any second level menu item, the selection over parent level menu item and first level sub menu item vanishes. I am very new to CSS and I could not figure out any problem with CSS. I am attaching my code files.

MenuPage.jsp




mb.js



newmb.css

Please help.

Thanks and have a great day!!

roshni.>
15 years ago

Dear all,

I would like to do SCBCD certification. Is there a Head First book based on EJB3.0? I am very new to EJB 3.0. I do have experience in J2EE, servlets, JSP and no programming experience in EJBs. Can someone please tell me which could be a good book for preparing SCBCD exam.

Thanks.
roshni
16 years ago

Originally posted by Himanshu Gupta:
This may help you.

web page

[ December 20, 2008: Message edited by: Himanshu Gupta ]



Thanks. I am doing an AWT application which is to be deployed in a PDA device. Let me check whether I can import the package org.apache.commons.lang.math.NumberUtils to my application.


thanks.

roshni
16 years ago
Hi all,

I passed SCWCD. Thanks to all java ranch people. The discussions on forums helped me a lot to get through the exam. I read Head First Servlets and attempted some mock exams.

Thanks to all.

roshni
16 years ago
With the above code, I would like to check validity of text entered into a text field of a java AWT application
16 years ago
Hi,
I tried the following code. Float.parseFloat("23d")does not throw an exception. The below code prints output as 23.0.
String s = new String ("23d");
try{
System.out.println(Float.parseFloat(s));

}
catch(Exception e){
System.out.println("not a number..");
}
How can I make Float.parseFloat("23d") throw an exception? Please help.


thanks.

roshni.
16 years ago
Hi all,

In my struts application, I would like to disable / enable an html:select box based on values selected from another html:select. I am using the following code for enable / disable.

<bean efine id="myForm" name="myActionForm" type="org.myproj.view.myActionForm" />

<html:select property="select_name" size="1"
disabled='<bean:write name="myForm" property="disableNameFlag"/>' onchange="findAge()">

<html ption value="0">--- Select ---</html ption>

<logic resent name="myActionForm" property="childNameList">
<html ptionsCollection name="myActionForm" property="childNameList"/>
</logic resent>
</html:select>

I am setting the value of disableNameFlag to true in the action form bean and <bean:write name="myForm" property="disableNameFlag"/> prints value as true. But html:select is not disabled. Please help.

Thanks.

roshni
16 years ago
I would say Head First Servlets and JSP is a must read for SCWCD. I am also preparing for the same. All the best for your preparation
Hai all,

I am preparing for SCWCD 5.0 and I could not understand the following code.

<%
java.util.Map map = new java.util.HashMap();
map.put("a","true");
map.put("b", "false");
map.put("c", "42");
%>

<h3>${not map.c}</h3>

If thought (not 42) will result in false. But the above code displays output as true. Please clarify me on this.

Thanks.

Roshni