Hi Dormilich,
Good to see your reply.
is there any chance for me to encode password like ****.
waiting for your suggestion.
regards,
rama
User Profile
Collapse
-
How to hide or encode the parameter while passing to a new window?
Hi,
In my webapplication i am opening new window by passing some parameters.i am passing password also as parameter.But i need to hide it or encode it.
how can i do this.Following is my code:
...Code:function getUrl(gsamName,deviceName,userName,passWord){ window.open("./viewMapToolScreen.html?com.smarts.autoAttachDM="+gsamName+"&class=com.smarts.webapps.SmWebMapApp&com.smarts.launch.class=UnitaryComputerSystem&com.smarts.launch.instance="+deviceName+"&com.smarts.map.showAllBusiness=1&com.smarts.userid="+userName+"&com.smarts.password="+passWord); -
closing the parent window in html
Hi,
Here there are two htmls(Details.h tml and popup.html).whe never popup.html loaded details.html window need to be closed.but here both windows are closing at a time.could any body suggest what i need to do to close only parent window?
thanks in advance.
...Code://DETAILS.HTML <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Leave a comment:
-
Hi,
Thanks for your suggestions.
Now that syntax problem has been cleared.
Regards,
RamaLeave a comment:
-
Close the parent window when opening popup window
Hi,
i am creating a popupwindow example.After entering the details i want to close the parent window(details. html)as it is moving to new window.could anybody suggest how can i do both task at a time i.e., closing the parent window and opening the new window.
Thanks in advance.
Following is my code:
Popup.html
...Code:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
Hi,
Following is my code from my browser(view source).i think it may help you.
...Code:<input type="submit" name="submit" value="click" onclick = "window.open('/Dashboard/viewMapToolScreen.html?com.smarts.autoAttachDM=10.80.159.20:7001/SAM-GSAM1&class=com.smarts.webapps.SmWebMapApp&com.smarts.launch.class=<\%=request.getParameter('classname')%>&com.smarts.launch.instance=SESSION-APP-InChargeService_SAM-T1-bay->APP-InChargeService_IP-Perspective&com.smarts.map.showAllBusiness=1&com.smarts.userid=admin&com.smarts.password=changeme')"/>Leave a comment:
-
Regarding html syntax
Hi,
i am passing arguments to a new window in the below manner:
...Code:<input type="submit" name="submit" value="click" onclick = "window.open('<c:url value='/viewMapToolScreen.html?com.smarts.autoAttachDM=10.80.159.20:7001/SAM-GSAM1&class=com.smarts.webapps.SmWebMapApp&com.smarts.launch.class=<\%=request.getParameter(\'classname\')%\>&com.smarts.launch.instance=SESSION-APP-InChargeService_SAM-T1-bay->APP-InChargeService_IP-Perspective&com.smarts.map.showAllBusiness=1&com.smarts.userid=admin&com.smarts.password=changeme'></c:url>')"/> -
How to move code into popup window without separate HTML?
Hi,
Following is my code.Here i am able to see dropdownlist and text field in a page by clicking a link.but now i need to get this as a popup window but not in a separate html.could you please help me how can i do this..thanks in advance.
...Code:<table border="0" align="center" bgcolor="999999"> <tr> <td>choose from the list</td> <td> <select
Last edited by Niheel; Dec 13 '10, 06:24 AM. -
How to read text file via JSP
Hi,
i am unable to read txt file from jsp. i am getting null pointer exception.
path of jsp: WEB-INF/views/main.jsp
path of txt: WEB-INF/views/ServerDetails.t xt
Following is the code...please suggest where can i make changes to solve the issue.
...Code:<% BufferedReader input = null; String serverName; try { input = new BufferedReader(new FileReader("ServerDetails.txt")); -
Hi Jking,
Thanks for your suggestion.
Now i am able to see the selected item in my title.
regards,
Rama KrishnaLeave a comment:
-
Title name of the window should be the same as selected option
Hi,
Please see the below html code.i am able to get whatever selected in the drop down list box.
But i need to see the title name of the window [<title>]as it is selected could you please suggest in this regard.
Follwing is my code:
...Code:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>
No activity results to display
Show More
Leave a comment: