Win a copy of Rust Web Development this week in the Other Languages forum!

Reeti Saha

Ranch Hand
+ Follow
since Jun 26, 2001
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 Reeti Saha

Thanks for the reply.
I'm not very comfotable with JTree..
It would be of much help, if you can give me a sample code example containing the JTree and JPopupMenu, so that I can utilise that.
Regards
Reeti
19 years ago
I have a JTree, and want when user right-clicks on tree items, it will show a popup menu. But the items on the popup menu depend upon which tree item was right-clicked.
Can anyone pls. give me some sample code?
Regards
Reeti
19 years ago
Hi:
I need some information about Java Internationalization, it's pros and cons. What are the issues that need to be considered before making any internationalized software. What are it's advantages and disadvantages?
Pls. suggest me some site or reference material where I can look for sufficient information.
Thanks and Regards
Reeti
19 years ago
Hi:
I'm invoking diff. Input Method Editor s(IME) from my java program. while I'm invoking the Korean IME then in the JTextArea component I can't write in korean.
By defalut it is writing in english. Now there are two options called
English mode and Hangul mode,
while after the invocation on the korean IME programmatically, I switch to Hangul mode manually then only the Korean font is getting displayed.
This is the same way as it works on MS-Word also in Korean IME is invoked.
Now I want to activate the Hangul mode by default. can anyone pls. help me how to do it. It's very urgent.
I'm using windows2000 english verison and all the fonts are also invoked from the progam properly.
Pls. help.
Best Regards
Reeti
19 years ago
Hi All:
Can anyone pls. let me know the steps of creating a connection pool for MySql database from tomcat engine.
Urgent help is required.
Thanks and Regards
Reeti
19 years ago
Hi:
I want to show the spreadsheet(excel file) in the browser window and also want to save the changes that has been made(if any).
Early response will be highly appreciated.
Best Regards
Reeti
19 years ago
JSP
Hi:
I want to know how to open an excel file from JSP?
Can anyone send me a sample program.
Regards
Reeti
19 years ago
JSP
Hi:
Thanks for the help. Now it seems the connection pool is working but i've got some other problem. While I created the connection pool I also created a datasource and gave the JNDI name "JDBCOracle". This JNDI name I've used in the "weblogic-ejb-jar.xml" resource description section. While I'm trying to get the connection from the pool in my EJB then I've written:
icon = new InitialContext();
dSource = (javax.sql.DataSource) icon.lookup("java:comp/env/jdbc/JDBCOracle");
dSource.getConnection();
This is giving me exception:
javax.naming.NameNotFoundException: Unable to resolve comp/env/jdbc/JDBCOracle/ Resolved: 'comp/env/jdbc' Unresolved:'JDBCOracle' ; remaining
name ''
Can anyone help me?
Regards
Reeti
19 years ago
Hi:
Thanks a lot. I forgot to set the target name, now when I've set it then while starting the server it is giving lots of error. Some TNS resolution problem. Can u pls. give me an example of Driver Class name and other properties of the connection pool.
Thanks and Regards
Reeti
19 years ago
Hi:
I'm trying to create connection pool to a oracle database using thin driver. After creating it when I start my server it doesn't give me any error. While I'm trying to check the pool using
java weblogic.Admin -url localhost:7001 -user
name system -password system123 EXISTS_POOL OraclePool
then it is saying OraclePool doesn't exist.
Can anyone will let me know how to create the Connection pool with an example.
Thanks and Regards
Reeti
19 years ago
Hi:
I've written a container managed entity bean for Weblogic6.0 and deployed it successfuly. Now while I'm trying to access the bean from a client program then while it is trying to execute the line
home= ctx.lookup("ContactEJBBeanManaged");
then it's giving error:

Exception in thread "main" java.lang.NoSuchMethodError: java.lang.NoSuchMethodException at ContactBeanHomeImpl_WLStub.ensureInitialized(ContactBeanHomeImpl_WLStub.java:66) at ContactBeanHomeImpl_WLStub.<init>(ContactBeanHomeImpl_WLStub.java:82)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:94)at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:114)at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:47)at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.j
ava:136)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:251)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:225)
at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNod
e_WLStub.java:121)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at Client.lookupHome(Client.java:115)
----------------------------------------------
I've checked the JNDI name it's exactly same.. while I'm giving some other JNDI name in the client program then it's giving some other error.
Pls. give me some clue as what might be the possible reason.
Best Regards
Reeti
19 years ago
Hi:
I've a written a Stateless session bean and deployed in Weblogic 6.0. Can anyone will help me with a sample servlet and jsp to call an EJB.
I'm very new to this.
Pls. help.
Thanks in advance.
Reeti
Hi:
I'm trying to work on Tomcat engine on Apache web server on linux platform. After starting the server when I'm trying to view .jsp file it is working perfectly but I'm not able to see the sevlets which is in the servlet directory.
Can anyone of u give a solution to this problem promptly.
Best Regards
Reeti
19 years ago

Originally posted by Pranit Saha:
can u pls check with
<%@ include file="xyz.jsp" %>
Pranit..



If I use include file then it will give error for multiple occurrences of contentType.
Reeti
20 years ago
JSP

Originally posted by Mark Elliott:
This is just a (hopefully educated) guess as I have no means of testing. I presume that your plugin is being started due to the mime type of your original page. When you include this in your second page your browser will see the mime type of the wrapping page "text/html" and will attempt to render the whole page itself, and not bother sending it to the plugin.
[ January 16, 2002: Message edited by: Mark Elliott ]



Hi:
Thanks for the reply but I think this is not the only problem. Actually what I found out is that when I try to load any svg embedded jsp which contains a System.out line at the begining , is getting displayed repetitively on the console. I think I need to solve this problem first. Could u pls. help me in this regard.
Regards
Reeti
20 years ago
JSP