RE: Path .frame.content Does Not Start With a "/" Character

2004-09-22 Thread David G. Friedman
Caroline, are you by any chance using anything before the 1.1 stable release
such as 1.0, a 1.1 beta or release candidate (1.1-b3, 1.1-rc2, etc.) ?
I found this note in v1.1-b3 (and in the current 1.2.4 notes):

> ActionMapping: input property may now refer to an
> ActionForward rather than a module-relative path if
> inputForward is set to true on the module's ControllerConfig
> bean [org.apache.struts.config.ControllerConfig]

Since a tile seems to work from almost any place an ActionForward works in a
TilesRequestProcessor (from my point of view at least), it makes sense that
Tiles could, in 1.1, be used in the input parameter.   The default says
inputForward="false" so maybe your tile will work if you set it to true (so
the inputForward gets treated like a global actionForward and see tiles?) ?
The syntax would then be (in struts-config.xml):



Personally, I'd lean more towards Hubert Rabago's note that you have
specified in your struts-config.xml both ".frame.Content" and
".frame.content" in different places while you probably only used one of
those exact case-sensitive spellings in your tiles definition xmil file.
But hey, the above is what I get for trying to research why I thought you
couldn't use tiles in the input parameter of an action. *shrug*

Regards,
David

-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 11:32 PM
To: Struts Users Mailing List
Subject: RE: Path .frame.content Does Not Start With a "/" Character


Thanks Terry.  I could have sworn it didn't work
when I started using Struts (v1.0, I think).
Sadly, a quick bugzilla search didn't show up
anything noticeable.  Maybe I just mistyped it
ages ago and got that idea stuck in my head. :(

I actually wanted to lookup the previous 1.0 and 1.1
release notes to figure out where I got this wrong
idea but I deleted those versions from my HD. And now
I can't seem to find out how to download previous
releases from the Struts main site! It must be too
late at night if I can't find the older versions! :(

-David

-Original Message-
From: Terry Roe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 6:23 PM
To: Struts Users Mailing List
Subject: Re: Path .frame.content Does Not Start With a "/" Character


David,

Someone had better tell my application then, because it is using lots of
tiles for the input parameter.  ;)

I do recall getting the error described by Caroline some time ago, but
darned if I can remember how I resolved it.  (Too much water under the
bridge.  Or, too much beer on the brain?)  It may be that I had to go to
1.2.x to get it to work.  Just did a search of the Release Notes and it
wasn't mentioned there, though.

I do know it works because I am using validation and tiles for the input
parameter.

TR

David G. Friedman wrote:
> I recall reading that the action's "input" parameter cannot be a tile.
Try
> a JSP or action path.
>
> Regards,
> David
>
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 22, 2004 5:55 PM
> To: [EMAIL PROTECTED]
> Subject: Path .frame.content Does Not Start With a "/" Character
>
>
> I think I have made all kinds of mistakes in the
> Struts history.
>
> I was working on VALIDATION.  However, when I leave
> all text fields blank and submit the form for testing,
> I got HTTP Status 500 -
>
> java.lang.IllegalArgumentException: Path
> .frame.content does not start with a "/" character
>
> I think the problem is in my struts-config.xml file.
> I do not see that I put a "/" in front of any tile
> expressions; in particular, .frame.content
>
> (My struts-config.xml can be found in the attachment)
>
> The Tomcat logs file can also be found in the
> attachment.
>
> In the browser window, I got:
>
> java.lang.IllegalArgumentException: Path
> .frame.content does not start with a "/" character
>
>
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> 62)
>
>
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
> r.java:274)
>
>
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(Requ
> estProcessor.java:1012)
>
>
org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(
> TilesRequestProcessor.java:345)
>
>
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
> ava:980)
>
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
>
> javax.servlet.http.HttpServlet

答复: Path .frame.content Does Not Start With a "/" Character

2004-09-22 Thread Lu, Qiang \(Q.\)
Let me give you a download 
address:http://apache.linuxforum.net/dist/jakarta/struts/binaries/jakarta-struts-1.1.zip.

Good luck to you!

ïâââ 
âãâ 
â  ïçïç ç ïã â 
 


-ååéä-
åää: David G. Friedman [mailto:[EMAIL PROTECTED]
åéæé: 2004å9æ23æ 11:32
æää: Struts Users Mailing List
äé: RE: Path .frame.content Does Not Start With a "/" Character


Thanks Terry.  I could have sworn it didn't work
when I started using Struts (v1.0, I think).
Sadly, a quick bugzilla search didn't show up
anything noticeable.  Maybe I just mistyped it
ages ago and got that idea stuck in my head. :(

I actually wanted to lookup the previous 1.0 and 1.1
release notes to figure out where I got this wrong
idea but I deleted those versions from my HD. And now
I can't seem to find out how to download previous
releases from the Struts main site! It must be too
late at night if I can't find the older versions! :(

-David

-Original Message-
From: Terry Roe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 6:23 PM
To: Struts Users Mailing List
Subject: Re: Path .frame.content Does Not Start With a "/" Character


David,

Someone had better tell my application then, because it is using lots of
tiles for the input parameter.  ;)

I do recall getting the error described by Caroline some time ago, but
darned if I can remember how I resolved it.  (Too much water under the
bridge.  Or, too much beer on the brain?)  It may be that I had to go to
1.2.x to get it to work.  Just did a search of the Release Notes and it
wasn't mentioned there, though.

I do know it works because I am using validation and tiles for the input
parameter.

TR

David G. Friedman wrote:
> I recall reading that the action's "input" parameter cannot be a tile.
Try
> a JSP or action path.
>
> Regards,
> David
>
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 22, 2004 5:55 PM
> To: [EMAIL PROTECTED]
> Subject: Path .frame.content Does Not Start With a "/" Character
>
>
> I think I have made all kinds of mistakes in the
> Struts history.
>
> I was working on VALIDATION.  However, when I leave
> all text fields blank and submit the form for testing,
> I got HTTP Status 500 -
>
> java.lang.IllegalArgumentException: Path
> .frame.content does not start with a "/" character
>
> I think the problem is in my struts-config.xml file.
> I do not see that I put a "/" in front of any tile
> expressions; in particular, .frame.content
>
> (My struts-config.xml can be found in the attachment)
>
> The Tomcat logs file can also be found in the
> attachment.
>
> In the browser window, I got:
>
> java.lang.IllegalArgumentException: Path
> .frame.content does not start with a "/" character
>
>
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> 62)
>
>
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
> r.java:274)
>
>
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(Requ
> estProcessor.java:1012)
>
>
org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(
> TilesRequestProcessor.java:345)
>
>
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
> ava:980)
>
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
>
> ___
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
> http://messenger.yahoo.com
>
>
> -
> 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: Path .frame.content Does Not Start With a "/" Character

2004-09-22 Thread David G. Friedman
Thanks Terry.  I could have sworn it didn't work
when I started using Struts (v1.0, I think).
Sadly, a quick bugzilla search didn't show up
anything noticeable.  Maybe I just mistyped it
ages ago and got that idea stuck in my head. :(

I actually wanted to lookup the previous 1.0 and 1.1
release notes to figure out where I got this wrong
idea but I deleted those versions from my HD. And now
I can't seem to find out how to download previous
releases from the Struts main site! It must be too
late at night if I can't find the older versions! :(

-David

-Original Message-
From: Terry Roe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 6:23 PM
To: Struts Users Mailing List
Subject: Re: Path .frame.content Does Not Start With a "/" Character


David,

Someone had better tell my application then, because it is using lots of
tiles for the input parameter.  ;)

I do recall getting the error described by Caroline some time ago, but
darned if I can remember how I resolved it.  (Too much water under the
bridge.  Or, too much beer on the brain?)  It may be that I had to go to
1.2.x to get it to work.  Just did a search of the Release Notes and it
wasn't mentioned there, though.

I do know it works because I am using validation and tiles for the input
parameter.

TR

