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/
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,
>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
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.
Hi all! I wonder how to manage this.
Suppose a local site called testsystem, whose index page can be visited as
http://localhost:8080/testsystem. Now I want an Action (named SearchAction)
to process all search requests presented by this uri-pattern:
http://localhost:8080/testsystem/search/???, whe
http://struts.apache.org/faqs/newbie.html
Martin
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, August 23, 2005 5:54 PM
Subject: A forward problem
Hi,
Frantically trying to get a client demo working for the morning and I
f
]
Sent: Aug 23, 2005 5:54 PM
To: Struts Users Mailing List
Subject: A forward problem
Hi,
Frantically trying to get a client demo working for the morning and I
feel like I ought to be able to work this out but I just can't.
I've got a demo system (not) running on a URL on tomcat 5.5/Jav
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
--
Hi,
Frantically trying to get a client demo working for the morning and I
feel like I ought to be able to work this out but I just can't.
I've got a demo system (not) running on a URL on tomcat 5.5/Java 1.5
with a file structure like
myserver/mydomain_com/mydomain.com/ so until I get the domain
9 matches
Mail list logo