• 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

menu system in front of a J2EE application

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

I need your advice about this:

I have a J2EE application that runs on Websphere application server.

The application contains a several web projects (WARs).

I need to implement a menu page that will be the front for all that web projects.

1. Should that menu be a separate web project (WAR) in my application and contain references to the other web projects? Or is there another way?

2. Is struts-menu suitable for this purpose? Is it mature enough?

Thanks
Rivka
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well
I think this should work but havent tried:
in web.xml file there is a tag:
<welcome-file> filename.(html/jsp) </welcome-file>
Its set to a default page when u open WSAD. Try to change that to the page u want to show while executing the war.
let me know if that works.

Regards
Balaji.S
 
rivka zam
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Balaji,

As much as i know, the configuration xml files (like web.xml) should be transparent to the application code and are suitable for runtime changes.
If you know other than this i will be glad to get an example.

thanks
Rivka
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by rivka zam:
As much as i know, the configuration xml files (like web.xml) should be transparent to the application code and are suitable for runtime changes.
If you know other than this i will be glad to get an example.



The change in web.xml requires application restart/reload in order to reflect the changes.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Balaji Sampath:
I think this should work but havent tried:
in web.xml file there is a tag:
<welcome-file> filename.(html/jsp) </welcome-file>
Its set to a default page when u open WSAD. Try to change that to the page u want to show while executing the war.
let me know if that works.



As far as I know every application has its own deployment descritor (web.xml). Dont think your suggestion is going to work in this case.

I think it would be better to check the WSAD documentation in order to do make it work that way. There should be some server specific configuration file.
 
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic