Problem with Eclipse-Tomcat [message #178598] |
Mon, 06 November 2006 17:56 |
Eclipse User |
|
|
|
Originally posted by: bhagirath.patel.va.gov
This Bhagirath...
My configuration for Web Application is as follows :
Eclipse : 3.2
Tomcat : 5.0
jdk : 1.4.2_08
Struts Framwork
My project is running fine if I COPY PROJ FOLDER AS ROOT OF TOMCAT'S
WEBAPP FOLDER...but when I DELETE THAT and CREATE NEW TOMCAT PROJECT in
ECLIPSE and try to RUN giving http://localhost:8080/do/main/logon then
only LOGON PAGE opens and when I enter USER ID AND PASSWORD, it redirects
automatically to http://do/main/logon instead it should open
http://localhost:8080/do/main with main.jsp where my WEB-APPLICATION's
interaction starts from...
Why it runs fine from out of Eclipse and not with in Eclipse ?
Any idea help me out would be heartly appriciated..
regds...
-Bhagirath
|
|
|
Re: Problem with Eclipse-Tomcat [message #178638 is a reply to message #178598] |
Mon, 06 November 2006 18:17 |
Eclipse User |
|
|
|
Originally posted by: wayne.beaton._NOSPAM_eclipse.org
Bhagirath wrote:
> This Bhagirath...
> My configuration for Web Application is as follows :
> Eclipse : 3.2
> Tomcat : 5.0
> jdk : 1.4.2_08
> Struts Framwork
>
> My project is running fine if I COPY PROJ FOLDER AS ROOT OF TOMCAT'S
> WEBAPP FOLDER...but when I DELETE THAT and CREATE NEW TOMCAT PROJECT in
> ECLIPSE and try to RUN giving http://localhost:8080/do/main/logon then
> only LOGON PAGE opens and when I enter USER ID AND PASSWORD, it
> redirects automatically to http://do/main/logon instead it should open
> http://localhost:8080/do/main with main.jsp where my WEB-APPLICATION's
> interaction starts from...
> Why it runs fine from out of Eclipse and not with in Eclipse ?
> Any idea help me out would be heartly appriciated..
> regds...
> -Bhagirath
>
It sounds like a struts configuration problem to me. My guess is this:
<total-guess>
you have struts configured to redirect to http://do/main/logon when the
user needs to logon. You've never seen this behaviour before because
you've never failed logon before. You're seeing this now because your
authentication scheme is not configured properly.
</total-guess>
Anywhere close?
Wayne
|
|
|
Re: Problem with Eclipse-Tomcat [message #178831 is a reply to message #178598] |
Tue, 07 November 2006 17:36 |
Eclipse User |
|
|
|
Originally posted by: chadmichaeldavis.gmail.com
Bhagirath wrote:
> This Bhagirath...
> My configuration for Web Application is as follows :
> Eclipse : 3.2
> Tomcat : 5.0
> jdk : 1.4.2_08
> Struts Framwork
>
> My project is running fine if I COPY PROJ FOLDER AS ROOT OF TOMCAT'S
> WEBAPP FOLDER...but when I DELETE THAT and CREATE NEW TOMCAT PROJECT in
> ECLIPSE and try to RUN giving http://localhost:8080/do/main/logon then
> only LOGON PAGE opens and when I enter USER ID AND PASSWORD, it
> redirects automatically to http://do/main/logon instead it should open
> http://localhost:8080/do/main with main.jsp where my WEB-APPLICATION's
> interaction starts from...
> Why it runs fine from out of Eclipse and not with in Eclipse ?
> Any idea help me out would be heartly appriciated..
> regds...
> -Bhagirath
>
I'm not clear on your problem. As I understand it, you create the
project in Eclipse and then copy it to the Root folder of webapps?
Then, you delete it?
Can you explain again what your process has been?
|
|
|
Powered by
FUDForum. Page generated in 0.10652 seconds