I have a jsp page that will be deployed on Oracle AS. I need to take the username of the person logged in and use that to call a report from the jsp page. The following is the code that shows how the username is found from the App Server.
<P>Hello <%= pReq.getUser().getName() %>.</P> (this will display "Hello Intern")
I need to take that username and use it in a URL when someone presses a button. i.e.
<user clicks button>
link to the following url
Notice the username at the end of the URL. I know this must be very simple, but please help me out. I am new to jsp, I have done a couple of Java apps, so I know a <very> little.