File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes How to do URL re-direction in Grrovy? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "How to do URL re-direction in Grrovy?" Watch "How to do URL re-direction in Grrovy?" New topic
Author

How to do URL re-direction in Grrovy?

sarath gowd
Greenhorn

Joined: Sep 19, 2011
Posts: 13
Hi All,

I have one URL and two variables which should be passed along with the URL.

I need to do URL re-direction.

So, how to implement this?

And , how to define hidden variables using groovy?


Thanks in Advance
Pankaja Shinde
Ranch Hand

Joined: Sep 15, 2006
Posts: 87
If you are using Groovy with Grails framework then read this doc.

http://grails.org/doc/2.2.x/ref/Controllers/redirect.html
 
Don't get me started about those stupid light bulbs.
 
subject: How to do URL re-direction in Grrovy?
 
Similar Threads
Redirect from servlet to EXTERNAL URL using POST
How define Reference resource to a java.net.URL type
How to get the URL of the page which redirected to our site ?
Accessing a context.xml from a virtualhost
a file in your Jar, How do I access it in code?