1 Reply Latest reply: Jul 29, 2009 1:30 AM by 807567 RSS

    How to create custom url with struts2+spring  application

    807567
      Hi EveryOne,

      I am new to struts2 application. I have the requirement on "*custom URL*"
      when I enter into my project like http://localhost:8080/App/secure/someaction.action?bookname=kathersera
      this is opening the particuler book in my project. upto this its fine.

      Now My requirement is that

      Even if we type like (+http://localhost:8080/App/kathersera+) author name it should go to that particular page.

      Any idea to implement this feature.
      I searched a lot on internet. I didnot get any information.

      Please help me to come out this problem.

      thanks in advance
        • 1. Re: How to create custom url with struts2+spring  application
          807567
          Hi PYRAMESH,

          U are using opening page using server. So, If u do not make a request to server to veiw the page how could u see the page directly. So u have to make any event to open the page Like here http://localhost:8080/App/secure/someaction.action?bookname=kathersera, the page is opened on the result of someaction.action. but if u try to use http://localhost:8080/App/kathersera, u r not using any action, so it s not possible to open the page directly.