473,372 Members | 1,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

forward the request to a window with specific parameters (please help)


When the user click submit button in page0.asp, it will post the form
request to page1.jsp.
page0.asp and page1.jsp are in separate machines. In page1.jsp, based
on the parameter
interfaceName, it will forward to different jsp pages. However, we want
to forward the request
to a window with parameter like the following, without the menu bar and

The question is how to forward the request to a window like that?


"height=500,width=500,status=yes,toolbar=no,menuba r=no,location=no");
String interfaceName = request.getParameter("interfaceName");
if (interfaceName != null)
{ if (interfaceName.equalsIgnoreCase("id1"))
else if (interfaceName.equalsIgnoreCase("id2"))
else if (interfaceName.equalsIgnoreCase("id3"))

request.getRequestDispatcher(url).forward(request, response);
Please help and advise. thanks!!

Jul 23 '05 #1
3 1957
On 23 Dec 2004 13:56:42 -0800, jr********@hotmail.com wrote:
However, we want
to forward the request
to a window with parameter like the following, without the menu bar and

A 'pop-up'?

Controlled intranet, or on the wilds of the internet?

If it is the internet, toss what you want. The *user* generally
wants *no* friggin* *pop-ups*. This is of major relevance to a
web application, since browser and plug-in manufacturers are finally
listenning to users and including pop-up blockers as default.
Your web-app. will have a high maintentance/suppport overhead if
you attempt to release an internet based web-app. with pop-ups.

F'Ups set to c.l.javascript, as those folks have fought the hard
yards when it comes to pop-ups.

Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jul 23 '05 #2

Andrew Thompson wrote:
Controlled intranet, or on the wilds of the internet?

This is intranet web application. And this is exactly what customer

please advise. thanks!!

Jul 23 '05 #3
<jr********@hotmail.com> wrote
Andrew Thompson wrote:
However, we want
to forward the request
to a window with parameter like the following, without the menu
bar and toolbar.

Controlled intranet, or on the wilds of the internet?
I don't know your parameters, but the principle of pop-ups is this:

window.open('someurl.html','windowname','features' );


A thought: making a window not resizable is silly. People who have no desire
to resize the window will never notice anything either way, while those that
do want to change the size and find it impossible to do, will rightly wonder

This is intranet web application. And this is exactly what customer

Nevertheless, if your customer is not a web expert (their request for a
pop-up proves this), you should inform them of the downsides of popups. This
may be a controlled environment, where you may have carefully disabled all
pop-up blocking software, but still the majority of users (your customer's
employees) *hate* pop-ups, just because they pop up. This may not be
rational, but it is a fact. No amount of programming can alter that. And
right they are: pop-ups break the natural flow of webpages, mess up their
preference settings, etc. With modern browsers capable of DHTML and XML HTTP
requests, there is nothing that cannot be done without pop-ups.

The same in other words: it is your responsibility to talk to your customer
and stop them wanting pop-ups at all. As long as they see some good in
pop-ups, you have not done your work properly.

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Ashvin Navare | last post by:
Hi, We want to disable BACK & FORWARD button of the browser so that user is forced to navigate through the menu options provided in the site. The browser used is Internet Explorer only. Please...
by: Steven T. Hatton | last post by:
Should I be able to forward declare something from a namespace different from the current one? For example the following code compiles: //testdriver.hpp #ifndef TESTDRIVER_HPP #define...
by: eswanson | last post by:
I have a web page I need to post a file plus some other fields to it. How can I do this from a asp.net page. I know I can send individual fields to the other page, but how do I send a file to the...
by: Maciek | last post by:
Hi When I set Session state mode to StateServer (IIS 6.0; windows2003; .NET 2.0) in my application, I have recived this message:...
by: Nalaka | last post by:
Hi, I have some request specific data that gets created in a "early event", that I need to pass around to many other events. I need access to this data during that request. (and more importantly...
by: mark.moore | last post by:
I know this has been asked before, but I just can't find the answer in the sea of hits... How do you forward declare a class that is *not* paramaterized, but is based on a template class? ...
by: dougwig | last post by:
I'm trying to handle the scenario where a user's session times out and and their ajax request triggers a redirection by the webserver (302 error?). I'm using Prototype 1.4 and the my works great...
by: magister pips | last post by:
Hello, I have encountered some strange behaviour when using the XMLHTTP Request object in Javascript to return xml from a C# Webservice Method. I create a SOAP envelope and send it off to the...
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.