aspose file tools*
The moose likes Struts and the fly likes Problem in accessing app through URL(Through IIS) but working fine with localhost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in accessing app through URL(Through IIS) but working fine with localhost" Watch "Problem in accessing app through URL(Through IIS) but working fine with localhost" New topic
Author

Problem in accessing app through URL(Through IIS) but working fine with localhost

VishalVikrant Singh
Greenhorn

Joined: Nov 06, 2007
Posts: 4
Hi,

My application is struts based running in tomcat. Recently i migrated the application from tomcat to weblogic 8.1 SP4.

In weblogic, application is working fine with localhost:7000

But if I try to access the application through test.mydomain.com(Actual URL)
then application throws 403 error.


What more I found that when there is any forward in the action class, application repeats the previous URL(Not picking the forward path)

For ex
http://test.mydomain.com/test/logon.do
method being is added to it and URL becomes

http://test.mydomain.com/test/logon.do?m=begin

Control goes inside begin method and find the forward say success. Control goes to struts-config and then forward path is
/myAction.do?m=begin

At this point, application still forward the request to previous link
http://test.mydomain.com/test/logon.do?m=begin

and goes in loop.

The whole process works fine with
http://localhost:7000/test/logon.do

I have done all necessary configuration changes to the wlforward.ini and iisproxy.ini.

have added iispforward.dll into filter of IIS.

Still facing problem.


Please suggest me a solution.
Please let me know if more information is required to understand the issue.

help will be appriciated.

Thanks in advance.


Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in accessing app through URL(Through IIS) but working fine with localhost