Do you mean have a URL like this http://localhost:8080/myapp/do/welcome ?

This is controlled by the servlet mapping in web.xml

  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>/do/*</url-pattern>
  </servlet-mapping>

You can make the url-pattern anything you like, so you could have /action/*
or /cart/* for example.
I believe the only limitation is that if you use multi-ple struts modules
you have to use extension mapping (*.do)

Frames? Ugh! ;-)

Steve


> -----Original Message-----
> From: Simon Kelly [mailto:[EMAIL PROTECTED]
> Sent: June 24, 2003 12:20 AM
> To: Struts Users Mailing List
> Subject: Re: Http:// line display
>
>
>
> > Have a frameset with just one frame.
>
> Thanks Adam, I sort of see how that would work.  I'm not that hot on html
> though, I just do basic stuff, one thing one page type of thing.
>
> How would the calls to the struts controller behave in a frameset
> enviroment? And how would I need to designate the frameset as the
> target for
> the returning html output from the view?
>
> Cheers
>
> Simon
>
>
> ---------------------------------------------------------------------
> 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