944,116 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 116003
  • JSP RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Nov 1st, 2009
0

Thanks

Click to Expand / Collapse  Quote originally posted by nikkiH ...
That's great, but since you're trying to teach us how NOT to use scriptlets, I'd love to know the right way to do this.

<%
response.sendRedirect("someUrl");
%>

Please share.
I'm much more a C# person than Java these days and the Java I did do was on an old crappy server that didn't fully support JSTL, so I have no idea how else you would do this. This is what Sun had on its site. Please tell me the better way to do this so I know for future reference.

_______________________________________________________ Reply from shobana
----------------------------------------------------------------------------------
Your code helped me a lot..
Thank you
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shobana_soma is offline Offline
2 posts
since Nov 2009
Nov 2nd, 2009
0
Re: How to redirect a page in JSP
JSP Syntax (Toggle Plain Text)
  1. <c:redirect url="http:www.someurl.com" />
Reputation Points: 36
Solved Threads: 57
Posting Whiz
Thirusha is offline Offline
355 posts
since Mar 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: How to insert data into database?
Next Thread in JSP Forum Timeline: Session.isNew() problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC