• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

Page appears only on refresh

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am facing a peculiar issue in a spring web application. My home page appears as a blank page when i first hit the url but displays correctly when i do a page refresh. The output in the console comes the same for the first hit and the refresh as well. I have tried debugging but it did not help.

I am using spring 2.5.5. Following is my mapping for the url in the dispatcher servlet xml



The controller class extends SimpleFormController and i have implemented the following methods


If anyone has faced this issue or can guide me as to where I should be looking to put my effort it would be helpful.

Thanks
 
Collin Dugas
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am still unable to get rid of this issue. Can anyone please help?
 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know, this should not happen.
 
Collin Dugas
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I also think this should not happen. I have no clue.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post your ViewResolver config?
 
Collin Dugas
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the xml for bean mappings


The tiles-defs.xml as following.



Kindly let me know if you have a suggestion as to where i should put my effort.
 
I'm not sure if I approve of this interruption. But this tiny ad checks out:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic