#Web App
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
etty-url/". I want it to open in my browser as "pretty-url/".
How can I change the context root of my web app?
As far as i remember (i used to also work with NetBeans), u can right click on ur project and then u can go the run category and then under context path, set to how u want and then u just gotta restart ur application and u should see the changes.
But i recommend u to use other files instead of EAR and try using NetBeans vers.1.5.3. Because for some reason this a bit older version works better.
I just tried it but it wont update the context path. I also tried to change the context root in glassfish_web.xml and application.xml but still, the path won't change
How many files you have? It could be just a problem, that the application is not realizing you changed the root, so just copy all the code on page (word, notepad whatever), and then delete you files and make new ones, and then paste it back in. I had a problem kinda like this, where it didnt know the way to the files that i was using.
I have a bunch, probably like 200-300
Is it maybe that ur application cant find “project_name”? Maybe your route to it, is not enough.
No idea, but that url isnt right anyway, im getting 404. I have to manually remove the version in the url to access my webapp
Sorry man ☹️ Did u maybe look on stack overflow, or yt?
Maybe check your notation, or some letter mistakes
btw are u new to coding?
I did, tried pretty much everything i could find but thats a very specific topic, hard to find precise solutions.
I am not, been coding for about 9 years now, but java is my first experience with server
https://stackoverflow.com/questions/41585188/setting-context-root-with-glassfish-application-server maybe this could help?
I have a EJB WEB Application with an Glassfish Application-Server.
Now i want the Context-Root like this "/".
My current URL is "http://localhost:8080/Make"
but i want this one :"http://localhost:...
mainly coded in python, c++, c#, php
Need to eat a little, i'll check that in a few mins thanks
yeah no problem
yep, the usual html,css,js but just a little