Nandan Jain

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

Recent posts by Nandan Jain

Hi,
I am running a web application on my PC browser (deployed on tomcat) and I want to see how it works on Andriod device. To this I have created a Wireless Ad hoc (Computer to Computer) network on my PC running windows 7. But when I go to Settings in Google Nexus (also tried Samsung Galaxy) and search for wireless network, it says 'Not in Range'. I can see the network SID but it does not connect to it. However when I tried with iPad, it connected to my PC wifi and I am able to view application on Safari browser.

I am not sure what is wrong here. I tried googling but could not find meaningful resource. Please can someone help me?

Thanks
11 years ago
Hi All,
I am printing data in a PDF using Jasper and it is working fine. The only issue is size of the the report. Since I have dynamic number of rows and columns in my report so I am using Cross tab in Jasper. I know that total number of columns would always be 22 or less so I have chosen a big report size. But I think there is a way to set the report size on runtime. Since I know how many columns are there in my data set I can always set report size accordingly before generating PDF.
I am using Spring 3.1 and Jasper 4.6 in my project. In the controller I get reference of the below bean and it is set in the ModelAndView which is returned to client.





I want to understand how can I change the report size?

Thanks
Sorry. I mean my web app is hosted on server and runs on safari browser.
12 years ago
iOS
Hi,
I want to develop an application for my client which would run on ipad. Since i dont have mac and i dont know ios programming, i can develop app which runs on safari. I need to fetch data from data base because client want to author data. If i keep data base on server then there are performance issues (slow loading of images). Os there a way to keep data base locally on ipad and read it in web app running on safari?

Thanks
12 years ago
iOS
Now it works. Thanks for quick reply.
12 years ago
Hi,
I want to search a string at the beginning of the string using regular expression. I am using regular expression (\\w+) to search at the start of the string but my program fails if string has two words. It founds match if it has one word. Please help.

12 years ago
Hello,

I have a Point Of Sale (openbravo pos) application which I downloaded from openbravo.com. it is a opensource project. I want to do few enhancements to it but problem is that I am finding difficult to understand application architecture. Application is written in java swing and I understand java but I need some help to understand on how to extend its functionality.

Thanks
Hi All,

Is there any way to run two different windows environment at the same time on one CPU. Those two environments will have own monitor, keyboard and mice. In other words I want two persons to connect to one CPU but each one can work on their monitors and run applications controlling with their keyboards and mouse.

Thanks
13 years ago
It's been 1 year and 3 month since last Journal was published. When next publication will take place? I want to know what new is happendig in java world.

-Thanks
14 years ago
Yes I know they are technology independent but you know we did not do this analysis at the start of the project and now when it is getting delayed we have to show to customer because of bigger size of project it is talking time. And because most of the code is written in UNIX Script and PLSQL batches FPA becomes difficult for me. Thats why I wanted to know how do we size a project which would not have data entry screen but only batches?

I know it is meaningless drive but I did not get any other place to post this.

THanks
14 years ago
I am working on Estimation of a software project which has been developed and now being tested. I have been assigned to calculate the functional points of the PLSQL batches and OLTP screens. I have gone thru documents available and found that Data screen interacting with back end DB (OLTP) functional point calculation is very straight forward. All the documents have given it with the examples. But I have no where found how to calculate it for the scripts (unix scripts, java scripts) and PLSQL batches? Or a piece of code which can not have screen attached to it? Can anyone please let me know?

Thanks
Nandan
14 years ago
Hi,

My server is creating the Thread dumps. After analysing, I found the following logs. Can any thing tell me that why is it stuck? How can I resolve this problem?

Thanks In Advance.

Regards,
Developer.

