Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

The request sent by the client was syntactically incorrect ??

 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
New to struts and I ma not sure what I am doing wrong. When my forward action is called I get an error. Here is the error and a break-down of what I assume to be the relevant pieces of code

Why is it putting the space in the path? The folder is CurrentSupplies (no spaces) but it seems to keep looking for Current[space]supplies

Error-
The request sent by the client was syntactically incorrect (Invalid path /Current Supplies/menu was requested).
Struts-config (relevant part)-


Forward Action �


Why is it putting the space in the path? The folder is CurrentSupplies (no spaces) but it seems to keep looking for Current[space]supplies
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe the problem lies outside of the code you have shown us. It is the call to the /CurrentSupplies/menu action that is the problem, not the forward. Search your JSPs and html files for a link to /Current Supplies/menu or /Current Supplies/menu.do.

One thing that will cause problems in the configuration file you showed us, though is:

Originally posted by Pat Peg:
path="/app/ currentSupplies /main.jsp"




This shouldn't have any spaces in it.
 
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad:
The trailboss has a kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic