Skip to content

Jboss server issue #8

@shalinikarkera

Description

@shalinikarkera

I tried this app to deploy in jboss server, it deployed but when I load the page it loads only the header and footer , doesn't load Router part. My modified App.jsx is here

render() { const { alert } = this.props; return ( <div> <nav style={{ backgroundColor: "#BFBFBF" }}> <div className="container-fluid"> <div className="navbar-brand"> <div className="navbar-header" >System Administration Portal</div> </div> </div> </nav> <div className="col-sm-8 col-sm-offset-2"> {alert.message && <div className={alert ${alert.type}}>{alert.message}</div> } <Router history={history}> <div> <PrivateRoute exact path="/" component={HomePage} /> <Route path="/login" component={LoginPage} /> {/*<Route path="/register" component={RegisterPage} />*/} </div> </Router> </div> <footer className="navbar-fixed-bottom" style={{ backgroundColor: "#BFBFBF" }}> <div className="container"> <div className="row"> &nbsp;&nbsp; </div> </div> </footer> </div> ); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions