Thirumurugan Sivaji

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

Recent posts by Thirumurugan Sivaji

Hi,
I have created a web application using struts1.2. When I run the application using Firefox it works fine. But when I run it using IE6 the browser will be blank it is not displaying any content and even any error message. Anybody have solution please share with me.
15 years ago
Hi,

I want to read all the tables from a schema, and read all columns for the particular table, based on the column datatype and its length i need to insert the values .

Ex:
wil return all the tables, from the result i need to loop the resutset









procedure for INSERTRECORDS:
------------------------------------






Problem:

From the 1st procedure im getting each table and pass the value to second procedure. From the second procedure with in the cursor i need to get all the columns
in a single step, so that i can insert values into table ..




15 years ago
Hi,
I have a search condition with multiple searches based on input. If I give employee number records to be fetched by emloyee number only and if I give employee no, designation and name starts with some string(like s,sar etc.,). How to write a single query in sql.properties file of IBM WACs framework to do multiple searches. Like I can use :_WHERE_AND(condition1,condition2,condition3 etc). How to write like condition1 and condition2 or name like 'sa%' of '%s%',

Thanks in advance
15 years ago
Hi,
Thanks for your input but it is not the one I wanted. I can get the list of processes and process IDs through Runtime.exec("tasklist"); command. My question is if there are more than one processes with same name(for eg if you open 2 command prompt the task manager will display 2 cmd.exe) how do I identify which process(like cmd.exe) will points to which task(like command prompt).

Thanks in advance
15 years ago
Hi,
I have to do coding for the following scenario,

Suppose when 4 jar files are executed then 4 java.exe will present in task manager. How could I find that which java.exe is executing which jar file.

If anybody have an idea or code please let me know.

Thanks in advance
15 years ago
Hi,
I have validated url that starts with http:// using



but, How to validate url that starts with https://, when I give https:// format exception occurs that certificate is required. How to do that?.

Thanks in advance
15 years ago
Hi,
I have to do process monitoring in java. I have done process monitoring using thread for unique processes (eg. cmd.exe,alg.exe,smss.exe etc.). How to monitor multiple processes with same name for eg I have opened 4 command prompts in different times(say interval of 15sec,20sec,30sec etc) so that 4 cmd.exe will be runnung. how can I monitor those 4 processes and displays it.


Thanks in advance
15 years ago
Hi,
I have two text fields in my JSP called ipAddress and processName. When I click the submit button I have to find and get the status of the Process and memory usage in bytes and also in percentage for that particular process name.Can anyone give me the Java code for performing the above task that support all Operating System.

15 years ago
Hi,
I tried with "focusElement" attribute in form tag but it is not working. In JSP itself says warning that it is a invalid attribute. Do you know any other methods to focus the field.
15 years ago
Hi
I want to set a focus to input field at the time of form load in struts2 as like <html:form action="doLogin" focus="loginId"> in struts1.x. Please give me a solution for the above scenario.

Thanks in advance,
Thirumurugan Sivaji
15 years ago
Hi,

Anybody can give me the code for the following scenario,

I am reading the list of employee details(empId,empname and designation) from database as an arraylist. I want to write those arraylist data into a file and download the same file as a stream.

Thanks & Regards
Thirumurugan Sivaji
15 years ago
Hi,
How to set locale in index.jsp itself in struts like session.setAttribute("org.apache.struts.action.LOCALE",new Locale("ja")); in struts1. If anyone known please reply me ASAP.

Thanks in advance
Thirumurugan Sivaji
15 years ago
Hi,

It's working fine with UNION.


The above procedure is working fine and printing the values.
How to store the value of emp_cursor(CURSOR) into emp_cur(REFCURSOR which is an OUT parameter) or how to return emp_cursor?.
16 years ago
Hi,

I tried with UNION but the Procedure did not compile and it gives the following error

Error(10,6): Encountered the symbol "UNION" when expecting one of the following: begin function package procedure subtype type use <an identifier> <a double-quoted delimited-identifier> form current cursor
16 years ago
Hi,

Place as many classes as you want inside the hibernate mapping file as follows,
<hibernate-mapping>
<class name="event.Employee" table="employee">
<id name="id" >
<generator class="increment"></generator>
</id>
<property name="empId" column="EMP_ID"/>
<property name="empName" column="EMP_NAME"/>
<property name="empPwd" column="EMP_PASSWORD"/>
</class>
<class name="event.Employee" table="dept">
<id name="id" >
<generator class="increment"></generator>
</id>
<property name="empId" column="EMP_ID"/>
</class>
</hibernate-mapping>