Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp

umasankar puranam

Ranch Hand
+ Follow
since Sep 24, 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 umasankar puranam

Hi Rob Prime,

I need a solution not by running an unix command, I need it using java code? Could you, or anybody in the forum please provide sample java code for doing this?
8 years ago
Hi Dave Lorde,

Could you please give me sample non-recursive code in Java to delete all files, directories, and sub-directories in a drive?
8 years ago
I know that all files and directories and all subdirectories under a drive can be deleted programatically using recurssion. Is it possible to do the same non-recursively? If yes, please give the sample code or if not possible state the reason?

I faced this question in an interview and I said its not possible to delete non-recursively? Am I currect?
8 years ago
Please let me know if on-line pagination is possible in table component with JSF, or

WOODSTOCK.

e.g., If there are 20 records and 5 records is the page size, then initially first 5 records

needs to be fetching from DB, and only upon clicking next the next five i.e 6-10 records

should be retrieved from the database.

Thanks in advance
9 years ago
JSF
Please let me the links of the toughest sites that simulate the SCWCD 310-081 exam.
hi ranchers,

Can anybody tell me about the role of an Associate-Projects in [company A]. I am selected as Associate Projects and would like to know the responsibilities that vest on me. Also, how is the work envirement. Will the new join with designation [B]Associate-projects be provided with necessary KNOWLEDGE TRANSFER, or will he directly be placed in the project?[/B] How is the workpressure?

I am a bit afraid about some of my friends telling me that workpressure in [company A] is high. Please advise and let me know mainly Will the new join with designation Associate-projects be provided with necessary KNOWLEDGE TRANSFER, or will he directly be placed in the project?

[ UD: removed company name, because this kind of company-specific talk is not allowed in this forum according to the posting guidelines ]
[ September 17, 2007: Message edited by: Ulf Dittmer ]
11 years ago
hi,

I am trying to change the log level in log4j.xml file in WEB-INF folder in a servlet as shown below.



Now, at the last line I am getting the following error as follows:

java.io.FileNotFoundException: D:\jboss-4.0.3SP1\server\default\.\tmp\deploy\tmp42040knoahsoft-exp.war\log4j.xml
at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:82)
at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:91)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:146)
at com.knoah.actions.ServletForward.execute(ServletForward.java:58)

Now, please help me in modifying the log4j.xml file.

Thanks,
UmaSankar.P
hi,

I want to call a HttpServlet from struts application. Please provide me sample code for doing so.
11 years ago
hi Rahul Bhattacharjee,

Please provide the sample code snippets to change the log levels dynamically.

Thanks & Regards,
UmaSankar.
hi Rahul Bhattacharjee,

Do you mean we should not change the log levels dynamically or the approach that I am thinking is not currect. If my approach is not currect please suggest me a way to CHANGE THE LOG LEVELS DYNAMICALLY.

Thanks & Regards,
UmaSankar.P
hi ranchers,

I am having an xml file as shown below



I want to change the value of param tags attribute value to "WARN" with name="Threshold".

Please provide me the code to do this using dom, or sax, or jaxp apis.

Thanks & Regards,
UmaSa
hi ranchers,

I am new to portlet development and I want to know is it possible to customize LifeRay to build my own portal? If yes please let me know how by sending me some of the links which are helpful.

thanks
11 years ago
hi,

I am trying to develop an application using jdeveloper(10.1.3.2), spring and hibernate with ADF components all together.Please let me know how to use jdeveloper to build an application with all of these technologies (hibernate, spring, and ADF).

Also please let me know the links for doing so.

Thanks
hi ranchers,

How to configure JBOSS-4.0.3 SERVER CONSOLE in JDEVELOPER 10.1.3.2?

I know how to configure jboss server in eclipse and i am new to JDeveloper and facing problem while doing so in JDeveloper. Please help me

hi ranchers,

How to configure JBOSS-4.0.3 SERVER CONSOLE in JDEVELOPER 10.1.3.2?

I know how to configure jboss server in eclipse and i am new to JDeveloper and facing problem while doing so in JDeveloper. Please help me