RE: webapp deployment

2004-07-15 Thread Jim Barrows


> -Original Message-
> From: Phyl [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 15, 2004 3:04 PM
> To: Struts Users Mailing List
> Subject: Re: webapp deployment
> 
> 
> 
>   Hi,
> 
> I tried adding a context parameter to web.xml:
> 
> testparam
> hello
>  
> 
> and access it in a jsp:
> 
> 
> <%
> 
> out.print(getServletContext().getInitParameter("testparam"));
> %>
> 
> 
> 
> 
>  The result of this print was a "null" value, but struts isn't even 
> involved in this code so maybe struts is not the problem after all.
> perhaps web.xml isn't being loaded... (!?) any thoughts?

If the web.xml isn't being loaded, then you're web app would not only not work, it 
would not technically exist on the server.
It's possible that you're xml file is not configured quite right... and the web app 
would still function if the server is not picky about things like valid xml.  Try 
validating your xml and see what happens.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: webapp deployment

2004-07-15 Thread Phyl
 Hi,
I tried adding a context parameter to web.xml:
   
   testparam
   hello


and access it in a jsp:
   
   
   <%
   
out.print(getServletContext().getInitParameter("testparam"));
   %>
   
   

The result of this print was a "null" value, but struts isn't even 
involved in this code so maybe struts is not the problem after all.
perhaps web.xml isn't being loaded... (!?) any thoughts?

  Thanks in advance,
  Phyl

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: webapp deployment

2004-07-14 Thread Phyl
 Hi,
 Thanks for your replies!
Pardon the obvious, but just in case you're WEB-INF should be:
/home/virtual/sitexyz/fst/var/www/html/WEB-INF/struts-config.xml
 

yes, that's right.
If that's it again, pardon the obvious, but how is the struts-config.xml coded in the web.xml?
 

This is how struts-config is coded in web.xml:
--- web.xml -
[...]

   action
   
org.apache.struts.action.ActionServlet
   
   config
   /WEB-INF/struts-config.xml
   
   
   debug
   3
   
   
   detail
   3
   
   
   application
   com.project1.ApplicationResources
   
   1
   
[...]
---

Regards,
Phyl
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: webapp deployment

2004-07-13 Thread Jim Barrows


> -Original Message-
> From: Phyl [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 13, 2004 3:25 PM
> To: Struts Users Mailing List
> Subject: Re: webapp deployment
> 
> 
> 
> 
> I'm using Tomcat 4.1.29 in the development machine and Tomcat 
> 4.0.3 in 
> the webserver.
> 
> I wonder if this problem might have to be with the way  is 
> declared in server.xml. This is the way I have it in the development 
> machine:
> - server.xml -
> [...]
>  docBase="D:\Project1\www" workDir="D:\Project1\work\org\apache\jsp" />
> [...]
> --
> 
> and this is the way my hosting company configured it for me:
> - server.xml -
> [...]
> docBase="/home/virtual/sitexyz/fst/var/www/html"
> crossContext="false"
> reloadable="true" />
> [...]


Pardon the obvious, but just in case you're WEB-INF should be:
/home/virtual/sitexyz/fst/var/www/html/WEB-INF/struts-config.xml

If that's it again, pardon the obvious, but how is the struts-config.xml coded in 
the web.xml?


> --
> 
> 
> The following global-forward is the one i'm calling:
> --- struts-config.xml -
> [...]
> 
>  
> 
> [...]
> --
> 
> I'm trying to call it from index.jsp:
> -- index.jsp --
> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> 
> 
> 
> 
> 
> ---
> 
> 
>   Cheers,
>   Phyl
>   
> 
> > Can you provide a bit more information and code?  What do 
> you have for 
> > global forwards in your struts-config.xml?  Where is the "welcome" 
> > forward called?  Etc.
> >
> > At 04:08 PM 7/12/2004, you wrote:
> >
> >>   Hi,
> >>
> >> I've been developing a struts webapp using tomcat and am 
> now trying 
> >> to deploy it to my webserver. I copied every class and jsp 
> manually 
> >> since there is no .war deployment available on the server.
> >> Invoking a simple jsp directly works fine, however, when 
> invoking a 
> >> *struts' jsp* this exception is being thrown:
> >>
> >> javax.servlet.jsp.JspException: Cannot find global 
> ActionForward for 
> >> name welcome
> >> at 
> >> 
> org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.
> java:142)
> >> at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
> >> at 
> >> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >> ...
> >>
> >> this is the associated .jsp:
> >>
> >> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> >>
> >> It seems  the "welcome" global forward isn't being found in
> >> struts-config, but I'm sure it exists.
> >> When calling an action directly I get a "Not Found" error. 
> I'm beginning
> >> to doubt that struts-config.xml is even being loaded.
> >> What do you think might be the problem?
> >>
> >>
> >>thanks in advance,
> >>Phyl
> >>
> >>
> >>
> >>
> >>
> >>
> >> 
> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: webapp deployment

2004-07-13 Thread Phyl
  yep, load-on-startup is declared. i'm using it this way:
  
   action
   
org.apache.struts.action.ActionServlet
   
   config
   /WEB-INF/struts-config.xml
   
[...]
   1
   

 Phyl

Erik Weber wrote:
Make sure you have load-on-startup declared in web.xml! I had a 
problem with Struts not being loaded at all when I didn't have this 
declared, and the first request did not cause it to load either.

Erik
Phyl wrote:
  Hi,
I've been developing a struts webapp using tomcat and am now trying 
to deploy it to my webserver. I copied every class and jsp manually 
since there is no .war deployment available on the server.
Invoking a simple jsp directly works fine, however, when invoking a 
*struts' jsp* this exception is being thrown:

javax.servlet.jsp.JspException: Cannot find global ActionForward for 
name welcome
at 
org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:142)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
...

