Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-16-2008, 11:12 AM
Member
 
Join Date: Jan 2008
Posts: 2
sujithc34 is on a distinguished road
how to load a servlet on index.jsp page...
can u please help me out...
Question is ...

i need to pass a value dyanamically on index page using a servlet.. so how do i call a servlet on start of index page....
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-19-2008, 01:28 AM
Senior Member
 
Join Date: Jun 2007
Location: Bali, ID
Posts: 100
wsaryada is on a distinguished road
I don't really understand your question. Do you mean that you want to call the index.jsp file from a servlet and pass some value to it? Or do you want your servlet to act as the index.jsp file?

If you want to call another jsp page from a servlet you can use a client-side send redirect or a server-side request dispatcher forward.
__________________
Website:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Blog:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Flesch Index L_22 Advanced Java 1 03-31-2008 06:30 PM
Replacing at an index bugger New To Java 2 01-29-2008 07:33 AM
Servlet calling JSP page gapper Java Servlet 1 01-15-2008 05:00 PM
z-Index problem mjdousti AWT / Swing 1 12-29-2007 02:34 AM
problems with array index mary New To Java 2 08-01-2007 05:30 PM


All times are GMT +3. The time now is 10:36 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org