Re: A forward problem

2005-12-07 Thread Allen Charlton
I'll reconsider the issue according to your answer. You were right - I'm new to Struts. Now I'm reading "Struts in Action". However, you reminded me that the user-guide published by Apache is also excellent. I've downloaded it. Anyway I appreciate your advice and answer. Thanks Regards. On 12/7/

Re: A forward problem

2005-12-06 Thread Frank W. Zammetti
Allen Charlton wrote: You can use a wildcard mapping for this Okay, I'll try that out. Actually I just don't know where to set wildcard mappings. They get set in struts-config.xml. It's just an action mapping. Yes, here "???" is the query string, and the directory "/search/???", obviously,

Re: A forward problem

2005-12-06 Thread Allen Charlton
>You can use a wildcard mapping for this Okay, I'll try that out. Actually I just don't know where to set wildcard mappings. >Also, I'm not entirely sure what you mean when you say "where ??? is the >keywords for the search". Do you mean they will be in the form of a >query string, or literally p

Re: A forward problem

2005-12-06 Thread Frank W. Zammetti
You can use a wildcard mapping for this: http://struts.apache.org/struts-doc-1.2.8/userGuide/building_controller.html#action_mapping_wildcards In your case, something like this should work: Note that the servlet mapping remains whatever it is now, I'm guessing something like /* in your case.

Re: A forward problem

2005-08-23 Thread Martin Gainty
From what I can see you your alias could be incorrect in httpd.conf notice the Alias, Redirect, Directory and Location assignments in this example http://syger.com/jsc/docs/reader/jsp/environ.htm *or your actions in your webapp are not defined correctly* in struts-config.xml take a look at ht

Re: A forward problem

2005-08-23 Thread erikweber
If all your links and actions have the same problem (the paths can be translated following the same rule), then the easiest fix I can think of is to either use Apache mod_rewrite, or if you are using a bare Tomcat, a redirect Servlet. Erik -Original Message- From: [EMAIL PROTECTED] Se

RE: A forward problem

2005-08-23 Thread David G. Friedman
Chum, Have you moved your webapp to the webapps/ROOT tomcat folder? Also, do you have Tomcat directly on port 80 or are you using Apache or a connector (mod_jk or mod_jk2) to send port 80 to your Tomcat instance? Regards, David --