this is the associated .jsp:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>


 


It seems  the "welcome" global forward isn't being found in 
struts-config, but I'm sure it exists.
When calling an action directly I get a "Not Found" error. I'm 
beginning to doubt that struts-config.xml is even being loaded.
What do you think might be the problem?

  thanks in advance,
  Phyl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: webapp deployment

2004-07-13 Thread Phyl
  Tomcat is running with Apache web server, but in a Red hat linux 
system. I think the reason war deployment isn't available is somehow 
related to the way accounts provided by my hosting company are managed. 
I'm not sure though.

 Phyl
[EMAIL PROTECTED] wrote:
Are you using Tomcat in-process with the apache server on an AS/400?
Your problem, and the fact you don't have .war deployment sound familar.
John Thompson
[EMAIL PROTECTED]

|-+>
| |   Phyl |
| |   <[EMAIL PROTECTED]|
| |   net> |
| ||
| |   13/07/2004 11:08 |
| |   AM   |
| |   Please respond to|
| |   "Struts Users|
| |   Mailing List"|
| ||
|-+>
 
>--|
 | 
 |
 |   To:   [EMAIL PROTECTED]   
|
 |   cc:   
 |
 |   Subject:  webapp deployment   
 |
 
>--|


  Hi,
I've been developing a struts webapp using tomcat and am now trying to
deploy it to my webserver. I copied every class and jsp manually since
there is no .war deployment available on the server.
Invoking a simple jsp directly works fine, however, when invoking a
*struts' jsp* this exception is being thrown:
javax.servlet.jsp.JspException: Cannot find global ActionForward for
name welcome
at
org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:142)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
...
this is the associated .jsp:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>


 


It seems  the "welcome" global forward isn't being found in
struts-config, but I'm sure it exists.
When calling an action directly I get a "Not Found" error. I'm beginning
to doubt that struts-config.xml is even being loaded.
What do you think might be the problem?
  thanks in advance,
  Phyl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: webapp deployment

2004-07-13 Thread Phyl

I'm using Tomcat 4.1.29 in the development machine and Tomcat 4.0.3 in 
the webserver.

I wonder if this problem might have to be with the way  is 
declared in server.xml. This is the way I have it in the development 
machine:
- server.xml -
[...]
   
[...]
--

and this is the way my hosting company configured it for me:
- server.xml -
[...]
   docBase="/home/virtual/sitexyz/fst/var/www/html"
   crossContext="false"
   reloadable="true" />
[...]
--
The following global-forward is the one i'm calling:
--- struts-config.xml -
[...]



[...]
--
I'm trying to call it from index.jsp:
-- index.jsp --
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

   
   
   

---
 Cheers,
 Phyl
 

Can you provide a bit more information and code?  What do you have for 
global forwards in your struts-config.xml?  Where is the "welcome" 
forward called?  Etc.

At 04:08 PM 7/12/2004, you wrote:
  Hi,
I've been developing a struts webapp using tomcat and am now trying 
to deploy it to my webserver. I copied every class and jsp manually 
since there is no .war deployment available on the server.
Invoking a simple jsp directly works fine, however, when invoking a 
*struts' jsp* this exception is being thrown:

javax.servlet.jsp.JspException: Cannot find global ActionForward for 
name welcome
at 
org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:142)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
...

this is the associated .jsp:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
It seems  the "welcome" global forward isn't being found in
struts-config, but I'm sure it exists.
When calling an action directly I get a "Not Found" error. I'm beginning
to doubt that struts-config.xml is even being loaded.
What do you think might be the problem?
   thanks in advance,
   Phyl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: webapp deployment

2004-07-12 Thread Erik Weber
Make sure you have load-on-startup declared in web.xml! I had a problem 
with Struts not being loaded at all when I didn't have this declared, 
and the first request did not cause it to load either.

Erik

Phyl wrote:
  Hi,
I've been developing a struts webapp using tomcat and am now trying to 
deploy it to my webserver. I copied every class and jsp manually since 
there is no .war deployment available on the server.
Invoking a simple jsp directly works fine, however, when invoking a 
*struts' jsp* this exception is being thrown:

javax.servlet.jsp.JspException: Cannot find global ActionForward for 
name welcome
at 
org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:142)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
...

this is the associated .jsp:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>


 


It seems  the "welcome" global forward isn't being found in 
struts-config, but I'm sure it exists.
When calling an action directly I get a "Not Found" error. I'm 
beginning to doubt that struts-config.xml is even being loaded.
What do you think might be the problem?

  thanks in advance,
  Phyl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: webapp deployment

2004-07-12 Thread Michael McGrady
I am trying to figure out what serialization would have to do with the server?
At 04:30 PM 7/12/2004, you wrote:

> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 12, 2004 4:25 PM
> To: Struts Users Mailing List
> Subject: RE: webapp deployment
>
>
> If it will run a servlet, it will run struts.  No?
Something is tickling the back of my mind about Servlet spec 
versions.  Could be cobwebs
On the other hand, didn't struts have issues with an app server because of 
serialization issues?

>
> At 04:15 PM 7/12/2004, you wrote:
> > > -Original Message-
> > > From: Michael McGrady [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, July 12, 2004 4:12 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: webapp deployment
> > >
> > >
> > > Can you provide a bit more information and code?  What do you
> > > have for
> > > global forwards in your struts-config.xml?  Where is the
> > > "welcome" forward
> > > called?  Etc.
> >
> >What web server? If it doesn't do .war deployments, is it
> compliant enough to
> >even run struts?
> >
> > >
> > > At 04:08 PM 7/12/2004, you wrote:
> > >
> > > >   Hi,
> > > >
> > > >I've been developing a struts webapp using tomcat and am now
> > > trying to
> > > >deploy it to my webserver. I copied every class and jsp
> > > manually since
> > > >there is no .war deployment available on the server.
> > > >Invoking a simple jsp directly works fine, however, when
> invoking a
> > > >*struts' jsp* this exception is being thrown:
> > > >
> > > >javax.servlet.jsp.JspException: Cannot find global
> > > ActionForward for name
> > > >welcome
> > > > at
> > > >
> > > org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.
> > > java:142)
> > > > at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
> > > > at
> > >
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> > > > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > ...
> > > >
> > > >this is the associated .jsp:
> > > >
> > > ><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> > > >
> > > >It seems  the "welcome" global forward isn't being found in
> > > >struts-config, but I'm sure it exists.
> > > >When calling an action directly I get a "Not Found" error.
> > > I'm beginning
> > > >to doubt that struts-config.xml is even being loaded.
> > > >What do you think might be the problem?
> > > >
> > > >
> > > >thanks in advance,
> > > >Phyl
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >-
> > > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > >
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: webapp deployment