David G. Friedman wrote:
> I recall reading that the action's "input" parameter cannot be a tile.
Try
> a JSP or action path.
>
> Regards,
> David
>
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 22, 2004 5:55 PM
> To: [EMAIL PROTECTED]
> Subject: Path .frame.content Does Not Start With a "/" Character
>
>
> I think I have made all kinds of mistakes in the
> Struts history.
>
> I was working on VALIDATION.  However, when I leave
> all text fields blank and submit the form for testing,
> I got HTTP Status 500 -
>
> java.lang.IllegalArgumentException: Path
> .frame.content does not start with a "/" character
>
> I think the problem is in my struts-config.xml file.
> I do not see that I put a "/" in front of any tile
> expressions; in particular, .frame.content
>
> (My struts-config.xml can be found in the attachment)
>
> The Tomcat logs file can also be found in the
> attachment.
>
> In the browser window, I got:
>
> java.lang.IllegalArgumentException: Path
> .frame.content does not start with a "/" character
>
>
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> 62)
>
>
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
> r.java:274)
>
>
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(Requ
> estProcessor.java:1012)
>
>
org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(
> TilesRequestProcessor.java:345)
>
>
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
> ava:980)
>
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
>
> ___
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
> http://messenger.yahoo.com
>
>
> -
> 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: Path .frame.content Does Not Start With a "/" Character

2004-09-22 Thread Niall Pemberton
My guess is it can't find the tile you've specified in the input parameter -
either its wrong or something else is wrong in your tiles configuration

Niall

- Original Message - 
From: "Caroline Jen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 22, 2004 10:54 PM
Subject: Path .frame.content Does Not Start With a "/" Character


> I think I have made all kinds of mistakes in the
> Struts history.
>
> I was working on VALIDATION.  However, when I leave
> all text fields blank and submit the form for testing,
> I got HTTP Status 500 -
>
> java.lang.IllegalArgumentException: Path
> .frame.content does not start with a "/" character
>
> I think the problem is in my struts-config.xml file.
> I do not see that I put a "/" in front of any tile
> expressions; in particular, .frame.content
>
> (My struts-config.xml can be found in the attachment)
>
> The Tomcat logs file can also be found in the
> attachment.
>
> In the browser window, I got:
>
> java.lang.IllegalArgumentException: Path
> .frame.content does not start with a "/" character
>
>
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
62)
>
>
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
r.java:274)
>
>
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(Requ
estProcessor.java:1012)
>
>
org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(
TilesRequestProcessor.java:345)
>
>
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
ava:980)
>
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
>
> ___
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
> http://messenger.yahoo.com






> 
>
>"-//Apache Software Foundation//DTD Struts Configuration
1.1//EN"
>   "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
>
> 
>
> 
> 
> 
>
>   
>
>  
>
>   name="messageForm"
> type="org.apache.struts.validator.DynaValidatorForm">
>name="msgtype"
> type="java.lang.String"/>
>name="sender"
> type="java.lang.String"/>
>name="receiver"
> type="java.lang.String"/>
>name="messageTopic"
> type="java.lang.String"/>
>name="priority"
> type="java.lang.String"/>
>name="distribution"
> type="java.lang.String"/>
>name="messageBody"
> type="java.lang.String"/>
>   
>
>   name="editTitleForm"
> type="org.apache.struts.validator.DynaValidatorForm">
>name="document"
> type="java.lang.String"/>
>name="title"
> type="java.lang.String"/>
>  
>
>   name="editPageForm"
> type="org.apache.struts.validator.DynaValidatorForm">
>name="document"
> type="java.lang.String"/>
>name="title"
> type="java.lang.String"/>
>name="body"
> type="java.lang.String"/>
>  
>
>   name="addLinkForm"
> type="org.apache.struts.validator.DynaValidatorForm">
>name="document"
> type="java.lang.String"/>
>name="linkname"
> type="java.lang.String"/>
>name="linklocation"
> type="java.lang.String"/>
>  
>
>   name="addFileForm"
> type="org.apache.struts.validator.DynaValidatorForm&

Re: Path .frame.content Does Not Start With a "/" Character

