This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

css,images,fonts gets dissappeared after submitting the form.  RSS feed

satnam singh negi
Posts: 25
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings Everyone !!
I am using struts2 with hibernate ,and its really cool to work with it. my app consist of a simple login page and after
logging in there are few links to render the data with respective actions.

When i log in

  • i click on a employeedetails link, a list of all the employes appears in "Display Table" with all css and other stuff.

  • there is a add button to add a new employee,i click it and it goes to addEmloyee.jsp ,that also works fine with all the css and images and sumits the employee details well ,after adding the employee i again came to employeedetails list with newly added employee.till here it just works great.

  • With respect to each employee there is an edit link in display table ,when i click that, a "editEmployee.jsp" gets appeared with all css and images and other stuff..and then i update it..and my actions takes to me to the same empoyeedetails page with the updated field. but this time css and images doesnt work

  • To update an employee i am using something like this

    when i edit an employee and i send the employee id as parameters from here and then i recieve that parameter in my ActionClass

    so everything working fine but after updating the emloyee my css doesnt work ,i am working with display tag first time and also have some doubts with ActionContext.

    Please suggest me how can i make a good use of it.

    Thanks in advance.

    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!