Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~11.2K People Reached
Favorite Tags

10 Posted Topics

Member Avatar for mamatachaudhari

Hi, I have added a keypress event as [CODE] jQuery('#body').keypress(function(){currentTime= new Date().getTime(); });[/CODE] but when I open a pop up window which have a iframe contains a rich text area not capturing this event. Any ways to handle parent event in child element? Any suggestion?

0
93
Member Avatar for vigneshd90

hey you can use like this.. [CODE] Properties props=new Properties(); FileInputStream fis = new FileInputStream (application.getRealPath("/WEB-INF/classes/filename.properties")); props.load(fis); String componentList = props.getProperty("somekey"); FileOutputStream fos = new FileOutputStream (application.getRealPath("/WEB-INF/classes/filename.properties")); props.setProperty(componentList,"somevalue"); props.store(fos,null); fis.close(); fos.close(); [/CODE] might be useful to u....

Member Avatar for vigneshd90
0
774
Member Avatar for RaniaH

Hi, Is your application uses only JSP? Otherwise u can use Ajax for this issue. You can pass value to ajax request to populate another select box. call a function on onchange event of first select box in that u can get [CODE]var selectedvalue=document.getElementByName("evnt_cat").options[document.getElementByName("evnt_cat").options.selectedIndex].value;[/CODE] then pass it to AJAX request.

Member Avatar for RaniaH
-1
321
Member Avatar for rp_prasanna

You can declare id variable as global in init() method as call it onload of body tag [CODE]function init() { id =0; }[/CODE] then append id to text box id property which u dynamically created. Declare a combo Box of name fileNames. as [CODE] <html:select property="fileNames" multiple="true"> <html:option value="">-Select-</html> </html:select> …

Member Avatar for mamatachaudhari
0
111
Member Avatar for mamatachaudhari

hii.. I want to use a scriplet variable in javascript. i used <%! int i;> <% i=0; %> <input type="text" id="itemValue" onchange=changeValue('<%i%>')> it works fine if i give alert(i) in changeValue function. Otherwise it gives error i is undefined. Plz help me. I don't want to bother user by increasing …

Member Avatar for mamatachaudhari
0
4K
Member Avatar for sanjayrawat177

[QUOTE=sanjayrawat177;872616]HEy Peter can you pls provide me the CODE ,i tried through itext but didnt get along.. so pls help buddy ...provide me the code to trnsfer JSP output in PDF[/QUOTE] You can use PDFPtable for table formatting

Member Avatar for sanjayrawat177
0
2K
Member Avatar for mamatachaudhari

SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.mail.pop3.POP3Message I am not getting why this exception has occurred.It throws the exception when i starts tomcat server. I have used recieve() method in LoginAction which is used to recieved mails using POP3 protocol. I am using JAVAMAIL 1.4

Member Avatar for kvprajapati
0
154
Member Avatar for mamatachaudhari

Hello' I m using struts 2.0 . I want a comboBox(<s:select>) on Jsp. bean i want to populate in combobox is nested. I only know list property of <s:select> but my list is nested. How can i populate combobox with nested arraylist.

Member Avatar for mamatachaudhari
0
95
Member Avatar for mamatachaudhari

hi.. I am using struts 2.. I want tabs on my jsp and my code is.. On first Jsp i used to create tabs which works fine for me. [code=JSP]<s:tabbedPanel id="test" labelposition="middle" > <s:iterator value="teamlist"> <s:url id="resultsUrl" action="navigateChangeTeamAction.action" > <s:param name="teamCode" value="teamCode" /> <s:param name="teamName" value="teamName"></s:param> </s:url> <s:div label="Team2" theme="ajax" …

Member Avatar for mamatachaudhari
0
2K
Member Avatar for gunman

r u using struts 1.2??? In struts 1.2 it will like this [code]<logic:iterate name="arrayListName" id="someId"> <logic:iterate name="arrayListName" property="nestedArrayListNme" id="someId"> <bean:write name="someId" property="name"> </logic:iterate> </logic:iterate> [/code] here name might be your javabean property

Member Avatar for gunman
0
2K

The End.