suneel kota

Greenhorn
+ Follow
since Jun 06, 2006
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 suneel kota

Hi All,

I am facing some critical situation when Updating Multiple form beans at a time from jsp page.

My requirement is i need to display all the records from employee table in textboxes in a jsp page, here user can change single or multiple record values at a time and if he hits modify button, all the records must update in the DataBase.

Can anyone tell me the Solution for this.

Thanks in Advance..
Regards
SuneelKota
14 years ago
Hi all,

I am using java.net.URL in my program, i am calling a web service with this URL.. But i need to get the Socket time out if service is not available. How can it be done..

My requirement is when ever service is not available for 10 seconds i need to call an error page.

please suggest me..

Regards
SuneelKota
Hi Eric,

Thing is that when ever user enters username and password in login page. i need to call a service through ajax request and response should go to employee.jsp page.. Here we are using complete ajax request to call a servlet/service..


Regards
SuneelKota
Hi all,

I am using ajax in my application, thing is that when i need to pass ajax response to another jsp page.

Description:
I am calling a servlet with an ajax request from login.jsp, which is returning a data in xml file. but i need to show this data in another jsp called employee.jsp page.

how can i proceed to get above requirement in ajax..

Thanks in advance..

Regards
SuneelKota
Hi all,

I am working on jsf, i am using apache-myfaces jar files in my application. But when i am using jsf tags in .jsf files, those tags are not recognising. Here instead of .jsp i am using .jsf files..

But those tags are working fine when i am using .jsp files..

Please help me out..

Regards
SuneelKota
14 years ago
JSF
Hi John,

Thanks for your immediate reply..

Is there any functionality or tag library to satisfy this requirement..

I need to display these lables in a jsp page dynamically..

If suppose username and password are there, instead of using properties file or hard coding like Username and password in jsp page..

Regards
SuneelKota
14 years ago
JSP
Hi all,

How to display dynamic lables from the databse in a Jsp page.

Please help me out..

Thanks in adavance
SuneelKota
14 years ago
JSP
Hi All,


How to call a javascript function in a html page which is in another .js file.

Regards
SuneelKota
Dear All,

Please help me in integrating spring ide with eclipse Ide..

I am fallowing the site called with this link

http://technology.amis.nl/blog/?p=1149

I could not able to install the spring IDE, Its giving some network path error.. But it is opening in the browser..

Or anybody can help me out how to integrate Spring IDE With Eclipse IDE...

please help me...

Regards
SuneelKota
Hi vivien siu,

The query you should write is

return getHibernateTemplate().find("from Contract_Product as con where con.PROD_ID IN (?)", prodid);

you can write for three coloumns like this

return getHibernateTemplate().find("from Contract_Product as con where con.column1,con.column2,con.column3 IN (?,?,?)", prodid,var1,var2);


You should take a variable of your table type and by using that variable you should declare your coloumns like i mentioned in the query.

Regards
SuneelKota
Dear All,

I am getting java.lang.NoSuchMethodError this error when i am doing validations in spring integrating with Hibernate.

My error is,

java.lang.NoSuchMethodError: org.springframework.aop.framework.adapter.GlobalAdvisorAdapterRegistry.getInstance()Lorg/springframework/aop/framework/adapter/AdvisorAdapterRegistry;
org.springframework.transaction.interceptor.TransactionProxyFactoryBean.<init>(TransactionProxyFactoryBean.java:129)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:46)
org.springframework.beans.BeanWrapperImpl.<init>(BeanWrapperImpl.java:163)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:172)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:172)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:265)
org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:125)
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:154)
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:95)
org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:80)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.startup.Catalina.start(Catalina.java:551)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

Please help it's very urget..


Thanks in Advance..

Best Regards
SuneelKota
Hi satou,

I did not put two versions of spring in my lib folder, please inform me if you come across this problem or tell me the way to access getHibernateTemplate method.

Thanks & Regards
SuneelKota
Hi all,

I am running an application spring with hibernate. i am getting problem when i am using getHibernateTemplate.find("From Login");

the error in my console is

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception


root cause

java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(Lorg/springframework/core/io/Resource I
org.springframework.jdbc.support.SQLErrorCodesFactory.<init>(SQLErrorCodesFactory.java:104)
org.springframework.jdbc.support.SQLErrorCodesFactory.<clinit>(SQLErrorCodesFactory.java:66)
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDataSource(SQLErrorCodeSQLExceptionTranslator.java:126)
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init>(SQLErrorCodeSQLExceptionTranslator.java:92)
org.springframework.orm.hibernate.SessionFactoryUtils.newJdbcExceptionTranslator(SessionFactoryUtils.java:134)
org.springframework.orm.hibernate.HibernateAccessor.getJdbcExceptionTranslator(HibernateAccessor.java:224)
org.springframework.orm.hibernate.HibernateTemplate.getSession(HibernateTemplate.java:410)
org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:354)
org.springframework.orm.hibernate.HibernateTemplate.delete(HibernateTemplate.java:636)
org.springframework.orm.hibernate.HibernateTemplate.delete(HibernateTemplate.java:632)
com.i3l.login.dao.LoginDaoImpl.delete(LoginDaoImpl.java:121)
com.i3l.login.service.LoginServiceimpl.deleteRecord(LoginServiceimpl.java:84)
com.i3l.login.mvc.LoginController.handle(LoginController.java:29)
org.springframework.web.servlet.mvc.AbstractCommandController.handleRequestInternal(AbstractCommandController.java:79)
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:119)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:389)
org.springframework.web.servlet.FrameworkServlet.serviceWrapper(FrameworkServlet.java:339)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:315)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.



Please help me to solve this issue..

Thanx in advance

Regards
SuneelKota
Hi satou,

Thanx for ur reply. i have been solved that problem by placing new updation of spring.jar file..

Thanx for your help..

Regards
SuneelKota
Dear Satou,

I put spring.jar file in my project properties. i am using ecilipse 3.1 IDE. Is it complosary to have spring-core.jar in properties file..

Thanx for ur reply..

Regards
SuneelKota