softlab Posted January 3, 2018 Posted January 3, 2018 Hi. I'm bfpsw on johnny. Until now I deploy my war file putting it in my home directory and asking you to make the deploy. Is there another way to do it? What if I put under my home directory the folder structure I have on my PC and deploy the files one by one (.jsp, .class etc.)? Thanks in advance
wolstech Posted January 3, 2018 Posted January 3, 2018 Tommy users can deploy a WAR from cPanel. There's no easy way to do this on Johnny. Unpacking a WAR isn't going to put the files where they need to be in order to run, though it's possible to build an app that's not packed as a WAR (i.e. JSP files and a bunch of classes).
softlab Posted January 3, 2018 Author Posted January 3, 2018 The last thing you said "though it's possible to build an app..." means that if I make the structure my app is expecting (a folder tree under my home) and put the java classes, jsps it should be ok. Am I right?
wolstech Posted January 3, 2018 Posted January 3, 2018 In theory yes. I don't know much about Java development though, so no guarantees it will work. Look up how to build Java web apps without using WARs. Krydos would know for sure.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now