Babu kalagara

Greenhorn
+ Follow
since Jul 28, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Babu kalagara

Hi , I am having problem with bold style

I have a accouting_float number in the cell type format.


When I am making bold, it is over writing the accounting float number and making it bold only

accountBold = new WritableCellFormat(NumberFormats.ACCOUNTING_FLOAT);

wrapBold = new WritableCellFormat(black);

HOw can I make accouting_float Bold in excel cell

any help is appreciated
9 years ago
HI,

I have a text box in HTML. When Some one enters a special chracter like &, I should read the entire text in java script .

categoryName=document.getElementById('categoryName').value;
alert(categoryName)
if (categoryName.length == 0) {
alert("please enter a projectName")
return false;
}


The code above is omitting any thing entered after special character like & ,including special character. Please let me know, how do I read the entire text including special character

Please help me ASAP


Thanks
Babu
I am trying to run quartz schduler

Here is web.xml

<servlet>
<servlet-name>QuartzInitializer</servlet-name>
<display-name>Quartz Initializer Servlet</display-name>
<servlet-class>
org.quartz.ee.servlet.QuartzInitializerServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
<init-param>
<param-name>config-file</param-name>
<param-value>quartz.properties</param-value>
</init-param>
<init-param>
<param-name>shutdown-on-unload</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>start-scheduler-on-load</param-name>
<param-value>true</param-value>
</init-param>
</servlet>



WhenI build and deploy it, I am seeing the following error

java.lang.NoSuchMethodError: org.quartz.CronTrigger.hasAdditionalProperties()Z
at org.quartz.impl.jdbcjobstore.oracle.OracleDelegate.updateTrigger(OracleDelegate.java:457)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeTrigger(JobStoreSupport.java:1168)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doUpdateOfMisfiredTrigger(JobStoreSupport.java:950)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverMisfiredJobs(JobStoreSupport.java:898)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverJobs(JobStoreSupport.java:780)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$2.execute(JobStoreSupport.java:752)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$40.execute(JobStoreSupport.java:3628)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3662)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3624)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverJobs(JobStoreSupport.java:748)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:573)
at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:449)
at org.quartz.impl.StdScheduler.start(StdScheduler.java:146)
at org.quartz.ee.servlet.QuartzInitializerServlet.init(QuartzInitializerServlet.java:165)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2990)
at org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:906)
at org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:473)
at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)



Can some one help please?

Thanks
10 years ago
I am using Net beans and Jboss to implement Mutual certificate security. When I used Glassfish with MCS, Net beans generating WSDL as it should. But when I changed the server to Jboss and select MCS(Mutual certificate security) , I am not able to generate WSDL with MCS rather Net beans giving me normal WSDL without implementing MCS

Thanks
Babu
12 years ago

Babu kalagara wrote:HI,
I am trying to add forms to SPring framework.Here is my code. Please let me know, what is wrong

Spring-Servlet.xml



<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

<context:component-scan base-package="net.viralpatel.spring3.controller" />

<bean id="viewResolver"
class="org.springframework.web.servlet.view.UrlBasedViewResolver">
<property name="viewClass"
value="org.springframework.web.servlet.view.JstlView" />
<property name="prefix" value="/WEB-INF/jsp/" />
<property name="suffix" value=".jsp" />
</bean>
</beans>


web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>Spring3MVC</display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>spring</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>spring</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
</web-app>


index.jsp

<jsp:forward page="contacts.html"></jsp:forward>


JAva class

package net.viralpatel.spring3.controller;
import net.viralpatel.spring3.form.*;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.SessionAttributes;
import org.springframework.web.servlet.ModelAndView;

@Controller
@SessionAttributes
public class ContactController {
@RequestMapping(value = "/addContact", method = RequestMethod.POST)
public String addContact(@ModelAttribute("contact") Contact contact, BindingResult result) {
System.out.println("First Name:" + contact.getFirstname()
+ "Last Name:" + contact.getLastname());
return "redirect:contacts.html";
}

@RequestMapping("/contacts")
public ModelAndView showContacts() {
return new ModelAndView("contact", "command", new Contact());
}
}

I am gettign the error

org.springframework.web.servlet.DispatcherServlet noHandlerFound
WARNING: No mapping found for HTTP request with URI [/Spring3MVC/contacts.html] in DispatcherServlet with name 'spring'

12 years ago
HI,
I am trying to add forms to SPring framework.Here is my code. Please let me know, what is wrong

Spring-Servlet.xml



<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

<context:component-scan base-package="net.viralpatel.spring3.controller" />

