Quantcast
Browsing all 34 articles
Browse latest View live

Parse mysql datetime to c# DateTime [duplicate]

I have a MySql DateTime 1442915520000 and i need to parse it using C#.I have tried the following:DateTime dt = Convert.ToDateTime(dataFim);DateTime dt = DateTime.Parse(i[0]["dataFim"].ToString());Any...

View Article


Wordpress get_the_content_feed with paginated posts

I have a wordpress site and i have been working on it's feed.I noticed that when a post has been paginated with , it only renders the first page of the post.What i need to do is get all the content of...

View Article


Secure uploaded files on build SpringMVC

I have a SpringMVC WebApp and it has file upload system. The problem is that whenever i rebuild the project all of the files in myproject/src/main/webapp/resources/uploads disappear.Any idea on what i...

View Article

Get Hibernate Initialized object in JSP

I have a list of objects (Jpassatempos) and i'm tring to initialize them Session session = this.sessionFactory.getCurrentSession(); List<Jpassatempos> list = (List<Jpassatempos>)...

View Article

Spring MVC Access Service class from a Cron Method annotated with @Scheduled

I have a working cron method but it gives me a null java.lang.NullPointerException on my service class:public class CronTask { private JpassatemposService jpassatemposService; @Autowired(required=true)...

View Article


Linq - group and get list of objects

I have a list of L_CabecDocumento and each one of them has a L_CabecJob.I want to get all unique L_CabecJob from each and every L_CabecDocumento (i have a Where condition).The problem is that i can't...

View Article

Integrate Spring Socials (Facebook) with Spring MVC XML Based

I have a working spring mvc webapp and it is xml based so i have to use the same procedures and not "pure java configs".I'm trying to integrate facebook sign in to my app and i have tried to follow...

View Article

SpringMvc RequestBody getting headers

I am using SpringMVC and this is my POST method:RequestMapping(value = "/test/handler", method = RequestMethod.POST, headers = {"Content-type=application/json"}) public String getOpen(@RequestBody...

View Article


Spring MVC Login Programmatically: No qualifying bean of type...

I have a Spring Application with spring security and it all works great. When I try to login the user upon registration I can't get it to work...I have searched a lot and discovered that my principal...

View Article


Could not open Hibernate Session for transaction on First Login

I have a full operating Spring MVC Application running with Spring Security but I get the following error whenever the server hasn't been active in a while and someone tries to login:HTTP Status 500 -...

View Article

Answer by Kunal for Kendo Grid MVC - Server Export Excel datetime field...

I solved it by adding:NumberFormat = "yyyy/MM/dd h:mm"format = new SpreadCellFormat { ForeColor = isHeader ? SpreadThemableColor.FromRgb(216, 184, 168) : SpreadThemableColor.FromRgb(0, 0, 0),...

View Article

Kendo Grid MVC - Server Export Excel datetime field (custom format)

The datetime field is being exported as an number, but if i change the cell to datetime type in excel than it gets the correct values.All of the server export is functional except the date format.Since...

View Article

How to deploy workflow to openkm?

I have installed jbpm 6.3 and have a "hello world" workflow project to deploy to my openkm.I can't find a "deployment tab" anywhere neither could i find an option to export .par file.Can anyone help...

View Article


Ambiguous because multiple kinds of members with this name exist in interface

this is the Interface:Namespace IBasBS100 Public Interface IBasBSMoedas <DispId(0)> <Obsolete("This method is obsolete. Use Actualiza(BasBE100.BasBEMoeda objMoeda, ref string strAvisos)...

View Article
Browsing all 34 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>