Mayur Mayuresh

Greenhorn
+ Follow
since Jun 29, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mayur Mayuresh

Hi,

I am trying to open new link using window.open() in javascript.
It will open new window with the passed URL. But It is giving problem for further windows.

I will try to explain, hope you will understand what I need

On First page I just have a link for the next Main page. On this Main page I have to do my further stuff.

Stuff like, I need to open a window through this Main page and on submission of the details I wish to close the opened new window and redirect it back to the original (main) page.
But here it will open a new window on submit button instead of closign current window and refresh the original page.

First Page with link to main page ----> Main Page in new window -----> Child window of Main page -----> On submission of child window data it is opening New window with Main page data

In this case, I have three windows opened First Page , Main Page , Newly opened Main page on Child data submission.

What I need is, Only First Page & Main Page.

This issue will not occur if I use window.location() which will redirect the current URL.
But I want Main Page on new window other than First Page.

I think default browser window opened directly through Windows has different properties than the browser window which is opened using window.open().



Thanks in advance!

Mayuresh




What I understand is, you are having a table with list of trains out of which you are selecting one through radio button.
If I am not wrong, then try the following code :

Create two hidden variable inside your form :




Put this structure in your table :



Now in javascript put the following code :



And now on next jsp, try to get parameter 'radioValue'.

The code is as per my needs (it is passing values servlet & futher).... So modify it to work done

Hope it may work for you ! Best Luck

Thanks





15 years ago
JSP
can you please post the display tablecode ?
Hi
Misha Ver.

Thank you for your help.... may this solution will be help full next time for me .

I had resolved posted issue. It was related to "Quick Heal" firewall which was not allowing me to start the server inside eclipse (even not allowing me to run my application externally).
I have tried, by decreasing security level to "Allow Most" and it worked for me.

thank you again....

- Mayuresh
15 years ago
Hi
Friends

I am trying to run tomcat 6.0.20 through Eclipse 3.3.1.1.

Accordingly I set my all required environment variables as follows :

CATALINA_PATH : C:\Program Files\apache-tomcat-6.0.20

CATALINE_OPTS : -server -Xms128M -Xmx1028M

CLASSPATH : C:\apache-tomcat-6.0.20\lib\servlet-api.jar;C:\apache-tomcat-6.0.20\lib\jsp-api.jar;C:\apache-tomcat-6.0.20\lib\el-api.jar;C:\Servlets+JSP;C:\apache-tomcat-6.0.20\lib\annotations-api.jar;C:\apache-tomcat-6.0.20\lib\catalina.jar;C:\apache-tomcat-6.0.20\lib\catalina-ant.jar;C:\apache-tomcat-6.0.20\lib\catalina-ant.jar;C:\apache-tomcat-6.0.20\lib\catalina-ha.jar;C:\apache-tomcat-6.0.20\lib\catalina-tribes.jar;C:\Program Files\Java\jdk1.6.0_07;C:\Program Files\Java\jdk1.6.0_07\bin;C:\Program Files\Java\jdk1.6.0_07\lib;C:\Program Files\Java\jdk1.6.0_07\include;C:\Program Files\Java\jdk1.6.0_07\lib\tools.jar

JAVA_HOME : C:\Program Files\Java\jdk1.6.0_07

PATH : C:\Program Files\Support Tools\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\Program Files\Java\jdk1.6.0_07\bin;C:\Program Files\apache-tomcat-6.0.20\bin

with this setting, Tomcat is running fine externally, using "Startup.bat"

But when I am trying to start tomcat though eclipse, console shows :




and then giving an error :




Not getting why ?

I have configured eclipse for Tomcat through "Preferences". But still no use.

I am using Windows Server 2003. I also tried to install service for tomcat using "service.bat". But it was failed to install the same.
is there any issue because of no service created in windows services for tomcat ?

Please give me some solution..... It's really tough to find what's going on with this setup.

Thanking you

- Mayuresh










15 years ago