As far as I know you can simply configure Struts (web.xml) to use a .jsp extension instead of the .do extension.

http://marc.theaimsgroup.com/?t=106484450200003&r=1&w=2

Koni

Roland Carlsson wrote:

Hi!

I don't think i missed a line in my question. The only requests that is
going to tomcat from the webserver is .jsp.  No other. So I must somehow use
.jsp as .do and then forward the requests to struts from the .jsp. Wait a
minute... that should work, right? ... I create a .jsp infront of all my
.do:s and then have tomcat to forward the request internally to struts. Then
the webserver doesn't have to be configured to forward other requests than
those with .jsp to tomcat and I still can use everything good about struts
without to much extra work??

Thanks
Roland Carlsson

----- Original Message ----- From: "David Graham" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 22, 2003 4:29 PM
Subject: Re: Running struts without servlet




You can map the ActionServlet to /do* and use any other extension (or
none) on the url.  Your urls would look like

http://host.com/context_root/do/index.whatever

David


--- Roland Carlsson <[EMAIL PROTECTED]> wrote:


Hi!

I'm in the begining of developing a site to a customer. The customer has
a
private relationship with the owner of a web-hosting-company. My problem
is
that I can't use the .do extention. The web-host says that they will not
support the use of customer-specific extensions right now. But since I
like
struts and have some pre-made stuff that I'd like to use.

How do I config struts without using servlets? I guess that I somehow
have
to use a .jsp as controller and then use struts as an variable of that
page?
Have anyone had to do this before? Does it even work?

Thanks in advance
Roland Carlsson



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to