laks subramanian

Greenhorn
+ Follow
since Feb 05, 2002
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 laks subramanian

Hi,
I have a couple of questions. Correct me if my question is wrong. I have a file that has been made made into soap deployable format( what extension does that file have?). I used cold fusion for doing that. Now i have to load that file into a webserver thats located remote. my question is shud i have something called soap sever inorder to enable the client access it. In that case can you sujjest any easy to configure server and if possible procedure to configure the server and how to make the client access it. I am sorry if my question is not coherent.
thanks
19 years ago
Folks,
I want to set the JVM and Java Settings in the cold fusion admistrator.
I would like to know the values that I should give in all the text fields under JVM and Java Settings. Actually I am doing all these stuff to parse an XML document using CFML.
The CFadministrator asked to input the following:
Specify any standard JVM initialization options as name-value pairs separated by space(s):
java.lang.Compiler=NONE java.security.manager=java.rmi.RMISecurityManager

Since i am not sure what its saying, i tried giving the following
java.lang.Compiler=NONE java.security.manager=java.rmi.RMISecurityManager
It gave the following error.
Unhandled System exception !
Failed to create JavaVM. JNI_CreateJavaVM returned error code JNI_ERR (this may indicate an unrecognized option string)

What i am trying to do is parse the xml document. What are the initilisation parameters needed here?
Thanks in advance.
I could not get into the default page that displays when we access the local host.
19 years ago
hi,
I tried to install tomcat in my machine and looked like everything installed fine.but i when i tryed accesing by typing local host:8080 it is show error page. i did set javahome and tomcat home. i also changed the default port to 80 in the xml file. it did not work either. I have jswdk and weblogic installed. In jswdk i can execute servlet examples, but it shows socket error when i try to execute jsp examples
Any idea folks?
Thanks
19 years ago
folks
my modified jsp file looks like this.
however i get the following error.
D:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp\jsp_servlet\__nextpage.java:88: cannot resolve symbol
symbol : variable user
location: class jsp_servlet.__nextpage
out.print(weblogic.utils.StringUtils.valueOf( user.getUsername() )); //[ /NextPage.jsp; Line: 8]
^
D:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp\jsp_servlet\__nextpage.java:90: cannot resolve symbol
symbol : variable user
location: class jsp_servlet.__nextpage
out.print(weblogic.utils.StringUtils.valueOf( user.getEmail() )); //[ /NextPage.jsp; Line: 9]
^
D:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp\jsp_servlet\__nextpage.java:92: cannot resolve symbol
symbol : variable user
location: class jsp_servlet.__nextpage
out.print(weblogic.utils.StringUtils.valueOf( user.getAge() )); //[ /NextPage.jsp; Line: 10]
19 years ago
hi pradeep,
I am not sure what you are talking about. The
following are the files invloved. Can you explain with reference to these.
Thanks
saveName.jsp
<jsp: useBean id = "user" class = "UserData " scope ="session"/>
<jsp: setProperty name ="user" property ="*"/>
<HTML>
<BODY>
<A HREF = "NextPage.jsp">Continue</A>
</BODY>
</HTML>

nextPage.jsp
<jsp:useBean id = "user" class = "UserData" scope = "session"/>
<HTML>
<BODY>
You Entered<BR>
Name:<%= user.getUsername() %><BR>
Email:<%= user.getEmail() %><BR>
Age:<%= user.getAge() %><BR>
</BODY>
</HTML>

UserData.java
public class UserData{
String username;
String email;
int age;
public void setUsername (String value)
{username = value;}
public void setEmail(String value)
{email = value;}
public void setAge(int value)
{age= value;}

public String getUserName(){return username;}
public String getEmail(){ return email;}
public int getAge(){ return age ; }

}
19 years ago
Hi,
I am having a simple jsp application that gets 3strings as inputs from a html file, passes it to a java file( basically sets and gets those strings) and then displays.
The follwing are the errors. I thought it is because of the .class file, so i set path where the .class file is located, but still the error pops up. Do i need to deploy after creating a .war file with the xml descriptor and all those stuff??. Let me know.
Thanks in advance
D:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp\jsp_servlet\__nextpage.java:87: cannot resolve symbol
symbol : variable user
location: class jsp_servlet.__nextpage
out.print(weblogic.utils.StringUtils.valueOf( user.getUsername() )); //[ /NextPage.jsp; Line: 5]
^
D:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp\jsp_servlet\__nextpage.java:89: cannot resolve symbol
symbol : variable user
location: class jsp_servlet.__nextpage
out.print(weblogic.utils.StringUtils.valueOf( user.getEmail() )); //[ /NextPage.jsp; Line: 6]
^
D:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp\jsp_servlet\__nextpage.java:91: cannot resolve symbol
symbol : variable user
location: class jsp_servlet.__nextpage
out.print(weblogic.utils.StringUtils.valueOf( user.getAge() )); //[ /NextPage.jsp; Line: 7]
^
3 errors
19 years ago
hey ersin,
i tried running the same program in weblogic server and it worked fine. not sure whats the prob with JSWDK. Anyways I thank you for your time
19 years ago
JSP
hey ersin,
i am having problem in downloading tomcat. the links show something called parent directory or something that confuses me. i request you to give instructions on how to set up the tomcat server for runnig jsp
thanks
19 years ago
JSP
Erin
Thanks for the reply. I use JSWDK-1.0.1 for running jsp.After starting the server I tried running the examples thats part of the server. It shows the following error
HANDLER THREAD PROBLEM: java.io.IOException: Socket Closed
java.io.IOException: Socket Closed
at java.net.PlainSocketImpl.getInputStream(Unknown Source)
at java.net.Socket$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.Socket.getInputStream(Unknown Source)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:161)
Any clues what to do?
thanks again
19 years ago
JSP
I have a really basic question. After i type in the .jsp file in a editor(say textpad), what wud i do next inorder to run it? Should I complie it? and how would i deploy in JSWDK?
Thanks in advance
19 years ago
JSP
Thanks Cindy, I got it.
19 years ago
thanks cindy and sigfred, but an example would be highly appreciated(if possible).
19 years ago
Can somebody illustrate the use of API and how one will use it.
thanks in advance
19 years ago
hey kareem
thanks for the explanation. i gotcha.
19 years ago