2004-07-12 Thread jthompson





Are you using Tomcat in-process with the apache server on an AS/400?

Your problem, and the fact you don't have .war deployment sound familar.


John Thompson

[EMAIL PROTECTED]



|-+>
| |   Phyl |
| |   <[EMAIL PROTECTED]|
| |   net> |
| ||
| |   13/07/2004 11:08 |
| |   AM   |
| |   Please respond to|
| |   "Struts Users|
| |   Mailing List"|
| ||
|-+>
  
>--|
  |
  |
  |   To:   [EMAIL PROTECTED]  
 |
  |   cc:  
  |
  |   Subject:  webapp deployment  
  |
  
>--|





   Hi,

I've been developing a struts webapp using tomcat and am now trying to
deploy it to my webserver. I copied every class and jsp manually since
there is no .war deployment available on the server.
Invoking a simple jsp directly works fine, however, when invoking a
*struts' jsp* this exception is being thrown:

javax.servlet.jsp.JspException: Cannot find global ActionForward for
name welcome
 at
org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:142)
 at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 ...

this is the associated .jsp:

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

 
  
 


It seems  the "welcome" global forward isn't being found in
struts-config, but I'm sure it exists.
When calling an action directly I get a "Not Found" error. I'm beginning
to doubt that struts-config.xml is even being loaded.
What do you think might be the problem?


   thanks in advance,
   Phyl






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: webapp deployment

2004-07-12 Thread Jim Barrows


> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 12, 2004 4:25 PM
> To: Struts Users Mailing List
> Subject: RE: webapp deployment
> 
> 
> If it will run a servlet, it will run struts.  No?

Something is tickling the back of my mind about Servlet spec versions.  Could be 
cobwebs
On the other hand, didn't struts have issues with an app server because of 
serialization issues?

> 
> At 04:15 PM 7/12/2004, you wrote:
> > > -Original Message-
> > > From: Michael McGrady [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, July 12, 2004 4:12 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: webapp deployment
> > >
> > >
> > > Can you provide a bit more information and code?  What do you
> > > have for
> > > global forwards in your struts-config.xml?  Where is the
> > > "welcome" forward
> > > called?  Etc.
> >
> >What web server? If it doesn't do .war deployments, is it 
> compliant enough to
> >even run struts?
> >
> > >
> > > At 04:08 PM 7/12/2004, you wrote:
> > >
> > > >   Hi,
> > > >
> > > >I've been developing a struts webapp using tomcat and am now
> > > trying to
> > > >deploy it to my webserver. I copied every class and jsp
> > > manually since
> > > >there is no .war deployment available on the server.
> > > >Invoking a simple jsp directly works fine, however, when 
> invoking a
> > > >*struts' jsp* this exception is being thrown:
> > > >
> > > >javax.servlet.jsp.JspException: Cannot find global
> > > ActionForward for name
> > > >welcome
> > > > at
> > > >
> > > org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.
> > > java:142)
> > > > at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
> > > > at
> > > 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> > > > at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > ...
> > > >
> > > >this is the associated .jsp:
> > > >
> > > ><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> > > >
> > > >It seems  the "welcome" global forward isn't being found in
> > > >struts-config, but I'm sure it exists.
> > > >When calling an action directly I get a "Not Found" error.
> > > I'm beginning
> > > >to doubt that struts-config.xml is even being loaded.
> > > >What do you think might be the problem?
> > > >
> > > >
> > > >thanks in advance,
> > > >Phyl
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > 
> >-
> > > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: webapp deployment

