direct acess to Action

2002-10-23 Thread Marcus Biel
Can I directly access an Action in the browser ? I want to create an ArrayList, before I display my jsp, because this jsp page needs to ue this ArrayList. Therefore I wrote an action mapping: action path=/createPlantList type=CreatePlantListAction name=createPlantListForm

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
Your xml has a typo. Kill the '' in the line: validate=false -Original Message- From: Marcus Biel [mailto:Marcus.Biel;bmw.de] Sent: Wednesday, October 23, 2002 19:20 To: [EMAIL PROTECTED] Subject: direct acess to Action Can I directly access an Action in the browser ? I want to create

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
No wait! Ignore what I said. Im talking rubbish! That is correct! Sorry embarrased/ -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Wednesday, October 23, 2002 19:26 To: Struts Users Mailing List Subject: RE: direct acess to Action Your xml has a typo

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
, 2002 19:29 To: Struts Users Mailing List Subject: RE: direct acess to Action No wait! Ignore what I said. Im talking rubbish! That is correct! Sorry embarrased/ -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Wednesday, October 23, 2002 19:26

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
[mailto:andrew.david.hill;gridnode.com] Sent: Wednesday, October 23, 2002 19:32 To: Struts Users Mailing List Subject: RE: direct acess to Action Hmm. I think the type attribute needs the full classname. ie: type=com.unist.plot.CreatePlantListAction Is that all the information it gave about the error

Re: direct acess to Action

2002-10-23 Thread Marcus Biel
When I have got to close the action tag, and when not ?? I thouht at the end of every action path there needs to be the closing bracket. Marcus -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: direct acess to Action

2002-10-23 Thread Marcus Biel
Well that is my full class name, I don't use a package. Log ? Which log ? Have a good look at the rest of your struts-config as it may well be a typo in some other part of the xml and not related to this particular action after all. Well, there could be a typo - but I dunno when to close action

Re: direct acess to Action

2002-10-23 Thread Marcus Biel
root cause: org.xml.sax.SAXException: Stopping after fatal error: Element type action must be followed by either attribute specifications, or /. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
[mailto:Marcus.Biel;bmw.de] Sent: Wednesday, October 23, 2002 20:21 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: direct acess to Action Well that is my full class name, I don't use a package. Log ? Which log ? Have a good look at the rest of your struts-config as it may well be a typo

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
to the contents of this message for further details. Sender = [EMAIL PROTECTED] Recipient(s) = [EMAIL PROTECTED];[EMAIL PROTECTED]; Subject = RE: direct acess to Action Scanning Time = 10/23/2002 08:33:20 Engine/Pattern = 6.150-1001/369 Action on message: The attachment sc.xml matched file blocking settings

Re: direct acess to Action

2002-10-23 Thread Dave Derry
Andrew, I appears that you missed one glaring error. In the getAlaskaGroups action, the vlaidate=false is seriously out of place. It also has a '' without a ''. Using a utility to validate the file is definately a GOOD idea. Dave D - Original Message - From: Andrew Hill [EMAIL

Re: direct acess to Action

2002-10-23 Thread Marcus Biel
If you just mean that I don't validate the action - I will take care about that at a later time. But what do you mean with: it also has a '' without ''. ? Isn't that the closing tag for the action path tag ? action path... ... .. input=/index.jsp ? Using a utility to validate the file is

Re: direct acess to Action

2002-10-23 Thread Dave Derry
No. The closing tag for the action follow the input attribute: action path=/getAlaskaGroups type=GetAlaskaGroupsAction name=getAlaskaGroupsForm scope=request input=/index.jsp closing tag here forward name=getAlaskaGroupsDone path=/index.jsp/ validate=false -- an

Re: direct acess to Action

2002-10-23 Thread Marcus Biel
So how about this: action path=/getAlaskaGroups type=GetAlaskaGroupsAction name=getAlaskaGroupsForm scope=session input=/index.jsp validate=false forward name=getAlaskaGroupsDone path=/index.jsp/ /action Would that be correct ??? thx in advance,

RE: direct acess to Action

2002-10-23 Thread Chappell, Simon P
: Re: direct acess to Action So how about this: action path=/getAlaskaGroups type=GetAlaskaGroupsAction name=getAlaskaGroupsForm scope=session input=/index.jsp validate=false forward name=getAlaskaGroupsDone path=/index.jsp/ /action Would that be correct