A good workman is known by his tools.
Originally posted by Carol Enderlin:
I think it would be confusing to have the url pattern for struts set to *.jsp unless you're not forwarding to *.jsp's.
A good workman is known by his tools.
A good workman is known by his tools.
Originally posted by Marc Peabody:
But you can't forward to a physical jsp file when all *.jsp are sent to the ActionServlet.
Originally posted by Marc Peabody:
But you can't What is wrong with the conventional*.do?
Originally posted by Edward Chen:
Marc, I read your post again.
when I send all jsp file to ActionServlet, it will forward to another jsp page. when Struts see the forwarded jsp page is with *.jsp, it will route this forward back to ActionMapping, then it look up the mapping, there is no path for that page. so it throw invalid path error.
My understanding is right ? This is what you are talking about ?
Before I did some Swing GUI programming, so I always want to use Swing patten to do web app. All actions should go to a central controller.
Now in the web, how could a jsp file only have presentation coding when it has dynamic contents ?
A good workman is known by his tools.
How do they get the deer to cross at the signs? Or to read this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|