• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Switch Action Example

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all

I am facing problem in using switch Action .
This is my action tag
<action path="/switchExample" type="switchAction.SwitchAction">
<forward name="success" path="/switch.do?page="/switchTrial.do&prefix=/admin" />
</action>

when i validate my struts-config page it gives me the following error:
Element type "forward" must be followed by either attribute specifications, ">" or "/>". [257]

Can anyone help me plzzzzzzzzzzzzz..
Wating for a positive response
Thanks in advance
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch !

Can anyone help me plzzzzzzzzzzzzz..



Please use RealWord,
and problem seems to be in this line :

<blockquote>code:
<pre name="code" class="core"> <forward name="success" path="/switch.do?page="/switchTrial.do&prefix=/admin" /> </pre>
</blockquote>

look at the " " , they are not properly closed !

Hope this Help !
 
If you're gonna buy things, buy this thing and I get a fat kickback:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic