cancel
Showing results for 
Search instead for 
Did you mean: 

JSPDynPage component

Former Member
0 Kudos

Hi, all

I have a problem regarding creation of JSPdynPage component. The problem is, whenever i create a JSP component, after going through all the wizards for creation, i.e when i complete the creation process, it asks me to download the JSP file which i have created during component creation. I can not preview the file directly....Can anybody help me regarding the same.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Seems you have external program associated with JSP extension. Please check the JSP extension file associations in your OS settings (there should be nothing). Also check in NWDS in <i>Windows -> Preferences -> Workbench -> File Associations -> JSP</i>.

Regards,

Romano

Former Member
0 Kudos

Hi Roman,

Can you just elaborate on which OS settings you are talking about exactly. i also checked the path you said Windows -> Preferences -> Workbench -> File Associations -> JSP. I want to ask you whether this JSP should be added or not(default setting)

darrell_merryweather
Active Contributor
0 Kudos

Chetan

This is niormal behaviour. What you should also notice is that if you say no to the download, then you can simply click on a tab at the bottom of the page which says 'Source'. This is because by default the display goes to the preview tab instead of the source tab.

I hope this helps

D

Former Member
0 Kudos

Hi,

hope you have Windows. 2xClick My computer. Goto <i>Tools -> Folder Options</i>, here you have file associations, find JSP, check if there is something, if youes delete association.

In NWDS I have the <i>JSP Editor</i> set as default and only.

Romano

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Chetan,

Its normal behaviour as mentioned in other answers.

for this do the following steps:

1. press cancel when you get the popup while opening .jsp file.

2. in bottom click on source.

3. now you can see the source.

4. if you want the source visible while opening the file make sure that your jsp contains <html> and <body> tags.

5. but dont keep those tags in file since portal itself puts them.

rgds,

Kedar

PS: reward points if helpful answer