Normally I will check current page using command request.getRequestURI() to 
process something. But in JBoss version 4.0.1, it doesn't return current page. 
See example below result from two version.

Boss 3.2.3
16:41:08,437 INFO  [STDOUT] 
request.getRequestURL()=http://localhost:8080/hit/login.jsp
16:41:08,437 INFO  [STDOUT] request.getRequestURI()=/hit/login.jsp

JBoss 4.0.1
16:43:33,125 INFO  [STDOUT] request.getRequestURL()=http://localhost:8080/hit/
16:43:33,125 INFO  [STDOUT] request.getRequestURI()=/hit/

Does anyone know how to get current page in 4.0.x?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884354#3884354

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884354


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to