How will we go diectly to the catalog login page?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How will we go diectly to the catalog login page?

gopalbi
Hello friends i need your help,


Problem
I have done these changes:Then it go to the https://localhost:8080/catalog/control/main. But the problem is that if we enter https://localhost:8080/webtools/control/main then it go to the catalog/control/main page. I need:

1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
changes:
 <init-param>
            <param-name>redirectPath</param-name>
            <param-value>/catalog/control/main</param-value>
 </init-param>

2.Framework/webtools/webapps/webtools/index.jsp
changes:
<%response.sendRedirect("catalog/control/main");%>

Need:
1.If i put http://localhost:8080/ -----> Then it go to the http://localhost:8080/catalog/control/main page.
2.if i put directly this http://localhost:8080/webtools/control/main on the browser then the webtools page open.

Please help me.
Thanks in Advance:

Thanks & reagards:
Gopal Bisht



Reply | Threaded
Open this post in threaded view
|

Re: How will we go diectly to the catalog login page?

Pranay Pandey
Hello Gopal,

At least we need to have the comp name in the url for moving further. As if
you enter http://localhost:8080/catalog then the redirect path comes from
the index.jsp and if you enter url like
http://localhost:8080/catalog/any/url then it takes redirectPath specified
in web.xml.

Thanks & Regards
--
Pranay Pandey

On Thu, Aug 21, 2008 at 1:50 PM, gopalbi <[hidden email]> wrote:

>
> Hello friends i need your help,
>
>
> Problem
> I have done these changes:Then it go to the
> https://localhost:8080/catalog/control/main. But the problem is that if we
> enter https://localhost:8080/webtools/control/main then it go to the
> catalog/control/main page. I need:
>
> 1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
> changes:
>  <init-param>
>            <param-name>redirectPath</param-name>
>            <param-value>/catalog/control/main</param-value>
>  </init-param>
>
> 2.Framework/webtools/webapps/webtools/index.jsp
> changes:
> <%response.sendRedirect("catalog/control/main");%>
>
> Need:
> 1.If i put http://localhost:8080/ -----> Then it go to the
> http://localhost:8080/catalog/control/main page.
> 2.if i put directly this http://localhost:8080/webtools/control/main on
> the
> browser then the webtools page open.
>
> Please help me.
> Thanks in Advance:
>
> Thanks & reagards:
> Gopal Bisht
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/How-will-we-go-diectly-to-the-catalog-login-page--tp19084456p19084456.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


--
Thanks & Regards
--
Pranay Pandey
Indore, India
Reply | Threaded
Open this post in threaded view
|

Re: How will we go diectly to the catalog login page?

BJ Freeman
In reply to this post by gopalbi
first problem is
you using https with an non ssl port 8080
if you do a
http://localhost:8080/catalog/
this will automatically
go to
https://localhost:8080/catalog/cntrol/main
this is built in.

to deal with
    http://localhost:8080/
it now redirects to /ecommerce



gopalbi sent the following on 8/21/2008 1:20 AM:

> Hello friends i need your help,
>
>
> Problem
> I have done these changes:Then it go to the
> https://localhost:8080/catalog/control/main. But the problem is that if we
> enter https://localhost:8080/webtools/control/main then it go to the
> catalog/control/main page. I need:
>
> 1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
> changes:
>  <init-param>
>             <param-name>redirectPath</param-name>
>             <param-value>/catalog/control/main</param-value>
>  </init-param>
>
> 2.Framework/webtools/webapps/webtools/index.jsp
> changes:
> <%response.sendRedirect("catalog/control/main");%>
>
> Need:
> 1.If i put http://localhost:8080/ -----> Then it go to the
> http://localhost:8080/catalog/control/main page.
> 2.if i put directly this http://localhost:8080/webtools/control/main on the
> browser then the webtools page open.
>
> Please help me.
> Thanks in Advance:
>
> Thanks & reagards:
> Gopal Bisht
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: How will we go diectly to the catalog login page?

gopalbi
Ok,
 
  but i need if i do this
http://localhost:8080/
then it directly go to the
https://localhost:8080/catalog/control/main

Is that possible:

Thanks for your reply.
Thanks & Regards:
Gopal Bisht
BJ Freeman wrote
first problem is
you using https with an non ssl port 8080
if you do a
http://localhost:8080/catalog/
this will automatically
go to
https://localhost:8080/catalog/cntrol/main
this is built in.

to deal with
    http://localhost:8080/
it now redirects to /ecommerce



gopalbi sent the following on 8/21/2008 1:20 AM:
> Hello friends i need your help,
>
>
> Problem
> I have done these changes:Then it go to the
> https://localhost:8080/catalog/control/main. But the problem is that if we
> enter https://localhost:8080/webtools/control/main then it go to the
> catalog/control/main page. I need:
>
> 1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
> changes:
>  <init-param>
>             <param-name>redirectPath</param-name>
>             <param-value>/catalog/control/main</param-value>
>  </init-param>
>
> 2.Framework/webtools/webapps/webtools/index.jsp
> changes:
> <%response.sendRedirect("catalog/control/main");%>
>
> Need:
> 1.If i put http://localhost:8080/ -----> Then it go to the
> http://localhost:8080/catalog/control/main page.
> 2.if i put directly this http://localhost:8080/webtools/control/main on the
> browser then the webtools page open.
>
> Please help me.
> Thanks in Advance:
>
> Thanks & reagards:
> Gopal Bisht
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: How will we go diectly to the catalog login page?

BJ Freeman
use to know where to go to redirect that but things have changed.
hopefully someone with more up to date info can tell you.
otherwise will check it out a little later


gopalbi sent the following on 8/21/2008 5:17 AM:

> Ok,
>  
>   but i need if i do this
> http://localhost:8080/
> then it directly go to the
> https://localhost:8080/catalog/control/main
>
> Is that possible:
>
> Thanks for your reply.
> Thanks & Regards:
> Gopal Bisht
>
> BJ Freeman wrote:
>> first problem is
>> you using https with an non ssl port 8080
>> if you do a
>> http://localhost:8080/catalog/
>> this will automatically
>> go to
>> https://localhost:8080/catalog/cntrol/main
>> this is built in.
>>
>> to deal with
>>     http://localhost:8080/
>> it now redirects to /ecommerce
>>
>>
>>
>> gopalbi sent the following on 8/21/2008 1:20 AM:
>>> Hello friends i need your help,
>>>
>>>
>>> Problem
>>> I have done these changes:Then it go to the
>>> https://localhost:8080/catalog/control/main. But the problem is that if
>>> we
>>> enter https://localhost:8080/webtools/control/main then it go to the
>>> catalog/control/main page. I need:
>>>
>>> 1. Framework/webtools/webapps/webtools/wEB-INF/web.xml
>>> changes:
>>>  <init-param>
>>>             <param-name>redirectPath</param-name>
>>>             <param-value>/catalog/control/main</param-value>
>>>  </init-param>
>>>
>>> 2.Framework/webtools/webapps/webtools/index.jsp
>>> changes:
>>> <%response.sendRedirect("catalog/control/main");%>
>>>
>>> Need:
>>> 1.If i put http://localhost:8080/ -----> Then it go to the
>>> http://localhost:8080/catalog/control/main page.
>>> 2.if i put directly this http://localhost:8080/webtools/control/main on
>>> the
>>> browser then the webtools page open.
>>>
>>> Please help me.
>>> Thanks in Advance:
>>>
>>> Thanks & reagards:
>>> Gopal Bisht
>>>
>>>
>>>
>>>
>>
>>
>