that should work fine
But you can only do that when a request is comming in not in construction time of the webapp.

johan


On 7/3/06, R.A < [EMAIL PROTECTED]> wrote:

Hi Johan.

I remove base tag and set "getApplicationSettings().setContextPath(path)" in
my webapplication class's init method, work fine.
Thank you!
But...I don't know how do I "path" dynamically, so I set direct path, String
path = "http://localhost:9080/myapp/pc", this time.
How do I get HttpServletRequest in webapplication class?
I tried HttpServletRequest request =
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest(),
NullPointerException occured.

Regards,
R.A
--
View this message in context: http://www.nabble.com/about-base-path-tf1882484.html#a5149488
Sent from the Wicket - User forum at Nabble.com.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to