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

jaya lakshmi

Greenhorn
+ Follow
since Mar 04, 2005
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 jaya lakshmi

Hi,

Please help for creating a web service using myeclipse which should work along with Tomcat 5.5.
This service should be like a server push. I want to send a mail alerts to people whose payment are due based on the due date. ie it should work automatically without the client request.

Thanks in advance
Jaya.
14 years ago
Hi all,

How can i set SQLServer dialect in my Hibernate properties. Currently i can't set it using Netbeans and eclipse with HiberClips. SQlServerDialect is not showing in the combobox.


Pls help me.
Thanks in advance
Hi all,

How can i set SQLServer dialect in my Hibernate properties. Currently i can't set it using Netbeans and eclipse with HiberClips.


Pls help me.
Thanks in advance
Thanks for your replies it works with hibernate.properties.

It is working perfectly for MySQL. But for SQLServer it is throwing ClassNotfoundException com.microsoft.jdbc.sqlserver.SQLServerDriver
I ve included mssqlserver.jar in lib folder of classpath.

What do i do...
Hi,

Am using Netbeans 5.5 with hibernate 3.05 plugin. with HibernateToolSuite.
I ve included all jar files mentioned in the site. In the Session Factory configuration i ve given
MySQLDialect and DatabaseDriver as org.gjt.mm.mysql.Driver.
When i select open/reload command it throws an exception
org.hibernate.HibernateException: JDBC Driver class not found: org.gjt.mm.mysql.Driver
at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:66)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1881)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1174)
at net.java.dev.hts.SessionFactoryDescriptor.openSession(SessionFactoryDescriptor.java:471)
at net.java.dev.hts.SessionFactoryDescriptor.access$000(SessionFactoryDescriptor.java:54)
at net.java.dev.hts.SessionFactoryDescriptor$1.run(SessionFactoryDescriptor.java:413)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Caused by: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.netbeans.ProxyClassLoader.loadInOrder(ProxyClassLoader.java:582)
at org.netbeans.ProxyClassLoader.smartLoadClass(ProxyClassLoader.java:531)
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:163)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108)
at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:61)



Pls help me where i need to mention the driver classed for databases.
Hi ,

I am new to Java mail. I have tested a mail send program. It is working on smtp.sify.com and it is sending mail only when "To" address created in Sify mail server. I tried to use smtp.yahoo.com & smtp.gmail.com and not working. Please help me.

Thanks in advance

jayalakshmi





16 years ago
RequestDispatcher is an interface.
The servlet container creates the RequestDispatcher object, which is used as a wrapper around a server resource located at a particular path or given by a particular name.

It receives requests from the client and sends them to any resource (such as a servlet, HTML file, or JSP file) on the server.

It has two methods forward() and include().

eg from a servlet which do search string. You wabt to display the result in another Html or jsp file

write the code like

RequestDispatcher reqdispatcher = request.getRequestDispatcher(URL of the file);

reqdispatcher.forward(request.response);

In the same way you can use include() to include the values from another url to the current application.

Hope this will help you.

jaya
16 years ago
Hi Valentin,

My question is how do i create a webservice program using J2EE, which will allow to create a new domain like aaa.com etc. Also i need to search whether a combination of words exists as a domain name?.

Hope this will clear your doubts.

Jaya
Hi,

Pls any body tell me how to create a new Domain name using java.
What API i need to use. Is there any built in class available for checking the availablity of a new domain name?.

Please help me.

Jaya.
Hi I am using hibernate and Eclipse. Please anybody help me how do i get columns from multiple tables. What mapping do i need to write.

Pls help me

Jaya