I have a simple problem but I haven't had any luck finding the solution with Google.
I want to expand custom JSP tags but I want to be able to parse it differently depending on request information. For example the tag:
<my:tag type="..."/>
Should be expanded differently if the parameters in the request differ:
http://localhost:8080/context/servlet?arg=web
Should yield a different result than:
http://localhost:8080/context/servlet?arg=mobile
Does anybody know how the tag parsing class (usually expands TagSupport) can access or be passed parameters from the request?
Inside the tag class, you can access the request object and get the parameter by