2004-09-22 Thread Sean Schofield
I think the problem is that you do not have the tile mentioned anywhere in 
your struts config.  Try creating a global forward like this:


   

Then I believe you will be able to refer to it as your input attribute for 
validation.

HTH,
sean

- Original Message - 
From: "Terry Roe" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 22, 2004 6:23 PM
Subject: Re: Path .frame.content Does Not Start With a "/" Character


David,
Someone had better tell my application then, because it is using lots of 
tiles for the input parameter.  ;)

I do recall getting the error described by Caroline some time ago, but 
darned if I can remember how I resolved it.  (Too much water under the 
bridge.  Or, too much beer on the brain?)  It may be that I had to go to 
1.2.x to get it to work.  Just did a search of the Release Notes and it 
wasn't mentioned there, though.

I do know it works because I am using validation and tiles for the input 
parameter.

TR
David G. Friedman wrote:
I recall reading that the action's "input" parameter cannot be a tile. 
Try
a JSP or action path.

Regards,
David
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 5:55 PM
To: [EMAIL PROTECTED]
Subject: Path .frame.content Does Not Start With a "/" Character
I think I have made all kinds of mistakes in the
Struts history.
I was working on VALIDATION.  However, when I leave
all text fields blank and submit the form for testing,
I got HTTP Status 500 -
java.lang.IllegalArgumentException: Path
.frame.content does not start with a "/" character
I think the problem is in my struts-config.xml file.
I do not see that I put a "/" in front of any tile
expressions; in particular, .frame.content
(My struts-config.xml can be found in the attachment)
The Tomcat logs file can also be found in the
attachment.
In the browser window, I got:
java.lang.IllegalArgumentException: Path
.frame.content does not start with a "/" character
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
62)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
r.java:274)
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(Requ
estProcessor.java:1012)
org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(
TilesRequestProcessor.java:345)
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
ava:980)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

___
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com
-
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: Path .frame.content Does Not Start With a "/" Character

2004-09-22 Thread Hubert Rabago
These tile errors are usually typo-related.  Your struts-config has
both frame.content and frame.Content.  Maybe only one of these are
valid?  If both are really valid, make sure they're both in your tiles
config file.

Hubert

On Wed, 22 Sep 2004 14:54:37 -0700 (PDT), Caroline Jen
<[EMAIL PROTECTED]> wrote:
> I think I have made all kinds of mistakes in the
> Struts history.
> 
> I was working on VALIDATION.  However, when I leave
> all text fields blank and submit the form for testing,
> I got HTTP Status 500 -
> 
> java.lang.IllegalArgumentException: Path
> .frame.content does not start with a "/" character
> 
> I think the problem is in my struts-config.xml file.
> I do not see that I put a "/" in front of any tile
> expressions; in particular, .frame.content
> 
> (My struts-config.xml can be found in the attachment)
> 
> The Tomcat logs file can also be found in the
> attachment.
> 
> In the browser window, I got:
> 
> java.lang.IllegalArgumentException: Path
> .frame.content does not start with a "/" character
> 
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062)
> 
> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
> 
> org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
> 
> org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:345)
> 
> org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:980)
> 
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
> 
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> 
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
> 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> 
> ___
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
> http://messenger.yahoo.com
> 
> 
> -
> 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: Path .frame.content Does Not Start With a "/" Character

2004-09-22 Thread Terry Roe
David,
Someone had better tell my application then, because it is using lots of 
tiles for the input parameter.  ;)

I do recall getting the error described by Caroline some time ago, but 
darned if I can remember how I resolved it.  (Too much water under the 
bridge.  Or, too much beer on the brain?)  It may be that I had to go to 
1.2.x to get it to work.  Just did a search of the Release Notes and it 
wasn't mentioned there, though.

I do know it works because I am using validation and tiles for the input 
parameter.

