Hi Dane,
are You calling resources with absolute path?
img src=/absolute/path/to/image.jpg /
or relative?
img src=relative/path/to/image.jpg /
If relative then it is working like You described,
if absolute then post your code.
Best greetings,
Paweł Wielgus
2010/5/14 Dane da...@mate1inc.com:
Hi! I am having problems with struts 2.1.8 and the plugin for integrate
hibernate.
this is the error:
java.lang.NullPointerException
at
it.tesina.model.DipendenteService.getByUsername(DipendenteService.java:42)
at it.tesina.action.Login.authenticate(Login.java:35)
at
On 5/16/10 1:13 PM, Fabio Perfetti wrote:
Hi! I am having problems with struts 2.1.8 and the plugin for integrate
hibernate.
java.lang.NullPointerException
at
it.tesina.model.DipendenteService.getByUsername(DipendenteService.java:42)
public Dipendente getByUsername(String username){
EntityManager em = factory.createEntityManager();
snip
//create the query from the EntiryManager
Query q = em.createQuery( select i from + Item.class.getName() + i where
i.name like :itemName );
String itemName=foobar; //itemName cannot be null
q.setParameter( names, itemName );
4 matches
Mail list logo