Tushar J Kandalgaonkar

Greenhorn
+ Follow
since Mar 11, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tushar J Kandalgaonkar

Thanks anandraj

It help us in resovle the issue.

Thanks
Tushar
10 years ago
Thanks anandraj


I'm able to deploy our application as default application now. As we are deploying our application as EAR file

I change the context path in application.xml as <context-root>/</context-root> and also updated the URL pattern in application web.xml to <url-pattern>/</url-pattern> from <url-pattern>/SearchTopic <url-pattern>

Now the issue we are facing

#1 On the Target server one application( deploy on different application server) is already
listening on port 80, so now requirment is that we have to configure our application on 8080 and it should be access with out specifying the port number in the URL like

http://www.mysearch.com


#2 When application is set as deafult application it not able to find the image from image folder

The directory struture is like this

-WebContent
| - images
| - WebInf

access the image using code

"<img src=\"" + request.getContextPath() + "images/my-image.jpg\" />"


The value of ContextPath is coming as blanks and no image is display

Thanks
Tushar

10 years ago
Hi,
I've created a web application and it runs on JBoss 5.1.0.GA using the following url:

http://mok.services.com:8080/MySearch/SearchTopic

I have to confiigure this so that web application can be access like

http://www.mysearch.com

this application should come up by default (That means, we should get rid of /MySearch/SearchTopic
and also the port number. I already have an IP address that maps to www.mysearch.com
.
Thanks in advance

Tushar
10 years ago