Questions tagged [welcome-file]
67 questions
1
vote
1 answer
Can Struts 2 First Page come through the engine instead of listing it in ?
Whenever my web application starts, I need to provide the welcome or index or first file inside the .
There after, I am able to post requests to the struts engine using actions in or in I want to load the index page…

Udit Mishra
- 150
- 11
1
vote
1 answer
How to identify which welcome file in servlet filter?
When a servlet filter is invoked corresponding to a request for a welcome-file, is there any way for the filter to get the name of the specific welcome-file that is being served up? getRequestURL stops at the context root (which is presumably…

CraftWeaver
- 707
- 1
- 8
- 21
1
vote
1 answer
Get real requestURI without appended index.xhtml when welcome file is used
So here are 2 requests:
http://example.com/someUrl/
http://example.com/someUrl/index.xhtml (xhtml extension is not relevant just an example)
When the index.xhtml is been set, request 1 is handled by the…

Ghetolay
- 3,222
- 2
- 30
- 29
1
vote
0 answers
Invalidating previous session at Login: JSF 2
I have a filter to be called which finds, after every page is requested if the user & session is privileged and valid respectively. But I want to invalidate the session at beginning, just before the login. Because if someone does not log out it is…

Bose
- 11
- 4
1
vote
0 answers
Welcome file list not being picked in Websphere
I have a peculiar problem. We have welcome file list in web.xml. When we deploy the war on tomcat / JBoss and hit our URL without the html file in welcome file list, the app is redirected properly. However the same redirection is not happening in…

Padmanabh Kini
- 11
- 2
1
vote
1 answer
Redirect from index.jsp welcome file to map.xhtml JSF page
I am try to make a my first jsf2 project run on jboss7.1
I want to redirect from the index.jsp to map.xhtml
that's what I try in my index.jsp and all of them didn't work please help
<%=response.sendRedirect("map.html") …

Wadii Slatnia
- 183
- 1
- 4
- 10
0
votes
0 answers
How to properly use nodejs modules on a capacitor aplication. Testing on welcome build
I've being trying to build an application that would run on capacitor and would also supports nodejs modules, so I could eventually use some of them on android.
But first I'm trying to make them working on a desktop.
To test an initial build, I've…

João Schmidt
- 71
- 8
0
votes
0 answers
Upgrade spring mvc to spring 6 stops mapping static resources folder to index.html
I have a spring mvc application and I am upgrading that to spring 6. The upgrade was successful but having issues with static resources. I have help files in the application and I have mapped /help/** url to /help/. I am using tomcat version…

Dhaval Gajjar
- 2,508
- 1
- 2
- 13
0
votes
0 answers
Cannot read property 'guild' of undefined
Hey,
I want to make a welcome system and it works in the index. But I have a folder events in which it is not working anymore... Of course, I have modified the code a bit.
I have this code:
const Discord = require("discord.js")
module.exports =…

Filip
- 9
- 2
0
votes
1 answer
Welcome message doesn't send?
Whenever someone joins, the error Cannot read properties of undefined (reading 'send') appears in the console. I have also correctly selected all the intents that you need for a welcome system or for a welcome message
If I do welcome Channel.send at…

tryfyfu
- 15
- 3
0
votes
1 answer
Why doesn`t url change when running servlet that presents in welcome-file-list
I have simple servlet that prints something to response
@WebServlet(name = "helloServlet", value = "/hello-servlet" , s )
public class HelloServlet extends HttpServlet {
private String message;
public void init() {
message = "Hello…

Justtoasktheneededquestions
- 153
- 10
0
votes
1 answer
Embedded Tomcat 7.0.99 is forcing default welcome files into context
I am upgrading a Spring/Angular application from Tomcat 7.0.59 to 7.0.99. I am using an embedded Tomcat server and running the app from the command line ("tomcat7:run-war").
The problem is that default welcome files are being added to the context…
0
votes
1 answer
index.html not found payara micro
I have a Java application and I am using Payara Micro 4.1.2.174 to deploy it. I am trying to configure the index.html file, which I placed in the folder src/main/webapp. However, no matter what I do, the file is not reachable, I am getting a 404…

pixie
- 507
- 9
- 21
0
votes
1 answer
Set default protected welcome page in Spring MVC project
I have a Spring MVC project and I would like to set a welcome home page that is protected by a login.
The result of my configuration is that normally if I ask a URL like:
http://localhost:8080/angularjava/app/homepage.html
the server present me a…

Francesco D'Ambrosio
- 50
- 1
- 7
0
votes
2 answers
CSS fails to apply for the home page in
Hello, I have a home page LoginPage.html in /WebContent/html/LoginPage.html
Login Page