Forum: JSP Aug 30th, 2009 |
| Replies: 5 Views: 788 On every post login page i m checking for the session attribute username in an if...all the functionality to be displayed is in that if and in else i m redirecting to the login page....eg code:
... |
Forum: JSP Aug 27th, 2009 |
| Replies: 5 Views: 788 hi,
thanx 4 the suggestion, i implemented it..with the result that once i sign out..all the post login pages are still displayed when i hit the back button..but on trying to use any functionality... |
Forum: JSP Aug 25th, 2009 |
| Replies: 5 Views: 788 hI!
I m trying to create a simple login application in jsp where i create a session allows the user to use certain features and then logout. Problem is that after the user logs out. I destroy all... |
Forum: JSP Aug 9th, 2009 |
| Replies: 3 Views: 550 sry mentioned the wrong version it 's netbeans 6.5.1 |
Forum: JSP Aug 9th, 2009 |
| Replies: 3 Views: 550 hi!
thanx for replying....i later tried my code by creating a java class and executed it at the command prompt it seems to work fine....
but when i use the same code in netbeansIDE 6.1 with... |
Forum: JSP Jul 31st, 2009 |
| Replies: 3 Views: 550 hi!
i m trying to write some user entered entries to a text file on server...
here is my code
String news=new String();
String path=application.getRealPath("news.txt");... |
Forum: Java Jul 17th, 2009 |
| Replies: 5 Views: 813 hi!
thanx for replying i had select in the form tag only and i was submiting the form in distdispaly() method for nw it's running fine except that it does not display my initial data....when the... |
Forum: JSP Jul 17th, 2009 |
| Replies: 2 Views: 560 i figured out i just need to give the link n it downloads automatically...stupid of me i should have tried this earlier |
Forum: JSP Jul 10th, 2009 |
| Replies: 2 Views: 560 can anybody tell me how do i create a link that forces a .doc file to download on the client computer or if that's really difficult to do without a ftp server..
then how can i display the file in... |
Forum: JSP Jul 10th, 2009 |
| Replies: 3 Views: 438 thanks a million for responding just wanted to tell u that i was doing the same i was checking if the requested parameter is not null the i run my code and in the else part i wanted to display what... |
Forum: JSP Jul 9th, 2009 |
| Replies: 3 Views: 438 hi!
this is what i m trying to do i m trying to display a form which has a drop down menu n a table displaying some basic data....now i want once user selects an item i want the form to submit to... |
Forum: JSP Jul 9th, 2009 |
| Replies: 2 Views: 507 For web development u need netbeans with java EE jdk too so download it from sun's site if u don't have then...open netbeans..go to->file-> new -> project select web application from
dialog box... |
Forum: Java Jul 8th, 2009 |
| Replies: 5 Views: 813 ya right....but can u please help a lil bit with the code
<select name="Distselect" onChange="distdisplay()" >
<option value="Shimla">Shimla</option>
<option... |
Forum: Java Jul 8th, 2009 |
| Replies: 5 Views: 813 hi!
I m writing a jsp where i want the page content to change when the selected option from a combo changes...how do i execute the method that determines the code which will fetch that data....i... |
Forum: JSP Jun 25th, 2009 |
| Replies: 2 Views: 805 thanx a lot it seems to work i m no longer getting that exception file not found |
Forum: JSP Jun 24th, 2009 |
| Replies: 2 Views: 805 hi!
I m using netbeans 6.5.1 i am trying to read a text file from a jsp using the code
BufferedReader input = new BufferedReader(new FileReader("contactus.txt"));
this file "contactus.txt" is... |