Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

Java with Java Script

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Report post to moderator
JavaScript Question:
=====================
I have one iFrame in the page with src=User.java

User.java
----------



Login.java
-----------


BUT:
-----


I tried request.getHeader("Referer"); but its getting the iFrame URL instead of getting main page URL

Thanks in anticipation
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
A redirect will not pass any data to the next page. Are you trying to send some data back to the original page ?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
By the way, I do not know why you need to mix javascript and java files like the way you have. If you tell us your problem, we might be able to suggest a better solution
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Report post to moderator
Deepak Bala wrote:By the way, I do not know why you need to mix javascript and java files like the way you have. If you tell us your problem, we might be able to suggest a better solution


I am sorry for the late reply

Kindly see http://www.coderanch.com/t/474351/Servlets/java/Constructor

This is real problem that am trying to fix it

Best Regards
 
    Bookmark Topic Watch Topic
  • New Topic