• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

need help on Sun Java App Server 9.1

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am new to Sun Java Application Server 9.1.

Currently, we are migrating our application from tomcat 3.1 server to Sun Java App Server 9.1. I am able to bundle all the files into a war file and able to successfully deploy into sun server. But, i am not able to get the images displayed on the IE.

In the java code,all the images path was as given below

lstrLogoDesc = "";

When i ran the application, the path of images shown in IE is "http://localhost:3510/images/descr_most.gif".

I don't want to change all the java files just for small change in images path.

Can any one please help me, where i need to place the images folder to get the images displayed on web page.

Thank you...

Regards,
Ramnath
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
why do you use absolute path when we have relative path.
Use images/imagename.gif instead of specifying http://something/images/imagename.gif.
http://blah/ will be added automatically which ever server you go for.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic