Quantcast
Channel: User Kunal - Stack Overflow
Browsing all 34 articles
Browse latest View live
↧

Comment by Kunal on SpringMvc RequestBody getting headers

I managed to solve the error thanks! It was a fault from the request sender. They were having some problems and the header was included in the body... Thanks!

View Article


Comment by Kunal on WPF ModernUI and Extended Grid Conflict

@Prajwal These lines in the config: <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.xaml" /> <ResourceDictionary...

View Article

Comment by Kunal on Get parameter passed in navigation

@gaborhodi Hello, i have the exact same problem and i created a class called IContent like so: github.com/firstfloorsoftware/mui/wiki/Handle-navigation-eve‌​nts. i also added the implementations and...

View Article

Comment by Kunal on How can I consume a rest webservice with oauth 1.0a using...

Hi @WannaBeGeek I did not, sorry. Although what i needed was to communicate between a wordpress (php) based website with an java web (spring) site. So i used a plugin in wordpress called JSON API and...

View Article

Comment by Kunal on How can I draw a hexagon and fit all children to its...

I have edited my question and tried to be more specific and with code. Thanks for your insight, I need to implement a shape instead of rectangular that's why I posted it here @Paulie_D

View Article


Comment by Kunal on How can I draw a hexagon and fit all children to its...

wow this is perfect @stojkosd! Thank you very much! I also implemented a solution but I didn't manage to make the right spacing between the shapes yet. I am going to use your code and wrap it in a for...

View Article

Comment by Kunal on Reading dynamic XML nodes in SQL Server

I have the exact same problem but i need to select also the "OtherName"... how can i do this? Thanks @Shnugo

View Article

Comment by Kunal on Entity Framework "Multiple object sets per type are not...

@Crowcoder I did a lot actually i tried all first 5 pages of google...

View Article


Spring MVC read property file null in DAOImpl

I need to read a property value in my UserDetailsDaoImpl. I'm using Spring Security.It succesfully reads inside of a @Controller but not in this class maybe because it's a @Repository.What can i do to...

View Article


Answer by Kunal for Spring MVC read property file null in DAOImpl

My Problem was that since i called a method it wouldn't load the @Value so i had to inject some beans.Like this:<bean...

View Article

Hibernate query "or condition" won't work

I am trying the following hibernate query but it always gives me a wrong result: @SuppressWarnings("unchecked") @Override public List<Jcelulasmin> getAllOthers(int id, String username) { Session...

View Article

Can't Override Equals method on Java when calling contains

I have the following funtion that checks if a List of codigos contains a single codigos object:if (!concorrente.getJcodigoses().contains(cod)) { return "redirect:"+ referrer; }I read that i need to...

View Article

"GET" value in JSP with Spring MVC

I am trying to get the "registo" value from the folowing url: http://localhost:83/spring/login?registo=sucessoin my jsp file.What I have tried so far:<c:if test="${not empty...

View Article


Spring MVC Validate form and return data if has errors

I can successfully validate my form and even return the errors. My problems started when my view had a few selects that needed to be populated with the data coming from the controller.When i do...

View Article

Answer by Kunal for Get Hibernate Initialized object in JSP

Thanks everyone for your time and patience the solution was simple.The problem was that i was getting 2 different errors and one of them was that i wasn't initializing JpatrocinadoresPassatempos...

View Article


Answer by Kunal for Could not open Hibernate Session for transaction on First...

The answer is on my edit that was to add the following in my beans that have the connection data:<!-- Configuration pool --><property name="validationQuery" value="SELECT 1" /><property...

View Article

Hibernate- Sql query cast object

I have Spring MVC Application alongside hibernate. I can cast hql queries to object but the same doesn't apply to SQL. I have the following query to cast to Jpassatempos Object:List<Jpassatempos>...

View Article


Hibernate Select SubQuery

I have the following hql query:JgrelhasListBack = session.createQuery("from Jgrelhas where jtabuleiros.id=? and id<? order by id desc").setParameter(0, tabuleiroId).setParameter(1,...

View Article

Java Web Application connect to MYSQL and SQL SERVER

I have a SpringMvc Web App running perfectly on a tomcat server alongside MySql.What i need to do is that i need to store some data to another database on a SQL Server in another hosting.So i am...

View Article

How to add WebServices Server to SpringMVC?

I have a Spring MVC WebApp and it is working perfectly, now i want it to have a soap WebService server.I tried adding a new class of type Web Service (runtime apache axis2).this is the content:public...

View Article
Browsing all 34 articles
Browse latest View live