Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to get Port number ?
How to get Port number ? [message #720674] Wed, 31 August 2011 04:11 Go to next message
Swap  is currently offline Swap Friend
Messages: 30
Registered: March 2011
Member

Hi,

My RAP application is deployed on JBoss on a particular port.

I want get port in application at runtime on which this application is deployed.

Is it possible? If so, How it can be done?

Thanks in advance
(no subject) [message #720731 is a reply to message #720674] Wed, 31 August 2011 06:59 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Swap,
try RWT.getRequest().getLocalPort()
Best,
Ivan

On 8/31/2011 7:11 AM, Swap wrote:
>
> Hi,
>
> My RAP application is deployed on JBoss on a particular port.
>
> I want get port in application at runtime on which this application is
> deployed.
>
> Is it possible? If so, How it can be done?
>
> Thanks in advance
Previous Topic:Is it possible to get the request parameters in Post way
Next Topic:Getting started with Rap/Spring/Tomcat
Goto Forum:
  


Current Time: Fri Apr 26 14:46:16 GMT 2024

Powered by FUDForum. Page generated in 0.03531 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top