at java/util/zip/ZipFile.getEntry(ZipFile.java:287(Compiled Code)) at weblogic/utils/classloaders/ZipClassFinder.getSource(ZipClassFinder.java:32(Compiled Code)) at weblogic/utils/classloaders/JarClassFinder.getSource(JarClassFinder.java:45(Compiled Code)) at weblogic/utils/classloaders/MultiClassFinder.getSource(MultiClassFinder.java:64(Compiled Code)) at weblogic/utils/classloaders/MultiClassFinder.getSource(MultiClassFinder.java:64(Compiled Code)) at weblogic/utils/classloaders/MultiClassFinder.getSource(MultiClassFinder.java:64(Compiled Code)) at weblogic/utils/classloaders/MultiClassFinder.getSource(MultiClassFinder.java:64(Compiled Code)) at weblogic/utils/classloaders/MultiClassFinder.getSource(MultiClassFinder.java:64(Compiled Code)) at weblogic/utils/classloaders/CodeGenClassFinder.getSource(CodeGenClassFinder.java:33(Compiled Code)) at weblogic/utils/classloaders/GenericClassLoader.findResource(GenericClassLoader.java:209(Compiled Code)) at java/lang/ClassLoader.getResource(ClassLoader.java:422(Compiled Code)) at weblogic/utils/classloaders/GenericClassLoader.getResource(GenericClassLoader.java:169(Compiled Code)) at weblogic/utils/classloaders/ChangeAwareClassLoader.getResource(ChangeAwareClassLoader.java:112(Compiled Code)) at com/opensymphony/xwork2/util/ClassLoaderUtil.getResource(ClassLoaderUtil.java:83(Compiled Code)) at org/apache/struts2/views/freemarker/StrutsClassTemplateLoader.getURL(StrutsClassTemplateLoader.java:33(Compiled Code)) at freemarker/cache/URLTemplateLoader.findTemplateSource(URLTemplateLoader.java:75(Compiled Code)) at freemarker/cache/MultiTemplateLoader.findTemplateSource(MultiTemplateLoader.java:111(Compiled Code)) at freemarker/cache/TemplateCache.acquireTemplateSource(TemplateCache.java:600(Compiled Code)) at freemarker/cache/TemplateCache.findTemplateSource(TemplateCache.java:576(Compiled Code)) at freemarker/cache/TemplateCache.getTemplate(TemplateCache.java:293(Compiled Code)) at freemarker/cache/TemplateCache.getTemplate(TemplateCache.java:235(Compiled Code)) at freemarker/template/Configuration.getTemplate(Configuration.java:487(Compiled Code)) at freemarker/core/Environment.getTemplateForInclusion(Environment.java:1464(Compiled Code)) at freemarker/core/Include.accept(Include.java:157(Compiled Code)) at freemarker/core/Environment.visit(Environment.java:209(Compiled Code)) at freemarker/core/MixedContent.accept(MixedContent.java:92(Compiled Code)) at freemarker/core/Environment.visit(Environment.java:209(Compiled Code)) at freemarker/core/Environment.process(Environment.java:189(Compiled Code)) at freemarker/template/Template.process(Template.java:237(Compiled Code)) at org/apache/struts2/components/template/FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:148(Compiled Code)) at org/apache/struts2/components/UIBean.mergeTemplate(UIBean.java:530(Compiled Code)) at org/apache/struts2/components/UIBean.end(UIBean.java:484(Compiled Code)) at org/apache/struts2/views/jsp/ComponentTagSupport.doEndTag(ComponentTagSupport.java:43(Compiled Code)) at jsp_servlet/_web_45_inf/_pages/_tpmsinfo/_bpsetup/__payer_details._jsp__tag207(__payer_details.java:8223) at jsp_servlet/_web_45_inf/_pages/_tpmsinfo/_bpsetup/__payer_details._jspService(__payer_details.java:1759(Compiled Code)) at weblogic/servlet/jsp/JspBase.service(JspBase.java:34(Compiled Code)) at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223(Compiled Code)) at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125(Compiled Code)) at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:283(Compiled Code)) at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:175(Compiled Code)) at weblogic/servlet/internal/RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500(Compiled Code)) at weblogic/servlet/internal/RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245(Compiled Code)) at org/apache/struts2/dispatcher/ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139) at org/apache/struts2/dispatcher/StrutsResultSupport.execute(StrutsResultSupport.java:178) at com/opensymphony/xwork2/DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:253(Compiled Code)) at com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221) at com/opensymphony/xwork2/interceptor/MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at com/opensymphony/xwork2/validator/ValidationInterceptor.doIntercept(ValidationInterceptor.java:150) at org/apache/struts2/interceptor/validation/AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48) at com/opensymphony/xwork2/interceptor/MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at com/opensymphony/xwork2/interceptor/ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at com/opensymphony/xwork2/interceptor/ParametersInterceptor.doIntercept(ParametersInterceptor.java:167) at com/opensymphony/xwork2/interceptor/MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at org/apache/struts2/interceptor/FileUploadInterceptor.intercept(FileUploadInterceptor.java:207(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at org/apache/struts2/interceptor/debugging/DebuggingInterceptor.intercept(DebuggingInterceptor.java:206) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at com/opensymphony/xwork2/interceptor/I18nInterceptor.intercept(I18nInterceptor.java:143) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at com/opensymphony/xwork2/interceptor/PrepareInterceptor.doIntercept(PrepareInterceptor.java:121) at com/opensymphony/xwork2/interceptor/MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at org/apache/struts2/interceptor/ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at com/opensymphony/xwork2/interceptor/AliasInterceptor.intercept(AliasInterceptor.java:123(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at com/opensymphony/xwork2/interceptor/ChainingInterceptor.intercept(ChainingInterceptor.java:115(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at com/cvs/tpms/framework/interceptor/ExceptionInterceptor.intercept(ExceptionInterceptor.java:45) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223(Compiled Code)) at com/opensymphony/xwork2/util/profiling/UtilTimerStack.profile(UtilTimerStack.java:455(Compiled Code)) at com/opensymphony/xwork2/DefaultActionInvocation.invoke(DefaultActionInvocation.java:221(Compiled Code)) at org/apache/struts2/impl/StrutsActionProxy.execute(StrutsActionProxy.java:50) at org/apache/struts2/dispatcher/Dispatcher.serviceAction(Dispatcher.java:504) at org/apache/struts2/dispatcher/FilterDispatcher.doFilter(FilterDispatcher.java:419(Compiled Code)) at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42(Compiled Code)) at org/springframework/orm/jpa/support/OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:111(Compiled Code)) at org/springframework/web/filter/OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75(Compiled Code)) at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42(Compiled Code)) at com/opensymphony/module/sitemesh/filter/PageFilter.parsePage(PageFilter.java:119) at com/opensymphony/module/sitemesh/filter/PageFilter.doFilter(PageFilter.java:55) at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42(Compiled Code)) at org/acegisecurity/util/FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265(Compiled Code)) at org/acegisecurity/intercept/web/FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org/acegisecurity/intercept/web/FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org/acegisecurity/util/FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275(Compiled Code)) at org/acegisecurity/ui/ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110) at org/acegisecurity/util/FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275(Compiled Code)) at org/acegisecurity/wrapper/SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) at org/acegisecurity/util/FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275(Compiled Code)) at org/acegisecurity/ui/AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:229) at org/acegisecurity/util/FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275(Compiled Code)) at org/acegisecurity/ui/logout/LogoutFilter.doFilter(LogoutFilter.java:106(Compiled Code)) at org/acegisecurity/util/FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275(Compiled Code)) at org/acegisecurity/context/HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:286) at org/acegisecurity/util/FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275(Compiled Code)) at org/acegisecurity/concurrent/ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:95) at org/acegisecurity/util/FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275(Compiled Code)) at org/acegisecurity/util/FilterChainProxy.doFilter(FilterChainProxy.java:149) at org/acegisecurity/util/FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42(Compiled Code)) at com/cvs/tpms/framework/security/utility/SessionExpirationFilter.doFilter(SessionExpirationFilter.java:74) at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42(Compiled Code)) at org/apache/struts2/dispatcher/ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99(Compiled Code)) at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42(Compiled Code)) at weblogic/servlet/internal/RequestEventsFilter.doFilter(RequestEventsFilter.java:26(Compiled Code)) at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42(Compiled Code)) at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243(Compiled Code)) at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321(Compiled Code)) at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:121(Compiled Code)) at weblogic/servlet/internal/WebAppServletContext.securedExecute(WebAppServletContext.java:2003(Compiled Code)) at weblogic/servlet/internal/WebAppServletContext.execute(WebAppServletContext.java:1909(Compiled Code)) at weblogic/servlet/internal/ServletRequestImpl.run(ServletRequestImpl.java:1359(Compiled Code)) at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209(Compiled Code)) at weblogic/work/ExecuteThread.run(ExecuteThread.java:181(Compiled Code))
15 years ago
To access request variable in JS first you have to catch it in JSP variable then JS. like this:

<%

String str = (String) request.getParameter("showMessage");

%>


<SCRIPT>
alert(<%=str%>);

</SCRIPT>
15 years ago
JSP