TR
David G. Friedman wrote:
I recall reading that the action's "input" parameter cannot be a tile.  Try
a JSP or action path.
Regards,
David
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 5:55 PM
To: [EMAIL PROTECTED]
Subject: Path .frame.content Does Not Start With a "/" Character
I think I have made all kinds of mistakes in the
Struts history.
I was working on VALIDATION.  However, when I leave
all text fields blank and submit the form for testing,
I got HTTP Status 500 -
java.lang.IllegalArgumentException: Path
.frame.content does not start with a "/" character
I think the problem is in my struts-config.xml file.
I do not see that I put a "/" in front of any tile
expressions; in particular, .frame.content
(My struts-config.xml can be found in the attachment)
The Tomcat logs file can also be found in the
attachment.
In the browser window, I got:
java.lang.IllegalArgumentException: Path
.frame.content does not start with a "/" character
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
62)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
r.java:274)
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(Requ
estProcessor.java:1012)
org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(
TilesRequestProcessor.java:345)
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
ava:980)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

___
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com
-
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: Path .frame.content Does Not Start With a "/" Character

2004-09-22 Thread David G. Friedman
I recall reading that the action's "input" parameter cannot be a tile.  Try
a JSP or action path.

Regards,
David

-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 5:55 PM
To: [EMAIL PROTECTED]
Subject: Path .frame.content Does Not Start With a "/" Character


I think I have made all kinds of mistakes in the
Struts history.

I was working on VALIDATION.  However, when I leave
all text fields blank and submit the form for testing,
I got HTTP Status 500 -

java.lang.IllegalArgumentException: Path
.frame.content does not start with a "/" character

I think the problem is in my struts-config.xml file.
I do not see that I put a "/" in front of any tile
expressions; in particular, .frame.content

(My struts-config.xml can be found in the attachment)

The Tomcat logs file can also be found in the
attachment.

In the browser window, I got:

java.lang.IllegalArgumentException: Path
.frame.content does not start with a "/" character

org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
62)

org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
r.java:274)

org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(Requ
estProcessor.java:1012)

org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(
TilesRequestProcessor.java:345)

org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
ava:980)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)

org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



___
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com


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



Path .frame.content Does Not Start With a "/" Character

2004-09-22 Thread Caroline Jen
I think I have made all kinds of mistakes in the
Struts history.

I was working on VALIDATION.  However, when I leave
all text fields blank and submit the form for testing,
I got HTTP Status 500 -

java.lang.IllegalArgumentException: Path
.frame.content does not start with a "/" character

I think the problem is in my struts-config.xml file. 
I do not see that I put a "/" in front of any tile
expressions; in particular, .frame.content

(My struts-config.xml can be found in the attachment)

The Tomcat logs file can also be found in the
attachment.  

In the browser window, I got:

java.lang.IllegalArgumentException: Path
.frame.content does not start with a "/" character

org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062)

org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)

org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)

org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:345)

org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:980)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)

org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



___
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com

http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>







  

 

 
  
  
  
  
  
  
  
  

 
  
  
 

 
  
  
  
 

 
  
  
  
 

 
  
  
  
 

  




  

 

 

 

 http://jakarta.apache.org/"/>

 

 

  



  








   



   







  



   





   


  

  

  




  






2004-09-22 17:42:59 
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): 
ruleChain: [org.apache.webapp.balancer.RuleChain: 
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect 
URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: 
Target param name: paramName / Target param value: paramValue / Redirect URL: 
http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: 
Redirect URL: http://jakarta.apache.org]]
2004-09-22 17:43:00 StandardContext[/artimus_1_0_b4]action: Loading application 
resources from resource resources.application
2004-09-22 17:43:00 StandardContext[/artimus_1_0_b4]action: Initializing configuration 
from resource path /WEB-INF/struts-config.xml
2004-09-22 17:43:00 StandardContext[/artimus_1_0_b4]action: Initializing application 
data source org.apache.struts.action.DATA_SOURCE
2004-09-22 17:43:00 StandardContext[/artimus_1_0_b4]action: Exception initializing 
application data source org.apache.struts.action.DATA_SOURCE
java.sql.SQLException: open: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
at org.apache.struts.util.GenericDataSource.open(GenericDataSource.java:662)
at 
org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:1078)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
at 
org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.java:52)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:617)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
at org.apache.catalina.startup.HostConfig.