This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of React Cookbook: Recipes for Mastering the React Framework and have David Griffiths & Dawn Griffiths on-line!
See this thread for details.
Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!

Joe Matt

Greenhorn
+ Follow
since Feb 11, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Joe Matt

thank you. I wasn't passing the jsp through the controller and that was the problem.

-Joe
12 years ago
Hello,
I am running a web application on tomcat 6.0 using jsp and mvc controllers.I have a jsp page which has a drop down list. This is the first/home page of the application. The drop down should be populated with data from a database when the page is first loaded. I was hoping to get the data as an object in the controller and use the jstl tags in the jsp page to create the drop down list
I am using mvc but no frameworks like spring or struts. Is there any methods similar to the refrencedata method in spring to prepopulate the form with data from backend? I am confused as how to trigger the controller to load the data from the db since there are no actions performed on the page when the page gets loaded first.

Thanks
-Joe
12 years ago
Thank you very much for your reply. That is exactly what I was looking for.
12 years ago
JSP
Hello,

From my jsp page I need to call a url to a perl script running on apache web server. The perl script does some calculations and generates the output. I want the generated output to be included in the jsp page that calls the url

Any idea how to achieve it? I tried calling response.sendRedirect("http://myexampleserver.com/cgi-bin/www/test/test.pl") but it loads the resulting page genereated by the perl script into the browser with the url as "http://myexampleserver.com/cgi-bin/www/test/test.pl".

I want the resulting page to be embedded into test.jsp

thanks a lot
Joe
12 years ago
JSP