This is killing me.
I have a directory called portal in my webapps dir with a file default.jsp(my home file). I have the web-inf folder and my web.xml file inside. All good. Now, when I goto localhost/portal. I get a web page with "null" and a NullPointer Exception in my shell, but if I goto to localhost/portal/default.jsp all is good. It must be the web.xml file. I don't want to change to index.jsp and I already tried adding default.jsp to the web.xml in the conf dir.
Here is what I have:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE web-app (View Source for full doctype...)>
<web-app>
<display-name>Portal</display-name>
<description>Portal</description>
<welcome-file-list>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
I have a directory called portal in my webapps dir with a file default.jsp(my home file). I have the web-inf folder and my web.xml file inside. All good. Now, when I goto localhost/portal. I get a web page with "null" and a NullPointer Exception in my shell, but if I goto to localhost/portal/default.jsp all is good. It must be the web.xml file. I don't want to change to index.jsp and I already tried adding default.jsp to the web.xml in the conf dir.
Here is what I have:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE web-app (View Source for full doctype...)>
<web-app>
<display-name>Portal</display-name>
<description>Portal</description>
<welcome-file-list>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>