• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

webapp not on 8080 and html:base

 
Ranch Hand
Posts: 62
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
iam using struts and making a website.

During the development phase, we had used the default port 8080.
so to access my webpage i used to write,
http://localhost:8080/simliv/action/welcome

well all files in my jsp pages use struts <html:base> tag

so under view source for any jsp page,
the url looks like http://localhost:8080/simliv/welcome.jsp

well now its deployment time,after deploying,i have been asked to remove
the port number ie 8080 coming after localhost.

I think this whole is configuring apache and tomcat,
please specify how do i configure tomcat so that when i access

http://localhost/simliv/action/welcome ,

i get the same welcome page and all other pages without the port number after the localhost

The problem been that struts carries the base address 8080 in all other pages if html:base tag is used.

thanks
 
How do they get the deer to cross at the signs? Or to read this tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic