struts action

M

Marcin Go³dyn

Hi
this is part of my struts-config.xml
<global-forwards>

<forward name="showitem" path="/ShowItem.do"/>

</global-forwards>

<action-mappings>

<action path="/ShowItem" type="praca.app.ShowItem"/>

</action-mappings>



when i use

<a href="/PracaMag/ShowItem.do;jsessionid='654765765745687488764">



i get this message

type Status report

message Invalid path /ShowItem was requested

description The request sent by the client was syntactically incorrect
(Invalid path /ShowItem was requested).
 
W

Wendy Smoak

Marcin Go³dyn said:
when i use
<a href="/PracaMag/ShowItem.do;jsessionid='654765765745687488764">
i get this message
type Status report
message Invalid path /ShowItem was requested

Well, what did you want to happen? You didn't ask a question...

Just a guess, but I think your forward ought to be going to a JSP or some
other 'view' component, not back to the Action.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,072
Latest member
trafficcone

Latest Threads

Top