eswar kumar

Ranch Hand
+ Follow
since Oct 20, 2002
Merit badge: grant badges
For More
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 eswar kumar

Please consider my question....
14 years ago
Actually tomcat (Servlet container) is running in one system and EJBs are running in another system which are physically separate systems
Here is the Ans for 1

Minimum iterations are 2.
First separate 10 marbles into two groups (5+5)
1. Weigh both, you ll find one group(5 marbles) is heavier than other(5 marbles), take the heavier( so here you filtered 5 marbles from out of 10) Now you have 5 marbles.
Again separate 5 into 2+2+1
2. Again weigh by taking 2+2 marbles in pans. If both sides same weight the other one which is not weighed is the heavy one.
3. If the heavier marble is in either of 2+2, weigh 2+2 marbles and take out the lighter two and the marble which is not weighed (so now you filtered 5+2+1(not weighed marble))marbles, so now you have two marbles. Again separate two marbles and weigh, now you can find which is heavier.
So minimum 2 iterations required.

Thanks & Regards,
Eswar
14 years ago
Hi
Im new to weblogic 8.1 server.can anybody tell me .who creats the
DefaultWebApp directory under Applications/mydomain/? is it created by server when we configuring the domain or we have to create it manually? i want to run a simple jsp page with weblogic where i have to put my jsp page and web.xml files do i need to maintain strecture for simple jsp also? plzz reply me



ThanX and regards

Eswar
19 years ago
no no not like that if there is
StringTokenizer st = new StringTokenizer("Read,Line,,Here,,",",",false);
if there is ,, inbetween what it ll show
in .csv file if anybody forgot to enter a value in the cell while reading the cell what it ll be whether its ""," " or its value is "null"? i want it
19 years ago
in my application im trying to read data from .CSV file if there is no value in the cell ,what value it holds? whether ""," " or null?
StringTokenizer st = new StringTokenizer("Read,Line,Here",",",false);

while (st.hasMoreTokens()) {
while (st.hasMoreTokens()) {
String insertString=st.nextToken();
if(insertString.equals(""))
{insertString=null;
System.out.println("next token is null "+insertString);
}
its giving nothing... thanks in advance
19 years ago
hi thanQ ,, my file is in writable mode ..but its still opening in read only mode
19 years ago
In my application im trying to open and edit a .csv file when i press a hyperlink,but its opening in read only mode not writable mode .how can i give write permission to my .csv file? for that i used FilePermission class then also its opening in read only mode .any reply appreciate thanks in advance
19 years ago
Hi all can any one of you help me .how can i create an alias name for my jsp page
Ex: instead of calling like http://localhost:7001/com/sub_dir1/sub_dir2/sub_dir3/index.jsp
can i call
http://localhost ort/index.jsp
im using weblogic workshop...
19 years ago
how can i create a alias name for my JSP file
insted of calling like http://localhost:7001/dir/subdir1/subdir2/hi.jsp,
i want to call like http://localhost:7001/hi.jsp
19 years ago
JSP
Hi all can any one of you help me .how can i create an alias for my package
Ex: instead of calling like http://localhost:7001/com/sub_dir1/sub_dir2/sub_dir3/index.jsp can i call
http://localhost ort/index.jsp
??
19 years ago
Hi all can any one of you help me .how can i create an alias for my package
Ex: instead of calling like http://localhost:7001/com/sub_dir1/sub_dir2/sub_dir3/index.jsp can i call
http://localhost ort/index.jsp
??
Hi all can any one of you help me .how can i create an alias for my package
Ex: instead of calling like http://localhost:7001/com/sub_dir1/sub_dir2/sub_dir3/index.jsp can i call
http://localhost ort/index.jsp
??
19 years ago
Hi iam new to LDAP, if i enter the wrong passward then also connecting to the server.to avoid that what i havt to do .can i use DC's instead of BaseDN in the URL .can any one of you help me to solve this problem .Advence thanKs
import javax.naming.directory.*;
import javax.naming.*;
import java.util.*;
public class auth {
public static void main(String[] args)
{
String url= "ldap://165.164.60.222:389/DC=mycompany,DC=com";
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, url);
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, "username");
env.put(Context.SECURITY_CREDENTIALS, "passward");
try {
DirContext ctx = new InitialDirContext(env);
}
catch(AuthenticationException aex) {
System.out.println("AuthenticationException"+aex);
}
catch (NamingException e) {
System.out.println("Naming Exception: " + e );
}

}
}
19 years ago
can any one of you tell me where can i get material for weblogic 8.1 workshop ?
thanks in advance...
19 years ago