This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am new to JBOSS. I have a requirement to add the context root of our url like http://localhost:8080/myapp/Test previously it used to like http://localhost:8080/Test. For this requirement I added the jboss-web.xml file in the WEBINF folder . in that I added the context root like <contextroot>/myapp</contextroot> for my war file. After deploying In my application images and CSS and java script files are not loading . the images and java script files are referencing old path like (files/images/spacer.gif) how can i redirect to new path (/myapp/files/images/spacer.gif) with out changing all references . can you please suggest me a solution
My Version of Jboss AS is 5.1 . We are using Spring frame work(MVC,WEB flow). The images, CSS and Java script folders are included in the WAR file. You are very correct. MY JSP's and servlets are working fine.Can you please tell me where i did mistake. Thanks for you response.
What URLs are used by the references within your generated HTML pages? For example, pick an image that is not showing up, what is the contents of the tag? Same question for the links for CSS and .js files.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com