0

I have an OpenXava web application. By default, it loads the last module I have opened as initial page. I need to change that behavior making the initial page some custom JSP page.

I have set AutoLogin in naviox-users.properties and tried to change the initial page into Modules.java as follows:

private static void createFirstStepsModule(String applicationName) {
    MetaApplication app = MetaApplications.getMetaApplication(applicationName);
    MetaModule firstStepsModule = new MetaModule();
    firstStepsModule.setName(FIRST_STEPS); 
    firstStepsModule.setModelName("SignIn"); 
    firstStepsModule.setWebViewURL("/naviox/myPage.jsp"); //My page goes here...
    firstStepsModule.setModeControllerName("Void");
    app.addMetaModule(firstStepsModule);        
}

However, OpenXava is still openning the last module page. Does anyone know how to properly set the initial OpenXava page to a custom JSP page?

I am using OpenXava 5.2.1.

1 Answer 1

2

Modify index.jsp to forward your initial page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.