Servlet action is currently unavailable
1 posts in topic
Flat View  Flat View

Posted By:   sirisha_m
Posted On:   Monday, May 10, 2004 10:26 PM

im using struts studio by exadel.without database connectivity it is working fine.if i connect mysql then it is giving servlet action is corrently unavailable.i have created the action servlet.but still it is giving error.
can anybody tell me how to connect to mysql using struts studio?
i have placed mysql-jdbc connector file in the common/lib directory...and i have given DriverClass as org.git.mm.mysql.Driver and url as jdbc:mysql:/localhost/hellodb in the data-sources of struts-config.xml...
can anybody help me plz....

Re: Servlet action is currently unavailable

Posted By:   rahul_deshmukh  
Posted On:   Tuesday, May 11, 2004 02:03 AM

Format of Database url you are specifying is wrong, Use double slash before specifying port in this case "localhost"

Try this URL : jdbc:mysql://localhost/hellodb

I hope this will solve your problem

About | Sitemap | Contact