Sheldon Rego

Greenhorn
+ Follow
since Nov 03, 2000
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 Sheldon Rego

Attn Maha Anna,
this is with regards to the query that bob has put forth.
My question is: Can a user access the physical file residing on the server using an anchor tag.
For ex: <a href="c:\amit\a.html">a.html</a>
"C:\" is the local directory of the server.
Similarly can he access other drives of the server.If so how please reply...Thanks in advance...
21 years ago
Hey try adding .; in your classpath as well as the path as that will make it the compiler in the present directory as well.
Regrds
Shel
21 years ago
Hi there,
Its better if U specify the exact code of how U have specified the servlet as I cannot interpret the error just by what U have written.
Regrds
Shel
21 years ago
Hi Sandeep,
Try placing the dir classpath in the autoexec.bat file then try it out it should work there. I jope U know how to set the Classpath in the autoexec.bat file.
Try it and get back
Regards Shel :-)
21 years ago
Hey Peter thanx a lot for the link,
I hadn't known much about J2ME it till date the presentation had some pretty good points
Sheldon:-)
21 years ago
Hi Everybody,
Examine this code
char x = '\u000a';
System.out.println(x);
When I compile this I get Errors as in
Invalid character constant.
char x = '\u000a';
^
';' expected.
char x = '\u000a';
^
Invalid character constant.
char x = '\u000a';
even when I comment the Line char x = '\u000a';
I get an error. This error is not seen if I replace the 'a' with any of the other alphabets....
I can't seem to figure why this is happening.
If someone could please throw some light on this topic...
Thanx in Advance
Sheldon:-)

21 years ago
By the way I tried out the syntax provided by the ranch hand had an error the actual value would be
String mmddyy = ""+(c.get(Calendar.MONTH)+1)+"/"+(c.get(Calendar.DATE))+"/"+(c.get(Calendar.YEAR));
See ya
Sheldon
21 years ago
Hi There Siva,
try using the abstract Class DateFormat on an instance of a Date Object, U can modify the formats of the Date.
check it out....
Bye,
Sheldon
21 years ago
hey,
before U set the working of the JSP as http://localhost:8080/myjsp.jsp
U need to do first setup the Javawebserver2.0 on your machine the installable is readily available on the sun site.
After installing that U proceed to place your jsp file in the public_html folder provided by the web-server.
Then if required U can set the server to a new port, but the default port happens to be 8080.
To access the admin functions use the URL http://localhost:9090/
U can then access using the login/password: admin/admin
To see your JSP page use http://localhost:8080/myjsp.jsp
and your jsp file will be hosted.
Hope this helps U out....
:-)
21 years ago
There are a lot of perceptions of looking at Middleware and Business Logic, I would suggest that U download the pdf file from the sun java site, it gives a full complete study about middleware and the location of Business logic. the URL is
http://developer.java.sun.com/developer/Books/javaserverpages/Chap12.pdf
21 years ago
How do U basically distinguish between a Java class and a Java Bean on a technical level as there are a lot of debatable points if some could please elaborate on this topic
21 years ago