[jboss-user] [JBoss Seam] - access URL parameters directly
do-not-reply at jboss.com
Fri Jan 18 08:46:01 EST 2008
I have a servlet, that will, in cas of an error, redirect to a custom errorpage.
the errormessage is URL encoded and appended to the custom error page URL: e.g. http://domain.my/myproject/customerror.seam?err=Some+error
what would be the easiest was to just display the URL parameter in the custom errorpage?
now I have created a staless session bean and I use the @RequestParameter annotation
in the page, I simply access this SLB:
creating a SLB (including local interface) just to display a URL parameter seems quite a lot of work...
could I maybe use a trick in the pages.xml file?
any better ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121277#4121277
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121277
More information about the jboss-user