Issue
I have created a jsp file which will give an output in JSON format using java class and servlet, i am new to java and i don't have idea about the deployment of jsp file. Can anyone suggest me how to do it? I used to develop an asp.net web application in which there was a specific option available which called " publish project", but i cant find in eclipse. I already have a php server in which i have uploaded few php files, can i use the same server to upload this file?
Currently, my application is running fine on localhost.
Please help me with this matter and thank you for your time.
Solution
To publish your project in Eclipse:
- Right click your project
- Export
- Under Web > Choose WAR
- Then just follow the instructions and your good to go.
Answered By - lxcky
Answer Checked By - Timothy Miller (JavaFixing Admin)