<bean id="viewResolver"
class="org.springframework.web.servlet.view.UrlBasedViewResolver">
<property name="viewClass"
value="org.springframework.web.servlet.view.JstlView" />
<property name="prefix" value="/WEB-INF/jsp/" />
<property name="suffix" value=".jsp" />
</bean>
</beans>


web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>Spring3MVC</display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>spring</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>spring</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
</web-app>


index.jsp

<jsp:forward page="contacts.html"></jsp:forward>


JAva class

package net.viralpatel.spring3.controller;
import net.viralpatel.spring3.form.*;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.SessionAttributes;
import org.springframework.web.servlet.ModelAndView;

@Controller
@SessionAttributes
public class ContactController {
@RequestMapping(value = "/addContact", method = RequestMethod.POST)
public String addContact(@ModelAttribute("contact") Contact contact, BindingResult result) {
System.out.println("First Name:" + contact.getFirstname()
+ "Last Name:" + contact.getLastname());
return "redirect:contacts.html";
}

@RequestMapping("/contacts")
public ModelAndView showContacts() {
return new ModelAndView("contact", "command", new Contact());
}
}

I am gettign the error

org.springframework.web.servlet.DispatcherServlet noHandlerFound
WARNING: No mapping found for HTTP request with URI [/Spring3MVC/contacts.html] in DispatcherServlet with name 'spring'
12 years ago
I integrated Serena dimensions into RAD7.BUt each time, I load Serena dimensions, I am getting the following error

"failed to load SCC provider"

Any suggestions, please help

Thanks
Babu
13 years ago
JSF
here is the sample code. i am having problem with EJBC task. EJBC task is posted here. I am using weblogic 10.2

<target name="jar_ejb" depends="compile , createtempdir">
<!-- copy Bean, common, framework classes i.e except web classes . -->
<copy todir="${jar.dir}">
<fileset dir="${build.dir}"> </fileset>
</copy>

<delete dir="${jar.dir}/com/alpha/web"/>

<!-- copy Enterprise Beans deployment descriptors. -->
<copy todir="${jar.dir}/META-INF">
<fileset dir="src/java"> <!--see where xml deployment descriptors are kept -->
<include name="*.xml"/>
<exclude name="build.xml"/>
</fileset>
</copy>

<jar jarfile="${ear.dir}/std_ejb.jar" basedir="${jar.dir}" >
</jar>
</target>

<target name="web_war" depends="compile , createtempdir">

<!-- copy Bean, common, framework classes i.e except web classes . -->
<copy todir="${war.dir}">
<fileset dir="src/webApp"> </fileset>
</copy>

<copy todir="${war.dir}/WEB-INF/classes">
<fileset dir="${build.dir}"> </fileset>
</copy>
<!-- copy necessary third party jars into /WEB-INF/lib folder-->
<copy todir="${war.dir}/WEB-INF/lib">
<fileset dir="${thirdpartyjars.dir}"> <!--see where xml deployment descriptors are kept -->
<include name="*.jar"/>
<exclude name="*weblogic*.jar"/>
</fileset>
</copy>
<delete dir="${war.dir}/WEB-INF/classes/com/alpha/app"/>

<jar jarfile="${ear.dir}/alphaweb.war" basedir="${war.dir}">
</jar>

</target>

<!-- Run ejbc to create the deployable jar file -->

<target name="ejbc" depends="jar_ejb">
<!--
<java classname="weblogic.ejbc" fork="yes" failonerror="true" >
-->
<java classname="weblogic.appc">

<sysproperty key="weblogic.home" value="${WL_HOME}"/>

<arg line="-compiler javac ${ear.dir}/std_ejb.jar ${ear.dir}/alphaejb.jar"/>

<classpath refid="alpha.classpath"/>
</java>

</target>
Hi,
any body using Weblogic 10.2. I am having problem with appc task in ant script?can any body give me the ant script for weblogic.appc?

Thanks in advance,
Babu
HI all,

I have a drop down after seleting a value and submitting it is throwing up some error

" Validation Error: Value is not valid."

Please help me

Thank you,
Babu


[ August 27, 2006: Message edited by: Babu kalagara ]
18 years ago
JSF
18 years ago
JSF
I have two odc:bfPanel under a tabbed panel .Two odc:bfpanels contains data.
How can I submit the data for the panels from second bfpane
18 years ago
JSF
Hi All,

I have a login page with text box and command buttton. After clicking the button it is not navigating to the page which I wanted.I would appreciate if you have any answers fore this problem









Thank you,
Babu
18 years ago
JSF