2004-07-12 Thread Michael McGrady
If it will run a servlet, it will run struts.  No?
At 04:15 PM 7/12/2004, you wrote:
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 12, 2004 4:12 PM
> To: Struts Users Mailing List
> Subject: Re: webapp deployment
>
>
> Can you provide a bit more information and code?  What do you
> have for
> global forwards in your struts-config.xml?  Where is the
> "welcome" forward
> called?  Etc.
What web server? If it doesn't do .war deployments, is it compliant enough to
even run struts?
>
> At 04:08 PM 7/12/2004, you wrote:
>
> >   Hi,
> >
> >I've been developing a struts webapp using tomcat and am now
> trying to
> >deploy it to my webserver. I copied every class and jsp
> manually since
> >there is no .war deployment available on the server.
> >Invoking a simple jsp directly works fine, however, when invoking a
> >*struts' jsp* this exception is being thrown:
> >
> >javax.servlet.jsp.JspException: Cannot find global
> ActionForward for name
> >welcome
> > at
> >
> org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.
> java:142)
> > at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
> > at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > ...
> >
> >this is the associated .jsp:
> >
> ><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> >
> >It seems  the "welcome" global forward isn't being found in
> >struts-config, but I'm sure it exists.
> >When calling an action directly I get a "Not Found" error.
> I'm beginning
> >to doubt that struts-config.xml is even being loaded.
> >What do you think might be the problem?
> >
> >
> >thanks in advance,
> >Phyl
> >
> >
> >
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: webapp deployment

2004-07-12 Thread Jim Barrows
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 12, 2004 4:12 PM
> To: Struts Users Mailing List
> Subject: Re: webapp deployment
> 
> 
> Can you provide a bit more information and code?  What do you 
> have for 
> global forwards in your struts-config.xml?  Where is the 
> "welcome" forward 
> called?  Etc.

What web server? If it doesn't do .war deployments, is it compliant enough to
even run struts?

> 
> At 04:08 PM 7/12/2004, you wrote:
> 
> >   Hi,
> >
> >I've been developing a struts webapp using tomcat and am now 
> trying to 
> >deploy it to my webserver. I copied every class and jsp 
> manually since 
> >there is no .war deployment available on the server.
> >Invoking a simple jsp directly works fine, however, when invoking a 
> >*struts' jsp* this exception is being thrown:
> >
> >javax.servlet.jsp.JspException: Cannot find global 
> ActionForward for name 
> >welcome
> > at 
> > 
> org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.
> java:142)
> > at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
> > at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > ...
> >
> >this is the associated .jsp:
> >
> ><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> >
> >It seems  the "welcome" global forward isn't being found in
> >struts-config, but I'm sure it exists.
> >When calling an action directly I get a "Not Found" error. 
> I'm beginning
> >to doubt that struts-config.xml is even being loaded.
> >What do you think might be the problem?
> >
> >
> >thanks in advance,
> >Phyl
> >
> >
> >
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: webapp deployment

2004-07-12 Thread Michael McGrady
Can you provide a bit more information and code?  What do you have for 
global forwards in your struts-config.xml?  Where is the "welcome" forward 
called?  Etc.

At 04:08 PM 7/12/2004, you wrote:
  Hi,
I've been developing a struts webapp using tomcat and am now trying to 
deploy it to my webserver. I copied every class and jsp manually since 
there is no .war deployment available on the server.
Invoking a simple jsp directly works fine, however, when invoking a 
*struts' jsp* this exception is being thrown:

javax.servlet.jsp.JspException: Cannot find global ActionForward for name 
welcome
at 
org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:142)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
...

this is the associated .jsp:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
It seems  the "welcome" global forward isn't being found in
struts-config, but I'm sure it exists.
When calling an action directly I get a "Not Found" error. I'm beginning
to doubt that struts-config.xml is even being loaded.
What do you think might be the problem?
   thanks in advance,
   Phyl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]