Hello Ted,

Wednesday, June 27, 2001, 2:12:07 PM, you wrote:

TH> How about this:

TH> <action  path="/maauto/quote"
TH>               type="MyClass">
TH>                <forward   name="success" path="/maauto/done.do"/>

TH> <action  path="/maauto/done"
TH>               forward="/myapp/apage.jsp"
/>>

One question here... Imagine that you have one page to view result of
two actions  -

 <action  path="/maauto/quote" type="MyClass">
  <forward   name="success" path="/done.jsp"/>
 </action>
 
 <action  path="/maauto/another" type="MyClass">
  <forward   name="success" path="/done.jsp"/>
 </action>

But what URI can I place to the img tags to the JSP page to view
pictures without any troubles in both variants?
If I use relative path then for /maauto/quote it will be
/maauto/quote/image.gif and for another URL /maauto/another it will be
/maauto/another/image.gif. Bad choice. Try to use absolute path for
images - this way we must place our application to the root only or
always write hard coded path to the image URIs -
/application/image.gif.
How can we avoid such collision?
 
-- 
Best regards,
 Oleg                            mailto:[EMAIL PROTECTED]


Reply via email to