sravani jetty

Ranch Hand
+ Follow
since Jun 06, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sravani jetty

Hi All,

I have a situation where we have multiple web applications running on mutilple tomcat versions but I have a request to move all the web applications on to a single Tomcat(version 6.5). Can somebody point me to the advantages and disadvantages of doing this?

Thanks
13 years ago
All,

I have a mailto hyperlink on my page and Outlook is my default mail client. When I click on this link it opens a new outlook window. I am wondering does mailto hyperlink opens only outlook or does it open any default mail client.

Thanks
Hi Eric,

Thank you for your reply. I tried getting the X and Y positions together as well. Problem I am having is the div aligns properly in all other browsers except in IE. In IE the div positions to the left. To get exactly below the textbox i have to do something like below


But with the above code it doesn't aligns properly in other browsers.

Thanks
Hi,

I am having issues in positioning the div in IE. Code I have works fine in all other browsers except in IE. I have a auto complete text box and an ajax call onKeyup event. The response is set in a div and the javascript for positioning this div doesn't work fine in IE. Any suggestions are very much appreciated.


I have this div in my page



Thanks
Hi Mazen,

Can you give an example of how you used the ArrayDescriptor and passed the array elements?

Thanks
Hi,

I am uploading a Tab delimited file and I am using below code to get the file



And I am using below code to read the file and parse data



String tokenizer length returns me one

The file I am uploading contains the below data

ABC DEF GHI 123 qwe

I have tab space between these columns.

When i break the string using String Tokenizer using "\t" it returns me the entire line without breaking it. I wrote a plain java class and tested this which works fine so I think is there any issue with FormFile in struts that just ignores tab spaces.

Any suggestions are much appreciated

Thanks
16 years ago
Yeah Thank you. I got it.
16 years ago
Hi,

I have a HashMap as defined below

public HashMap<Integer,HashMap><Integer,HashMap><Character,MyObject>>> map1 = new HashMap<Integer,HashMap><Integer,HashMap><Character,MyObject>>>()

I want to iterate through this Map and display the values in the MyObject. Can anyone suggest me how to do that?

Thanks
16 years ago
David,

Sorry, For some reason I was thinking that the value is not being returned because of struts error. after I made this post, I figured that the problem lies in the check_all function call without any parameters, in html check box struts tag.

Eventname is a property that is set in actionform.

Thanks for your quick response and if you have the moderator rights, please feel free to move this to the javascript forums
16 years ago
Here is my jsp page code that builds the jsp page.


It works perfectly and I can see all the corresponding records for a particular licenseename on the page.

Then I wrote a html check box tag to check all the records that correspond to the particular licensee name as below.



I wrote a javscript function that checks all the checkboxes for the records returned by the above tag and I get an undefined alert. I believe the event variable I am defining in my JS function is not getting any thing.


16 years ago
Folks,

I am new to SOA. I need to use Netbeans IDE with GlassFish and publish web services to a registry such as JUDDI for dynamic discovery. Googling the web, I found out the following

(1) There is no separate registry for Glassfish such as JUDDI for JBOSS. GlassFish comes pre packed with a registry. Can some one point me in the correct direction of how to use the registry on GlassFish? Any info on how to use the registry on GlassFish would be highly appreciated

(2) Will that native registry on GlassFish work with Netbeans IDE?

(3) If Yes, Do I need to make any configurations/settings on the Netbeans IDE so that I can successfully publish web service to registry?

(4) Is there any documentation on how to consume the web services that have been published in the registry using Netbeans/GlassFish?

Any pointers would be helpful.
Thanks
16 years ago
Hi Jaikiran,
I did that but still it is not working.

Thanks
Sravani
Hi,
I am using Netbeans IDE with JBoss as application server and MySql as Database. I am working on it more than a week and can not able to solve it.
I Placed the mysql-connector-java-5.0.8-bin.jar file in the lib folder and configured the mysql-ds.xml file and placed it in the server\default\deploy
directory. And mysql-ds.xml is as follows


Name of my project is sample and in sample-war file I wrote a JSP to call the EJB methods. And this is as follows

I wrote a remote Stateless session bean and an entity bean.
And my persistence.xml file looks as follows
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="titan" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>jdbc/mysql</jta-data-source>
<properties>
<property name="hibernate.hbm2ddl.auto" value="update"/>
</properties>
</persistence-unit>
</persistence>

When I run the application i got an exception like sample not bound.
When JBoss is started I can see an error in the console. It is
ObjectName: persistence.units:ear=sample2.ear,jar=sample2-ejb.jar,unitName=titan
State: FAILED
Reason: javax.naming.NameNotFoundException: jdbc not bound
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=jdbc/mysql
Depends On Me:
jboss.j2ee:ear=sample2.ear,jar=sample2-ejb.jar,name=TravelAgentBean,service=EJB3


Thanks
Sravani
Thanks to all.
Hi Kumar,
Thank you.Enthuware and Whizlabs mock exams are not for free.Both are good. Whizlabs is very good.

Hi sekar,
Thank you. Here are my section wise scores
Declarations,Initialization and Scoping 100%
Flow Control 100%
API Contents 90%
Concurrency 90%
OO Concepts 100%
Collections/Generics 100%
Fundamentals 100%

Sravani
17 years ago