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 Quote
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). Quote
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? Quote
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. Quote
Krydos Posted January 3, 2018 Posted January 3, 2018 Yeah, it can work, but it's a lot more work. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.